Simon Willison’s Weblog

Newsletter
Atom feed

Elsewhere

Filters: Sorted by date

Release datasette-sqlite-history-json 0.1a0 — Track changes to data using triggers and hidden JSON tables
Release datasette-pretty-traces 0.7 — Prettier formatting for ?_trace=1 traces
Release datasette-packages 0.3 — Show a list of currently installed Python packages
Release sqlite-history-json 0.3a0 — SQLite table history tracking using a JSON audit log
Release sqlite-history-json 0.2a0 — SQLite table history tracking using a JSON audit log
Release sqlite-history-json 0.1a0 — SQLite table history tracking using a JSON audit log
Research krunsh — Krunsh is a minimal Go CLI tool that executes newline-delimited shell commands inside an ephemeral KVM-based microVM, leveraging the libkrun library for lightweight virtualization. By piping commands from stdin, krunsh spins up a microVM, runs the specified commands using `/bin/sh -c`, captures the output, and discards the VM afterward, ensuring zero persistent state and strong process isolation.
Research Monty WASM + Pyodide — Monty WASM + Pyodide explores compiling Monty—a Rust-based, sandboxed Python interpreter—into WebAssembly for seamless browser access. It provides two integration paths: a standalone WASM module accessible directly from JavaScript, and a Pyodide-compatible wheel for usage in Python-in-the-browser environments. The project enables safe, dependency-free Python code execution with features like variable injection, output capturing (including print statements), and robust error handling.
Research Building PyO3/Maturin Rust Extension Modules as WebAssembly Wheels for Pyodide — Compiling Rust-based Python extension modules (via PyO3 and maturin) into WebAssembly wheels for Pyodide involves precise coordination of toolchain versions and build flags to ensure compatibility. The process relies on maturin (≥1.0) for packaging, the Emscripten SDK (with the exact version used by Pyodide), and a Rust nightly toolchain matching Pyodide's ABI, particularly the `-Z emscripten-wasm-eh` flag and a compatible sysroot for Python 3.13 (Pyodide 0.28+).
Release datasette-pins 0.1a7 — Pin databases, tables, and other items to the Datasette homepage
Release datasette-youtube-embed 0.2 — Turn YouTube URLs into embedded players in Datasette
Release sqlite-scanner v0.2.0 — Scan folders for SQLite database files
Research just-bash: Deno JSONL Server + Python Client — Exploring the capabilities of just-bash, this project integrates the TypeScript-based bash emulator into a persistent, JSONL-over-stdio server in Deno, accessible via a robust Python client library. The solution enables sandboxed bash scripting with comprehensive built-in commands, a virtual filesystem, and optional network access, with persistent state and fine-grained request control (env, cwd, timeout) supported.
Release datasette-scan 0.1.1 — Datasette plugin for scanning for SQLite files
Release datasette-scan 0.1 — Datasette plugin for scanning for SQLite files
Release sqlite-scanner v0.1.1 — Scan folders for SQLite database files
Release go-to-wheel 0.2 — Wrap Go binaries in Python wheels
Research WASM REPL CLI Tools — WASM REPL CLI Tools enable JavaScript and Python REPLs from the command line by leveraging WebAssembly runtimes in Go, built on the wazero engine. The project supplies separate binaries for each language—one using QuickJS WASI and the other CPython WASI—offering direct code execution, interactive shells, and a JSONL mode. JSONL mode lets external applications submit code for execution while maintaining persistent state across requests, facilitating programmatic integration.
Release go-to-wheel 0.1 — Wrap Go binaries in Python wheels
Release sqlite-scanner v0.1.0 — Scan folders for SQLite database files
None
TIL Running OpenClaw in Docker — I'm not brave enough to run [OpenClaw](https://openclaw.ai/) (aka Clawdbot aka Moltbot) directly on my Mac, so I decided to try running it in a Docker instead container.
Release shot-scraper 1.9.1 — A command-line utility for taking automated screenshots of websites
Tool SQLite AST — Parse SQLite SELECT queries into abstract syntax trees and view the results in JSON and Python representations. This tool uses the sqlite-ast library running in your browser via Pyodide to analyze SQL syntax and display both the dictionary-based parse tree and a rich pretty-printed representation. It supports complex queries including compound selects, common table expressions, and window functions, and can display partial parse results when encountering syntax errors.

I wanted a Python library that could parse SQLite SELECT statements, so I vibe coded this one up based on a specification I reverse-engineered from SQLite's own parser behavior.

There's an interactive playground here for trying it out in the browser (via Pyodide).

Release tiny-haversine 0.1.1 — A Python package with a C module for haversine() - as a WASM experiment
Release tiny-haversine 0.1.0 — A Python package with a C module for haversine() - as a WASM experiment
Release sqlite-ast-conformance 0.1 — A language independent conformance suite for implementations of a SQLite SELECT query parser
Release datasette 1.0a24 — An open source multi-tool for exploring and publishing data
Tool Minesweeper — Play a classic Minesweeper game directly in your browser with support for three difficulty levels: Easy, Medium, and Hard. Use left-click to reveal cells and right-click to place flags, or toggle between reveal and flag modes on mobile with long-press support. The game features a timer to track your speed, mine counter to monitor remaining flags, and immediate visual feedback when you win or hit a mine.