Appfiles
An appfile is my name for a saveable, shareable, interactive HTML file, meant to be opened from your computer instead of hosted online.
- AI is making it easy for anyone to create beautiful, interactive HTML pages.
- In theory, these could replace and improve on spreadsheets, presentations, and other documents.
- But without web hosting and a database, there’s no simple way to make them editable, save your changes, and share with others.
appfile.js is a simple script that makes HTML files saveable. Ask an AI agent to add it to your file, or just point them to this website. There’s also a guide for AI agents.
Example appfiles
Features
- Edit and save your changes locally
- Easily send to others, like you would with any other file
- Files open in any browser - no app needed
- Allows much richer and more intuitive design than a spreadsheet or document
- No lock-in to a single AI system
Downsides
- No ‘multi-player’ / live collaboration on a single shared file (like Google Docs)
- No built-in AI capabilities (like you’d get with Claude Artifacts) or anything else that needs a server
- The first time you save an appfile after opening it, you have to pick where to save it
- Works best in Chrome; functionality is limited in Firefox, Safari, and other browsers
Ultimately, I think Anthropic should define and start using the .claude file format. This would be similar to HTML, but open in the Claude desktop app. Users could edit these files directly, ask AI to make edits, and perhaps get access to AI capabilities within the file. Then they could save and share with others, or turn them into a hosted artifact, etc. OpenAI could do the same thing with .chat or .codex.
In the meantime, you can use appfile.js! Or just ask your AI to implement something similar in your little local tools.
Related reading and similar thinking