I use AI tools to make playful, interactive browser artifacts, from small visual editors to webcam-driven apps and themed code examples. My experiments include Claude Artifacts and direct browser access to the Anthropic API; the latter connects to browser api access and security.
I said, “The remix feature is really cool,” after seeing my interactive CSS box-shadow editor remixed.
The remix feature gave me “Glitch and MySpace profile customization vibes.”
I shared the CSS box-shadow editor at https://t.co/NryFBXfJIT.
I said Anthropic had added CORS support that could be enabled with the currently undocumented request header anthropic-dangerous-direct-browser-access: true, allowing calls to its API directly from browser JavaScript.
I used the browser API feature to upgrade my Haiku app, which uses your webcam to take a photo and then writes a Haiku about it using the Claude Haiku model.
I had been complaining that it was too hard to export Claude Artifacts that use React into a separate project; looks like https://t.co/2xH3qNfKdg by @claudiombsilva is the solution I've been hoping for.
I shared notes and a Pelican Illuminati demo artifact while discussing the React-artifact export problem.
I love generating code examples with LLMs; my prompt was: Build me a cool artifact using Shadcn UI and Recharts around the theme of a Pelican secret society trying to take over Half Moon Bay.
Related: interactive browser experiments, ai built custom tools, browser based code sandboxing