The refresh mechanism posted a JSON-RPC `refresh` command to the nested iframe.diy frames. During rapid build cycles, the command could be silently dropped when the inner iframe was mid-reload, not yet mounted, or when the outer frame's handshake was still pending \u2014 leaving the preview stuck on a stale build with no way to recover short of reloading the whole page. Switch to remounting the iframe via a React key bump, which always works regardless of handshake state. Also fix a bug in the injected preview script where `++rpcId` (a function) silently corrupted the id generator to NaN, breaking navigation state and uncaught error reporting.
Shakespeare 🎭
Shakespeare is an open-source AI app builder that runs entirely in your browser.
Features
- Use any AI provider OpenAI, Anthropic, OpenRouter, xAI, ZAI, Deepseek, and more
- Buy credits anonymously with Nostr and Lightning ⚡
- Redeem gift cards with shareable links for instant credits
- Runs entirely in the browser No backend required
How it Works
Shakespeare is a React PWA that stores files in IndexedDB with LightningFS. Your browser connects directly to AI providers and git services (through isomorphic-git) to enable you to build and deploy AI apps entirely from your device.
Shakespeare hosts no backend (except for a couple microservices in the services/ directory; these are fully configurable within Shakespeare's settings). All your code and configuration is stored in your browser.
Configure any AI providers and git services you want. Configuration is stored entirely in the browser in localStorage.
You can then push and pull code to syncronize your work across devices.
Shakespeare can work on any type of project. But it is specialized to build React applications in TypeScript, which it compiles in the browser with esbuild-wasm and custom plugins. Any codebase can be worked on, but only compatible projects can be previewed directly in Shakespeare.
Open Source
Shakespeare is proudly Open Source software licensed under the GNU AGPLv3. The purpose of Shakespeare is to provide a free and open platform for building AI applications that respects user privacy and freedom.
Mirrors
Shakespeare is available on the following URLs: