Offline Kit
← Blog

What still works at 30,000 feet? The open-source projects behind Offline Kit

· Behind the kit

Halfway through a flight, you open a project you saved for the trip. The code is on your Mac. The setup instructions are in a browser tab that wants to reload. You solved this problem last month, and right now you’d happily trade the in-flight Wi-Fi for the three lines you wrote down afterward.

We built Offline Kit for that moment. It’s a workspace that runs on an Apple Silicon Mac, with your files, reference material, and local AI models on an external drive. You choose what to bring while you’re online. Once you disconnect, a collection of open-source projects helps you put it to use.

Find the three lines you need

Say you saved last month’s setup notes as a text file. Once Offline Kit has indexed it, you can search for the project name and find matching passages. SQLite powers that search. Its index lives on the drive, so finding a line in your notes works even when the AI model is switched off.

If you remember a project name, enter it in Search and choose Open matching passage under the text file. You can check the original command, flag by flag, before pasting anything into Terminal.

Chat can use indexed passages and a local model through Ollama to answer questions with citations. The wording and source matter. In our test, Search found the project name in a setup note, but asking Chat how we started the server returned no matching content. For a question you can try yourself, the five-minute train-ticket exercise includes the source document, the question, and the answer to check.

Pack a bookshelf with room for a detour

An ebook and an encyclopedia invite different kinds of reading. With a novel, you want to open it and land where you stopped last night. With an encyclopedia, half the pleasure is ending up somewhere you never intended to go.

For books, Foliate-js powers the reader for DRM-free EPUB and MOBI books inside Offline Kit. You can adjust the type, search for a phrase, bookmark a passage, and come back to a saved position when you reopen the book. If you have Calibre installed, you can open the same ebook from the drive in Calibre’s viewer without importing it into a second library.

For the detours, there’s Kiwix. Before a trip, install Kiwix on the Mac and add a compatible ZIM archive to the kit, such as an edition of Wikipedia that fits your drive. Open the archive in Kiwix to follow links between the articles it contains. Start with the city you’re flying to, find yourself reading about the engineer who designed its railway station, and keep going. The articles you packed are already with you.

Let familiar apps do their jobs

Some of our favorite integrations amount to a good handoff. With the desktop apps installed, open a supported film from the kit’s knowledge/movies/ folder in VLC. Keep a travel budget as an XLSX or ODS file in an indexed project or repository, and you can open it in LibreOffice or ONLYOFFICE Desktop Editors. Offline Kit helps you find the file. The app you know takes it from there.

You can pack a coding session the same way. Keep a Git repository on the drive, open it in Zed, and bring along the documentation you expect to need. Opening a repository in OpenCode hands it the folder. Configure its local model and permissions in OpenCode before trying an offline session. For the return flight, the kit’s RetroArch handoff supports Game Boy and Game Boy Color files in the games folder. It checks for the supported SameBoy core before launch. Bring a game you’re entitled to use.

These desktop tools run on the Mac, while the files you bring live on the drive. The easiest rehearsal is to switch off Wi-Fi at home and do the thing you’re looking forward to. Open the spreadsheet. Start the game. Ask the coding assistant a question. You’ll quickly discover whether you packed all the pieces.

The map we’re still testing

Maps pose a harder question. When you zoom from a world view into a city, is the street detail you expect actually on the drive?

Our map viewer uses MapLibre to draw the map, Protomaps for the basemap design, and PMTiles to store tiles in a local file. On an 8 GB M1 Mac disconnected from the internet, reviewers tested Atlanta, Portugal, and Valencia. When Atlanta’s regional detail was missing or corrupt, the viewer fell back to the overview. After restoring the matching archive and restarting, they could see Atlanta’s streets and labels again. Those results cover the tested map packages. Public distribution of the candidate packages still requires release approval.

For a first afternoon with Offline Kit, start with something smaller than a map of the world. Bring one set of notes you know well. Disconnect, ask a question those notes can answer, and open the cited passage. There’s a particular satisfaction in finding the exact words you needed and realizing you already had them with you.

← Back to the blog