---
title: "Code — Brad Jasper"
description: "Open source projects by Brad Jasper, from LLMs to crypto to Python and Swift: llm.js, a universal LLM interface from 2023, libraries for embeddings, vector search and knowledge graphs, and older work back to 2009, including jsonfield for Django and ImportJSON for Google Sheets."
url: https://bradjasper.com/code/
---

# Code

Projects I've open sourced, from LLMs to crypto to Python and Swift.

You'll find more on my [GitHub profile](https://github.com/bradjasper).

## Language models

- 2023–2025

    [llm.js](https://bradjasper.com/projects/llm-js/) · Archived

    One simple interface to many language models: OpenAI, Anthropic, Google, local models and more, with sensible defaults.

    Archived; today I use the AI SDK and OpenRouter.

- 2024

    [Thinkable Type](https://bradjasper.com/projects/thinkable-type/) · Live

    A JavaScript knowledge-graph library: connected ideas stored as plain CSV, with AI-generated connections. Used in Think Machine.

- 2023–2024

    [ai.js](https://bradjasper.com/projects/ai-js/) · Archived

    One toolkit for text, images, embeddings and vector search in Node.js, local by default.

    Not maintained since 2024.

- 2024

    [embeddings.js](https://bradjasper.com/projects/embeddings-js/) · Archived

    Text embeddings from a local model, OpenAI or Mistral behind one function, with caching.

    Not maintained since 2024.

- 2024

    [vectordb.js](https://bradjasper.com/projects/vectordb-js/) · Archived

    An in-memory vector database for text similarity search in Node.js.

    Not maintained since 2024.

- 2024

    [imagine.js](https://bradjasper.com/projects/imagine-js/) · Archived

    AI image generation behind one function, with local Stable Diffusion or hosted models.

    Not maintained since 2024.

- 2023–2024

    [scrape.js](https://bradjasper.com/projects/scrape-js/) · Archived

    Fetch any web page, including ones rendered by JavaScript, with one call.

    Not maintained since 2024.

## Bitcoin

From my 2019–2021 Bitcoin SV work. Published under my handle synfonaut.

- 2019–2021

    [Hummingbird](https://bradjasper.com/projects/hummingbird/) · Archived

    An open source framework for building real-time Bitcoin applications.

    Not maintained since 2021.

- 2019

    [Pew Pew](https://bradjasper.com/projects/pewpew/) · Archived

    A Bitcoin SV transaction shooter: it sends a burst of transactions to an address, for stress-testing and debugging real-time Bitcoin apps.

    Not maintained since 2019.

- 2020

    [Pow Pow](https://bradjasper.com/projects/powpow/) · Archived

    A proof-of-work shooter: it sends a burst of proof-of-work transactions to Bitcoin SV, for testing proof-of-work apps.

    Not maintained since 2020.

- 2019

    [Open Directory](https://bradjasper.com/projects/open-directory/) · Archived

    Reddit on Bitcoin: upvotes were microtransactions paid to the person who submitted the link.

    It led directly to Bit.sv.

- 2019

    [Immortal](https://bradjasper.com/projects/immortal/) · Archived

    A simple app for saving web pages to Bitcoin, the content or its hash, as a tamper-proof record.

    A side project; the site is offline.

## Python and Django

- 2009–2017

    [jsonfield](https://bradjasper.com/projects/jsonfield/) · Maintained by others

    A Django model field for storing JSON, written in 2009, long before Django had one built in. It has about 51 million downloads on PyPI.

    Now at rpkilby/jsonfield, and deprecated in favor of the JSONField built into Django 3.1.

- 2009

    [Celery (contribution)](https://bradjasper.com/projects/celery-contribution/) · Maintained by others

    An early contribution to the Python task queue: the task-set results model for its database backend.

    A small contribution from October 2009; Celery is maintained by its own team.

## JavaScript and the web

- 2017–2022

    [ImportJSON](https://bradjasper.com/projects/importjson/) · Archived

    Functions that pull JSON from any API into Google Sheets. I took over maintenance from its original author, Trevor Lohrbeer, in 2017.

    Archived in 2022 and looking for a new maintainer.

- 2012–2013

    [Subtle Patterns Bookmarklet](https://bradjasper.com/projects/subtle-patterns-bookmarklet/) · Archived

    A bookmarklet that previews background patterns from Subtle Patterns on any live website. It reached the Hacker News front page in 2013 with 347 points.

    Not maintained since 2013.

## Mac and iOS

- 2014

    [RadialMenu](https://bradjasper.com/projects/radialmenu/) · Archived

    A touch context menu for iOS, modeled on the iMessage record control and animated with Facebook's POP. I started it the week Swift was announced.

    Not maintained since 2014.

## Early data and generative experiments

- 2011

    [Markov Chains](https://bradjasper.com/projects/markov-chains/) · Archived

    A character-level Markov model that generates new startup names after training on CrunchBase company names.

    A one-off experiment.

- 2010

    [Mixpanel Statistics](https://bradjasper.com/projects/mixpanel-statistics/) · Archived

    Scripts that pull product analytics from Mixpanel's API and run correlation and regression analysis on them.

    A one-off experiment.
