[{"content":"Zimsmith: Make Your Own Offline Archive The Problem Kiwix and the ZIM file format are one of the quiet wonders of the internet. A single file can hold all of Wikipedia, and you can read it on a phone with no connection at all. That matters for schools, ships, rural clinics, people living under censorship, and anyone whose phone has lost signal.\nBuilding StreetZIM showed me how good this format is, and also how hard it is to make a ZIM of your own. The existing tools assume a server, a command line and some patience. If you just want a site you care about, or a YouTube channel full of lectures, to work offline, there wasn\u0026rsquo;t an easy way.\nWhat Zimsmith Does Zimsmith turns websites and media collections into searchable ZIM archives, ready to open in Kiwix. The crawling and the archive building happen on your own device. There\u0026rsquo;s no server and no account.\nCrawl a website, a YouTube collection or direct media links. Preview first, pause and resume, and stay within robots rules and rate limits. Control what you get. Set the URL scope, which kinds of files to keep, a download budget and the video quality, and refresh a collection later. Search what was said. Zimsmith saves YouTube captions, so you can search the transcripts and jump straight to that moment in the video. Bring what you already have. Import saved pages, media, folders, ZIPs, WARC captures or a list of URLs. Pick a look. Build the archive as a clean reading layout, a video gallery, or the site\u0026rsquo;s original design, and rebuild it in another style later. Share from your browser. On Android and iOS you can share a link straight into Zimsmith. Where It Runs Zimsmith is a native app for macOS, Windows, Linux, iOS and Android, with a Chromium extension for desktop browsers. There\u0026rsquo;s an Android download on its own page.\nWhy It Pairs with StreetZIM StreetZIM makes the maps. Zimsmith makes everything else: the how-to site you rely on, a course you want to finish on a long flight, a community\u0026rsquo;s videos that might not stay online. Put them on the same phone and you have a small library that works anywhere.\nLinks Zimsmith: make searchable offline archives on your own device StreetZIM: offline maps in a ZIM file Kiwix: the reader for ZIM files ","permalink":"https://blog.tiltastech.com/projects/zimsmith-offline-archives/","summary":"Turn a website or a YouTube collection into a searchable offline archive, right on your phone or laptop. No server, no account.","title":"Zimsmith: Make Your Own Offline Archive"},{"content":"Ceramic Stamp Maker: From a Drawing to a Pottery Stamp The Problem Potters press stamps into clay to sign their work or add a pattern. A 3D printer can make a custom stamp from almost any design, but getting there is a chore: isolate the motif, clean it up, trace it into clean vectors, model a stamp body around it, and hope the fine lines survive the printer\u0026rsquo;s nozzle.\nCeramic Stamp Maker turns that whole chain into one tool.\nHow It Works Pick the motif. Upload a photo, a drawing, an iPhone HEIC picture, or an EPS or Illustrator file, and draw a box or circle around the part you want. Clean it up. Erase stray marks, fill holes in the pattern, invert a light-on-dark design, and smooth away detail that\u0026rsquo;s too fine to print. Trace it. The motif becomes a clean SVG, traced with potrace. Make the stamp. OpenSCAD builds a 3MF file ready for the printer, with a raised face for artwork that sinks into the clay or a concave face for artwork that stands out. The Details That Make It Print Stamp body sizes: proportioned to the art, rectangular or round, with the art at full bleed if you want it. Nozzle check: it shows how much of the pattern a 0.2, 0.4, 0.6 or 0.8 mm nozzle would lose at your chosen size, and can grow the stamp to the smallest size where your nozzle keeps the detail. Thin strokes kept: lines too thin to print are widened, while the gaps between them stay open. Everything runs locally on your own machine. No account and no API key.\nLinks Ceramic Stamp Maker on GitHub ","permalink":"https://blog.tiltastech.com/projects/ceramic-stamp-maker/","summary":"Pick a motif out of a photo or drawing, clean it up, and get a 3D-printable stamp for pressing into clay.","title":"Ceramic Stamp Maker: From a Drawing to a Pottery Stamp"},{"content":"Open Testimony: Verified Video for an Era of Doubt The Problem Anyone can generate a convincing fake video now. Which means when real footage of a protest, an arrest, or a government action surfaces, the first response is \u0026ldquo;is this real?\u0026rdquo; — and that doubt lets people off the hook. Unverified video gets dismissed.\nOpen Testimony attacks this with cryptography: every video is signed on-device using hardware-backed ECDSA P-256 keys (Secure Enclave / StrongBox), GPS + NTP timestamps are bound to the file hash, and the server adds post-quantum ML-DSA-65 signatures to the entire chain of custody. A video in Open Testimony can be proven: recorded on this device, at this location, at this time, unmodified since. \u0026ldquo;Document Truth. Demand Accountability.\u0026rdquo;\nUpdate, November 2026: What\u0026rsquo;s New The Open Testimony mobile app is now in open beta on iOS and Android: you can join the iPhone beta on TestFlight or get it on Google Play. Since this post went up in April, the biggest additions are:\nContent Credentials built in. Every recording is stamped at capture with a C2PA manifest, signed by a per-device certificate whose key lives in the iPhone\u0026rsquo;s Secure Enclave or the Android Keystore. That means standard third-party verifiers can check a video, not just our own tools, and there\u0026rsquo;s a public drag-and-drop page for checking one. Safe even if the phone isn\u0026rsquo;t. Footage now uploads while it\u0026rsquo;s being recorded. If a phone is seized or smashed mid-recording, what was already captured is already on the server. Encrypted at rest. Video is encrypted with AES-256-GCM by the application itself before it ever reaches storage. 3D depth as evidence. On iPhone Pro models with LiDAR, the app records depth alongside the video, in a bundle signed by the same hardware key, so distances in a scene can be measured later. A hosted service for many organizations. Partner groups can join a hosted service instead of running their own servers. Each organization\u0026rsquo;s evidence is walled off at the database level, sharing with another group is opt-in, and every access is logged in a tamper-evident audit trail. How Verification Works The core idea is that every video carries a cryptographic chain of evidence from the moment of recording:\nHardware-backed device signatures. When the mobile app (Flutter, iOS/Android) records a video, it signs the file hash with an ECDSA P-256 key pair stored in the device\u0026rsquo;s Secure Enclave (iOS) or StrongBox (Android). These are hardware security modules — the private key never leaves the chip, can\u0026rsquo;t be exported, and can\u0026rsquo;t be cloned. This cryptographically links a recording to a specific physical device.\nGPS coordinates and timestamps. Each recording captures location and time, synchronized via NTP to prevent clock manipulation. The metadata is signed alongside the video hash.\nSHA-256 file integrity. The video file is hashed on-device before upload. The server verifies the hash matches on receipt. Any tampering — even a single bit changed — breaks the verification.\nPost-quantum server signatures. On the server side, every file hash and audit log entry is signed with ML-DSA-65 (FIPS 204), a post-quantum digital signature algorithm. This means the chain of custody remains verifiable even against future quantum computing attacks — important for evidence that may be relevant for decades.\nHash-chained audit log. Every event in the system is linked in a chain: each entry = SHA-256(sequence + type + data + previous_hash + timestamp). Tamper with any entry and the chain breaks. The genesis hash is 64 zeros.\nThe result: a video in Open Testimony can be verified as \u0026ldquo;recorded on this device, at this location, at this time, and hasn\u0026rsquo;t been modified since.\u0026rdquo; That\u0026rsquo;s a fundamentally different claim than \u0026ldquo;someone posted this on Twitter.\u0026rdquo;\nAI-Powered Search Across Video Evidence A verified archive is only useful if you can find what you\u0026rsquo;re looking for. Open Testimony includes four AI search modes, all backed by pgvector similarity search:\nVisual text — \u0026ldquo;person holding a sign\u0026rdquo; matches frames containing that scene Transcript semantic — 4096-dimensional Qwen3-Embedding-8B embeddings search what was said Transcript exact — substring matching for specific phrases Action search — queries like \u0026ldquo;use of force\u0026rdquo; or \u0026ldquo;arrest\u0026rdquo; match described actions The vision model layer supports three model families (SigLIP2, OpenCLIP ViT-bigG-14, PE-Core), hot-swappable via environment variables with automatic reindexing. The AI bridge service runs the full ML pipeline: frame extraction, vision model encoding, and Whisper transcription.\nVideo Anonymization Sometimes the person recording needs protection. Open Testimony includes automated face anonymization using InsightFace RetinaFace detection with geometry-destroying pixelated blur. Each anonymized video carries a version tag (currently anon-v4) for forensic provenance — you can verify which algorithm version produced any anonymized output, even as the pipeline evolves. This matters for admissibility: the defense can\u0026rsquo;t argue \u0026ldquo;we don\u0026rsquo;t know what processing was applied.\u0026rdquo;\nMulti-Organization Architecture The platform is designed for a hub model where multiple organizations — legal aid groups, community organizations, civil rights monitors — each maintain their own data while participating in a shared search infrastructure.\nFive roles: super_admin, org_admin, regional_lead, staff, public_viewer. Organizations and regions as scoping dimensions. Cross-organization sharing is configurable at three levels: metadata only, metadata + anonymized video, or full access. Each organization retains full ownership and control of its own data.\nFace clustering (InsightFace + HDBSCAN) groups appearances of the same person across videos from different organizations — useful for identifying patterns across jurisdictions.\nA public gallery with social share buttons and Open Graph metadata lets organizations publish verified evidence to a wider audience. The public-facing archive tracks three statistics: Verified Videos, Locations, and Incidents Documented.\nThe Architecture Six Docker services: Nginx reverse proxy (port 18080), FastAPI API server, PostgreSQL 16 with pgvector, MinIO object storage, AI bridge service (the full ML pipeline), and a React/Tailwind web UI with 39 components including a MapView (Leaflet), AI search panel, video anonymizer and queue management with keyboard shortcuts.\nThe mobile app handles recording, hardware crypto, NTP time sync, GPS, and SQLite local storage with Dio networking. Firebase Cloud Messaging for push notifications when new evidence needs review.\nEvidence Admissibility The documentation includes detailed analysis of Daubert/Frye standards for scientific evidence admissibility — NTP time verification, SHA-256 hashing, cryptographic chain of custody, and hardware fingerprinting are all designed with courtroom scrutiny in mind. The goal is evidence that holds up not just in the court of public opinion, but in actual courts.\nWhat I Learned Post-quantum cryptography is practical today. ML-DSA-65 adds minimal overhead and protects evidence that may need to remain verifiable for decades. For a system designed to document civil rights abuses, defending against future cryptographic breaks isn\u0026rsquo;t paranoid — it\u0026rsquo;s responsible.\nAI search can turn piles of videos actionable. Thousands of verified videos are useless without the ability to search across them.\nLinks Open Testimony — verified video evidence platform (private) Open Testimony Hub Model — the public-facing archive Open Testimony iPhone beta on TestFlight Open Testimony on Google Play ","permalink":"https://blog.tiltastech.com/projects/open-testimony-platform/","summary":"\u003ch1 id=\"open-testimony-verified-video-for-an-era-of-doubt\"\u003eOpen Testimony: Verified Video for an Era of Doubt\u003c/h1\u003e\n\u003ch2 id=\"the-problem\"\u003eThe Problem\u003c/h2\u003e\n\u003cp\u003eAnyone can generate a convincing fake video now. Which means when real footage of a protest, an arrest, or a government action surfaces, the first response is \u0026ldquo;is this real?\u0026rdquo; — and that doubt lets people off the hook. Unverified video gets dismissed.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eOpen Testimony\u003c/strong\u003e attacks this with cryptography: every video is signed on-device using hardware-backed ECDSA P-256 keys (Secure Enclave / StrongBox), GPS + NTP timestamps are bound to the file hash, and the server adds post-quantum ML-DSA-65 signatures to the entire chain of custody. A video in Open Testimony can be proven: recorded on this device, at this location, at this time, unmodified since. \u003cstrong\u003e\u0026ldquo;Document Truth. Demand Accountability.\u0026rdquo;\u003c/strong\u003e\u003c/p\u003e","title":"Open Testimony: Verified Video for an Era of Doubt"},{"content":"Arches: Bryce, Reimagined for the Browser Why Build This Bryce, back in 1994, made 3D landscapes feel like play. You could make a canyon or an alien moonscape in a few clicks, at a time when 3D software was mostly for specialists. It faded because it needed a powerful desktop, an install, and a wall of fiddly controls.\nEvery one of those limits has flipped. A browser can now run serious GPU work, nothing needs installing, and language models finally give us what no 1990s interface could: you can just say what you want.\nArches is my reimagining of it. Bryce was named for Bryce Canyon. Arches is named for the park next door.\nWhat It Does One-tap worlds. Thirteen templates, from alpine ranges and mesas to fjords, volcanoes, dunes and the moon, generated with fractal noise and erosion. Forests grow the way real ones do, with conifers on the heights and broadleaf trees along the rivers. Reroll forever. Real erosion you can play with. A GPU water simulation carves every new world. Paint rain with a finger and watch a stream cut its way downhill. Real places. Pull in genuine elevation data for anywhere on Earth, like the Grand Canyon, Everest or Mount Rainier. A living sky. The sun and moon follow a real astronomical model, and the seasons change the land, with drifting snowlines and frozen waterfalls and lakes in winter. Speak to the landscape. Tap or circle an area and say what you want: \u0026ldquo;carve a river through here\u0026rdquo;, \u0026ldquo;make this a snowy ridge\u0026rdquo;, \u0026ldquo;make it autumn at sunset\u0026rdquo;. It works offline with a built-in parser, and an Anthropic API key turns it into an open-ended conversation. Walk around in it. A first-person walk mode puts you on the ground, with grass swaying at your feet. Take it with you. Export to glTF, OBJ, PLY, 16-bit heightmaps and Terragen, render stills up to 8K and 60 fps video flythroughs, or export a watertight STL and 3D-print your world. Any world also fits in a share link. There\u0026rsquo;s a Bryce-style interface as a tribute to the original, too.\nSmall on Purpose The whole app is one HTML page of about 3.8 MB. You can save it and run it straight off your disk with no connection. No install, no account.\nTry It arches-worlds.web.app runs in a modern browser, with touch controls on phones and tablets.\n","permalink":"https://blog.tiltastech.com/projects/arches-bryce-reimagined/","summary":"One-tap procedural landscapes with living seasons, real Earth terrain, spoken edits and export to every common 3D format, in a single web page.","title":"Arches: Bryce, Reimagined for the Browser"},{"content":"Fine tuning Lithuanian Speech Recognition The Problem Whisper is the obvious choice if you want to transcribe English audio. But as someone married to a Lithuanian, it\u0026rsquo;s far less clear what works for a language with 3 million speakers. Whisper large-v3 produces transcripts with mangled diacritics, confused case endings, and occasionally hallucinates entire passages. NVIDIA\u0026rsquo;s Parakeet does better out of the box but still isn\u0026rsquo;t great. For interviews and trancscribing old vidoes — bad transcriptions are a huge pain.\nSo I decided to dig deep on how good we could get Lithuanian ASR with a few days of work and minimal budget.\nThe Approach: Benchmark First, Then Improve Rather than guessing which model might work best, I built SpeechBench, an automated benchmarking platform that evaluates ASR models head-to-head across multiple languages and datasets. The goal was to make model selection data-driven rather than anecdotal.\nWhat SpeechBench Measures SpeechBench tests 26 ASR models across 8 datasets, running on GCP spot GPUs. For each model-dataset pair, it measures:\nWord Error Rate (WER) — the percentage of words the model gets wrong Character Error Rate (CER) — finer-grained accuracy, critical for morphologically rich languages like Lithuanian RTFx — real-time factor (how many seconds of audio processed per second of wall time) Peak GPU memory — practical for deployment decisions Per-clip latency — important for interactive applications The models tested include the Whisper family (tiny through large-v3-turbo), NVIDIA\u0026rsquo;s Parakeet models (TDT, RNN-T, CTC variants from 110M to 1.1B parameters) and Google\u0026rsquo;s Gemma 4 multimodal models.\nWhat the Benchmarks Revealed The results on Lithuanian (Common Voice 25, starting with n=30 clips, later expanded to n=300 for statistical rigor) were illuminating:\nModel Lithuanian WER Notes Whisper large-v3 36.67% The expected best general-purpose model NVIDIA Parakeet TDT 0.6B v3 29.58% Already better out of the box Gemma 4 E4B-it 60.42% Multimodal, not competitive for ASR Whisper large-v3 (on AMI IHM) 308% WER Catastrophic hallucination Two surprises: NVIDIA\u0026rsquo;s Parakeet already beat Whisper on Lithuanian without any fine-tuning, and Whisper large-v3 occasionally hallucinates entire passages on certain datasets (308% WER means the transcript is 3x longer than the actual speech — the model invented text wholesale).\nThe entire benchmark sweep — 21 models across 5 datasets, 105 jobs — cost ~$2.22 and took about 3.8 hours of wall time using GCP spot instances. Results are published on a Firebase-hosted dashboard.\nFine-Tuning: From 29% to 10% WER With Parakeet identified as the strongest baseline, I built FineTuneParakeet to push on Lithuanian accuracy. The fine-tuning used three open datasets:\nCommon Voice 25 — crowd-sourced read speech (~19K Lithuanian clips) VoxPopuli — European Parliament proceedings FLEURS — Facebook\u0026rsquo;s multilingual evaluation set The Critical Discovery: Frozen BatchNorm The single most important technical finding was that freezing BatchNorm layers to eval mode prevents catastrophic forgetting. Without this, fine-tuning destroys the model: WER degrades from 14% to 36% within hundreds of training steps, regardless of learning rate. With BatchNorm frozen, the model improves steadily.\nOther hard-won lessons:\nfp32 only — mixed precision training breaks the Transducer-Duration-Transducer architecture Don\u0026rsquo;t normalize training text — the tokenizer expects mixed-case input; lowercasing corrupts the vocabulary Token-level language models — word-level LMs don\u0026rsquo;t work with BPE tokenizers; you need the chr(id + 100) encoding trick to map token IDs to characters that KenLM can process Results Dataset Baseline WER Fine-tuned WER Improvement Common Voice 25 (Lithuanian) 16.53% 10.76% 34.9% relative reduction FLEURS (Lithuanian) 21.41% 17.54% 18.1% relative reduction The best configuration: epoch 4 checkpoint, beam search (beam width=4), plus a token-level 5-gram language model (alpha=0.5). The language model alone contributed a 2.83 percentage point WER reduction.\nTraining cost: ~2.5 hours on an RTX 3090, or about $3-5 for a full GCP run. The fine-tuned model is published on HuggingFace as sliderforthewin/parakeet-tdt-lt.\nError Analysis At 10.76% WER, 87% of remaining errors are substitutions (not insertions or deletions). The dominant error pattern is Lithuanian diacritical confusion — the model confuses characters like ą vs a and ė vs e. These are the ogonek and dot-above marks that distinguish different Lithuanian vowels, and they\u0026rsquo;re acoustically very subtle.\nSupporting Tools: Language Models for Any Language The fine-tuning work produced a reusable tool -\nasr-lm-builder builds token-level n-gram language models for any language. Give it a language code and it automatically downloads text corpora (Wikipedia, OpenSubtitles, Europarl, CC-100), tokenizes with any model\u0026rsquo;s BPE tokenizer, and builds KenLM ARPA files. For Lithuanian, it pulled from three sources and built the 5-gram model that contributed a 2.83 percentage point WER reduction — the cheapest accuracy win in the whole pipeline. The key engineering challenge was memory: naively loading 100M+ sentences into RAM requires 64GB+. The solution was stream-tokenizing one sentence at a time, reducing peak memory to ~200 MB regardless of corpus size.\nWhat I Learned Benchmark before you optimize. I assumed Whisper would be the strongest baseline. It wasn\u0026rsquo;t. Without SpeechBench, I would have spent many hours fine-tuning the wrong model.\nSmall languages need different strategies. English ASR benefits from scale (more data, bigger models). Lithuanian ASR benefits more from targeted fine-tuning on modest data (~43 hours) plus a good language model. The language model is cheap to build and provides a meaningful accuracy boost.\nBatchNorm is a silent killer in fine-tuning. This cost me hours of debugging. The model appeared to train normally (loss decreased) but was actually memorizing the training set while forgetting everything else. Freezing BatchNorm is a one-line fix with enormous impact.\nCost is not a barrier. The entire research pipeline — benchmarking 26 models, fine-tuning a custom Lithuanian model, building language models from scratch — cost under $20 in cloud compute. The barriers to improving speech recognition for underserved languages are not financial; they\u0026rsquo;re knowledge and tooling.\nLinks SpeechBench — ASR benchmarking platform (26 models, 8 datasets) FineTuneParakeet — Lithuanian fine-tuning pipeline asr-lm-builder — Universal token-level n-gram LM builder lt-asr-lm — Lithuanian ASR language model toolkit Fine-tuned model on HuggingFace SpeechBench Dashboard ","permalink":"https://blog.tiltastech.com/projects/building-lithuanian-speech-recognition/","summary":"\u003ch1 id=\"fine-tuning-lithuanian-speech-recognition\"\u003eFine tuning Lithuanian Speech Recognition\u003c/h1\u003e\n\u003ch2 id=\"the-problem\"\u003eThe Problem\u003c/h2\u003e\n\u003cp\u003eWhisper is the obvious choice if you want to transcribe English audio. But as someone married to a Lithuanian, it\u0026rsquo;s far less clear what works for a language with 3 million speakers. Whisper large-v3 produces transcripts with mangled diacritics, confused case endings, and occasionally hallucinates entire passages. NVIDIA\u0026rsquo;s Parakeet does better out of the box but still isn\u0026rsquo;t great. For interviews and trancscribing old vidoes — bad transcriptions are a huge pain.\u003c/p\u003e","title":"Fine tuning Lithuanian Speech Recognition"},{"content":"StreetZIM: Offline Maps 200x Smaller The Problem Kiwix packages Wikipedia, Stack Overflow, and other sites into ZIM files for offline reading. Their map ZIMs use raster tiles — pre-rendered PNGs at fixed zoom levels. A raster map of the US at useful zoom levels runs 50-200 GB. The whole planet at full zoom: ~54 terabytes. That\u0026rsquo;s not practical for the USB sticks and SD cards that offline content typically lives on.\nI built StreetZIM to solve this: interactive OpenStreetMap data in ZIM format, using vector tiles instead of raster images, at file sizes 50-200x smaller than existing approaches.\nHow It Works The key insight is that vector tiles store the raw geometry and metadata of map features (roads, buildings, labels) rather than pre-rendered images. The rendering happens on the device using MapLibre GL JS, a GPU-accelerated mapping library that runs in any modern web browser. This means:\nInfinite zoom resolution — no blurry tiles when you zoom in Dynamic styling — switch between map views, toggle satellite imagery, enable 3D terrain Dramatically smaller files — you\u0026rsquo;re storing data, not millions of images The Pipeline Download OSM data in PBF format from Geofabrik Generate vector tiles using tilemaker (OpenMapTiles schema) into MBTiles (SQLite) Extract and package tiles + MapLibre GL JS + styles + fonts into a ZIM file Distribute via Archive.org with auto-generated torrents The ZIM file is a self-contained web app. Kiwix serves it like a local web server, MapLibre GL JS runs in the browser, and tile requests are intercepted and served from the archive. No internet needed.\nSize Comparison Area StreetZIM (Vector) Raster Equivalent (est.) Reduction Monaco 778 KB ~50 MB ~64x Washington, D.C. 7.8 MB ~2-5 GB ~250-640x US State (typical) 60-250 MB ~50-200 GB ~800x Entire Planet ~100-150 GB ~54 TB ~360x A complete, interactive, zoomable map of Washington, D.C. fits in 7.8 megabytes. That\u0026rsquo;s smaller than most photos on your phone.\nFixing Bugs in libzim Scaling beyond city-sized maps uncovered two bugs in libzim, the C++ library that creates ZIM files. Both are showstoppers for large builds:\nBug 1: Spin-Lock CPU Stall libzim\u0026rsquo;s thread synchronization uses microsleep() polling — every thread continuously checks \u0026ldquo;is my data ready yet?\u0026rdquo; in a tight loop. When compression workers are slow (as they are for large tile sets), every CPU core burns at 100% utilization doing zero useful work. I replaced four spin-loop sites with std::condition_variable waits across seven source files, letting threads sleep until they\u0026rsquo;re actually needed.\nBug 2: Compressor Infinite Loop When ZSTD compressed output exactly fills the output buffer (both avail_in == 0 and avail_out == 0 simultaneously), the compression function enters an infinite loop. This triggers deterministically at tile ~431,760 on US-scale builds — the compressed output of one specific cluster happens to be exactly 1,048,576 bytes (1 MiB), filling the buffer with zero bytes remaining. A classic edge case.\nBoth patches are included in the StreetZIM repo and are essential for any build above city scale.\nIncremental Updates with ZIMDiff Creating 100+ GB map files raised an immediate follow-up question: how do you update them? Asking users to re-download the entire file every month isn\u0026rsquo;t practical.\nZIMDiff creates compact overlay files containing only the changes between ZIM versions. The overlay is itself a valid ZIM file — it can be read transparently on top of the base file without merging. I haven\u0026rsquo;t gotten around to testing map differences with this yet.\nFeatures Beyond Basic Maps StreetZIM isn\u0026rsquo;t just a static map viewer:\nWiki Explorer sidebar — browse Wikipedia entries for places visible in the current viewport Satellite imagery — toggle Sentinel-2 satellite views with hillshade 3D terrain — Copernicus GLO-30 elevation data for terrain visualization Full-text search — find cities, streets, and points of interest with city-level context Wikidata enrichment — population, elevation, and Wikipedia extracts for 3.15M places Non-Latin font support — full Basic Multilingual Plane glyph ranges for worldwide coverage ZIM files are uploaded to Archive.org with auto-generated torrents, currently covering 10 regions including the full United States, Europe, West Asia, and individual US states.\nUpdate, November 2026: From a Map to a Travel Companion Since this post went up in April, StreetZIM has had more than 1,700 changes, and it has grown from \u0026ldquo;a small map in a ZIM file\u0026rdquo; into something much closer to a full offline travel app. Everything below runs with no network at all, inside Kiwix or a browser.\nFind anything Search now covers places, streets, house addresses, points of interest, parks, peaks, water, and administrative areas from countries down to city wards. A Find page lists what\u0026rsquo;s nearby by category (food and drink, bars, hotels, museums, parks, health, shops, gas), sorted by distance. Each place, park, peak and airport also gets its own page, so Kiwix\u0026rsquo;s own title and full-text search finds them too. Maps can carry Overture addresses and place details like websites and phone numbers.\nGet there Offline routing for driving, walking and biking runs in a Web Worker, with a GPS turn-by-turn display. For big countries the routing graph is split into small cells that load only as you need them, so a whole country can route on a phone.\nSearch with a photo Tap the camera in the search box, point it at a street sign, a shop front or a plaque, and an OCR model running on the device reads it and finds the place. It reads Latin, Chinese, Japanese, Korean, Thai, Arabic, Cyrillic, Greek, Devanagari, Tamil and Telugu. It understands the details that make real signs hard: US street-name blades with their cross street, a typed corner like \u0026ldquo;Addison \u0026amp; Emerson\u0026rdquo;, Chinese boards that read right to left or top to bottom, and Korean building numbers written in two parts. Photo search can even be added to a map that was built without it, with no rebuild.\nSee the land Terrain comes from the Copernicus elevation model, with hillshade and 3D views. Maps can include Sentinel-2 satellite imagery, Wikidata facts, and full Wikipedia articles for the places on the map, shown in the map\u0026rsquo;s own language when that Wikipedia has them.\nIn your language The viewer and the StreetZIM site now come in 22 languages, and streets are labeled in the languages of the region. India comes as six regional maps, each with a lighter version, with proper fonts for Indian scripts. Maps that cross the 180th meridian, like Fiji, work too.\nOpen it anywhere Maps open in Kiwix on iPhone, Android and desktop, or in a browser app on the StreetZIM site that opens a map you\u0026rsquo;ve downloaded or streams one from archive.org. Published regions run from Silicon Valley to Switzerland, Taiwan, Egypt, Greece and Ukraine, each with its own torrent on archive.org.\nBuilt to fit the ecosystem StreetZIM now also ships a streetzim command that follows openZIM\u0026rsquo;s own conventions, so it fits the tools the Kiwix community already uses. If you want an offline archive of something other than a map, that\u0026rsquo;s what Zimsmith is for.\nWhat I Learned Vector tiles are transformatively better for offline maps. The size difference isn\u0026rsquo;t incremental — it\u0026rsquo;s orders of magnitude. A 7.8 MB interactive map of D.C. vs. hundreds of MBs of raster tiles changes what\u0026rsquo;s practically distributable. This approach should replace raster tiles in every offline map project.\nUpstream libraries have edge cases at scale. Both libzim bugs are invisible at small scale and deterministic at large scale. The spin-lock issue doesn\u0026rsquo;t matter for a 10 MB ZIM; it\u0026rsquo;s crippling for a 100 GB one. The compressor bug triggers at exactly tile 431,760. Testing at production scale matters.\nContent-level diffing beats byte-level diffing for compressed archives. xdelta3 (byte-level) produces diffs 10x larger than ZIMDiff (content-level) because ZSTD compression defeats byte-level delta encoding. Understanding the file format lets you build dramatically better tools.\nLinks StreetZIM — Vector tile offline maps in ZIM format ZIMDiff — Incremental updates for ZIM files Zimsmith — Make your own offline archives Kiwix — The offline content platform that reads ZIM files ","permalink":"https://blog.tiltastech.com/projects/streetzim-offline-maps/","summary":"\u003ch1 id=\"streetzim-offline-maps-200x-smaller\"\u003eStreetZIM: Offline Maps 200x Smaller\u003c/h1\u003e\n\u003ch2 id=\"the-problem\"\u003eThe Problem\u003c/h2\u003e\n\u003cp\u003e\u003ca href=\"https://www.kiwix.org\"\u003eKiwix\u003c/a\u003e packages Wikipedia, Stack Overflow, and other sites into ZIM files for offline reading. Their map ZIMs use raster tiles — pre-rendered PNGs at fixed zoom levels. A raster map of the US at useful zoom levels runs \u003cstrong\u003e50-200 GB\u003c/strong\u003e. The whole planet at full zoom: ~\u003cstrong\u003e54 terabytes\u003c/strong\u003e. That\u0026rsquo;s not practical for the USB sticks and SD cards that offline content typically lives on.\u003c/p\u003e","title":"StreetZIM: Offline Maps 200x Smaller"},{"content":"CastCircle: An AI Scene Partner for Actors The Problem I chaperoned my son and his classmates on a thespian event in SoCal. On the way I was watching him and his friends hassle people to run lines with them. The obvious question: why can\u0026rsquo;t they just practice on their own? CastCircle is a Flutter app that plays the other characters\u0026rsquo; lines using on-device neural TTS (Kokoro MLX, ~340 MB, 15 voices), listens via SFSpeechRecognizer with vocabulary hints, and auto-advances when you nail the line. Entirely offline, no cloud dependencies.\nHow It Works Import a Script CastCircle can ingest scripts in three ways: paste text, import a PDF, or take a photo of a printed page. The script parser is the most complex component — it auto-detects three common script formats:\nStandard format — character name in caps followed by dialogue Name-on-own-line (Gutenberg style) — character name on its own line, dialogue below Title-case / First Folio (Shakespeare) — historical formatting conventions The parser handles OCR error correction (from photographed scripts), fuzzy name matching, dehyphenation across line breaks, and abbreviation resolution (HAM becomes HAMLET). It uses Google ML Kit for on-device OCR — no cloud upload needed.\nAssign Voices Each character gets a voice. CastCircle infers character gender from title prefixes (Mr./Mrs.), a built-in name database, and pronoun context in the dialogue. It then maps characters to appropriate Kokoro MLX voices (~340 MB on-device neural text-to-speech engine) with accent selection (American or British English, 15 voices total).\nThe audio priority chain:\nReal cast recordings (if other actors have recorded their lines) Understudy recordings (backup recordings from the cast) Kokoro MLX neural TTS (on-device, high quality) System TTS (fallback if Kokoro isn\u0026rsquo;t available) Rehearse The rehearsal engine is a state machine: ready → playingOther → listeningForMe → paused → sceneComplete. CastCircle plays the other character\u0026rsquo;s line, then listens to you speak yours using Apple\u0026rsquo;s SFSpeechRecognizer with vocabulary hints — it feeds character names, stage terminology, and the expected words from your line to the speech recognizer, significantly improving recognition accuracy for theatrical dialogue.\nWhen it hears you deliver your line correctly, it automatically advances to the next beat. You can rehearse a scene hands-free, just like running lines with a real scene partner.\nCollaborate CastCircle supports multi-user recording via Supabase: cast members record their lines individually from their own devices, and recordings sync to the cloud. Real recordings automatically take priority over AI-generated voices in rehearsal. There\u0026rsquo;s also a web editor for managing productions via browser.\nThe Tech Stack Flutter (iOS primary, Android supported) with Riverpod 2.x state management Drift (SQLite) for local database with typed queries Kokoro via MLX for on-device neural TTS (~340 MB, 15 voices) Apple SFSpeechRecognizer for real-time speech-to-text with vocabulary hints Google ML Kit for on-device OCR (script photos) Supabase for cloud auth, database, and storage (multi-user sync) Fastlane for automated TestFlight builds What I Learned Script parsing is kind of a pain. There is no standard but I\u0026rsquo;d assumed it would be straightforward. But then you get Shakespeare\u0026rsquo;s First Folio conventions, OCR artifacts from photographed pages, stage directions that look like dialogue, and character abbreviations that vary throughout a single script. The fuzzy matching and heuristic detection took more iteration than any other component.\nOn-device TTS has caught up to cloud services. Kokoro MLX produces natural-sounding speech that\u0026rsquo;s genuinely useful for rehearsal — actors can get a feel for pacing and emotional beats, not just words. At 340 MB, it\u0026rsquo;s small enough for a phone and fast enough for real-time playback. This was not true even a year ago.\nVocabulary hints dramatically improve speech recognition. Feeding the expected dialogue to the speech recognizer gives it perfect context. For theatrical dialogue (unusual names, archaic language, poetic structure), the accuracy improvement is substantial. And it is absolutely clear that Android speech recognition is DRAMATICALLY better than on iOS.\nLinks CastCircle — AI scene partner for actors (Flutter) ","permalink":"https://blog.tiltastech.com/projects/castcircle-ai-scene-partner/","summary":"\u003ch1 id=\"castcircle-an-ai-scene-partner-for-actors\"\u003eCastCircle: An AI Scene Partner for Actors\u003c/h1\u003e\n\u003ch2 id=\"the-problem\"\u003eThe Problem\u003c/h2\u003e\n\u003cp\u003eI chaperoned my son and his classmates on a thespian event in SoCal.  On the way I was watching him and his friends hassle people to run lines with them. The obvious question: why can\u0026rsquo;t they just practice on their own? \u003cstrong\u003e\u003ca href=\"https://github.com/jasontitus/CastCircle\"\u003eCastCircle\u003c/a\u003e\u003c/strong\u003e is a Flutter app that plays the other characters\u0026rsquo; lines using on-device neural TTS (Kokoro MLX, ~340 MB, 15 voices), listens via SFSpeechRecognizer with vocabulary hints, and auto-advances when you nail the line. Entirely offline, no cloud dependencies.\u003c/p\u003e","title":"CastCircle: An AI Scene Partner for Actors"},{"content":"FEC Search: Querying 200 Million Campaign Finance Records in Milliseconds The Problem The FEC publishes campaign finance data as bulk CSVs. California\u0026rsquo;s CalAccess does the same. Searching either is painful — the official FEC website is slow, can\u0026rsquo;t connect federal and state data, and doesn\u0026rsquo;t tell you how a donation compares to the broader dataset.\nFEC loads ~200 million federal records and ~13 million California records into SQLite with pre-computed lookup tables, FTS5, and percentile rankings. Sub-second queries on a Raspberry Pi. Weekly cron updates from the bulk endpoints.\nThe Architecture Two Flask web applications:\nFederal (port 5000) — ~200M+ contribution records from the FEC bulk data files California (port 5001) — ~13M+ records from CalAccess Both backed by SQLite with extensive indexing, FTS5 full-text search, and WAL mode for concurrent reads. The federal database is 1.3 GB. Automated weekly cron jobs pull fresh data from the FEC and CalAccess bulk download endpoints.\nMaking SQLite Fast at Scale Pre-computed lookup tables. Instead of computing aggregates at query time, the data pipeline pre-builds recipient lookup tables — total contributions, recent activity, unique contributor counts — with FTS5 for fuzzy name search. A query for a candidate or committee hits the pre-computed table, not a 200M-row scan.\nPercentile rankings. Every donor has a pre-computed percentile rank: \u0026ldquo;this person\u0026rsquo;s $2,700 contribution puts them in the 99.2nd percentile of all individual donors.\u0026rdquo; The percentile builder runs offline against the full dataset; the web app just looks up the pre-computed value.\nCascading search logic. Searches start with the most specific filters and automatically relax them if results are too sparse. Search for \u0026ldquo;John Smith, San Francisco\u0026rdquo; first tries both filters; if that returns nothing, it drops the city. The user gets the best available results without manually adjusting filters.\nConduit filtering. ActBlue and WinRed are conduits — they process contributions on behalf of candidates but appear as the \u0026ldquo;recipient\u0026rdquo; in raw FEC data. Without filtering, every search is dominated by conduit entries. The platform separates conduit passthrough from direct contributions.\nPerson Profiles Each donor gets a profile page: contribution history over time, recipients, geographic distribution, and percentile ranking. Cross-database linking connects a donor\u0026rsquo;s federal and California contributions.\nThere\u0026rsquo;s also a JSON API for programmatic access and embedded Google search integration for quickly finding public information about a donor.\nDeployment Runs on a Raspberry Pi with memory-optimized configuration. Nginx fronts both Flask apps. The weekly update pipeline downloads, decompresses (zstd), and rebuilds the lookup tables and indexes. The whole system costs the electricity to run a Pi.\nWhat I Learned SQLite scales further than people think. 200M records with sub-second queries on a Raspberry Pi. The key is doing the expensive work offline — pre-computing aggregates, building indexes, and materializing lookup tables during the weekly update rather than at query time. SQLite is fast at reading pre-computed results; it\u0026rsquo;s slow at computing them on the fly.\nConduit filtering is essential for usable campaign finance data. ActBlue alone processes billions of dollars. Without filtering conduit passthrough, every search returns thousands of ActBlue entries that obscure the actual donations. This is a domain-specific data quality issue that the FEC website itself handles poorly.\nLinks FEC — campaign finance search platform ","permalink":"https://blog.tiltastech.com/projects/fec-campaign-finance-search/","summary":"\u003ch1 id=\"fec-search-querying-200-million-campaign-finance-records-in-milliseconds\"\u003eFEC Search: Querying 200 Million Campaign Finance Records in Milliseconds\u003c/h1\u003e\n\u003ch2 id=\"the-problem\"\u003eThe Problem\u003c/h2\u003e\n\u003cp\u003eThe FEC publishes campaign finance data as bulk CSVs. California\u0026rsquo;s CalAccess does the same. Searching either is painful — the official FEC website is slow, can\u0026rsquo;t connect federal and state data, and doesn\u0026rsquo;t tell you how a donation compares to the broader dataset.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca href=\"https://github.com/jasontitus/FEC\"\u003eFEC\u003c/a\u003e\u003c/strong\u003e loads ~200 million federal records and ~13 million California records into SQLite with pre-computed lookup tables, FTS5, and percentile rankings. Sub-second queries on a Raspberry Pi. Weekly cron updates from the bulk endpoints.\u003c/p\u003e","title":"FEC Search: Querying 200 Million Campaign Finance Records in Milliseconds"},{"content":"I\u0026rsquo;m Jason Titus. I\u0026rsquo;m an Entrepreneur in Residence at Starshot Capital, an advisor to several companies, and Technology Advisor to Refugees International.\nBefore that I spent more than eight years at Google as VP of the Developer Product Group, was CTO of Shazam, and was VP of Communications (Mail and Messenger) at Yahoo.\nThese days I spend a lot of my time building. AI coding tools have made it possible for one person to take on projects that used to need a team, so I\u0026rsquo;ve finally been working on the things I\u0026rsquo;ve cared about for years: knowledge that works without a network, video evidence people can trust, speech recognition for smaller languages, civic data anyone can search, and tools for making things, from 3D worlds to pottery stamps.\nThe projects page has the write-ups on what I\u0026rsquo;m working on now. Most of the code is on GitHub.\n","permalink":"https://blog.tiltastech.com/about/","summary":"\u003cp\u003eI\u0026rsquo;m Jason Titus. I\u0026rsquo;m an Entrepreneur in Residence at Starshot Capital, an advisor to several companies, and Technology Advisor to Refugees International.\u003c/p\u003e\n\u003cp\u003eBefore that I spent more than eight years at Google as VP of the Developer Product Group, was CTO of Shazam, and was VP of Communications (Mail and Messenger) at Yahoo.\u003c/p\u003e\n\u003cp\u003eThese days I spend a lot of my time building. AI coding tools have made it possible for one person to take on projects that used to need a team, so I\u0026rsquo;ve finally been working on the things I\u0026rsquo;ve cared about for years: knowledge that works without a network, video evidence people can trust, speech recognition for smaller languages, civic data anyone can search, and tools for making things, from 3D worlds to pottery stamps.\u003c/p\u003e","title":"About"}]