Run Claude artifacts inside Codea!

Artifact Runner.zip (160.2 KB)

This is a lot of fun!

To run a Claude artifact in Codea:

  • get Claude to make it into an HTML file.
  • save that file locally and import it into this project.
  • project uses objc to make a WebView that can then load that local webpage via asset notation. Just change the asset specified on the Main tab and it should run!

Zipped project comes with the demo interactive Claude artifact shown in the screenshot.

Also available on WebRepo

1 Like

Update:

Now accepts an onLoad parameter at init and in the loadUrl call. This is a function that will run asynchronously when the website loads.

No one has Claude artifacts to share?

Claude artifacts are so cool!

If you’ve never tried it, go ask Claude to make you a game prototype! It can do it super fast.

Then come share it here using the Artifact Runner!

For instance here’s one:

Space Chase!.zip (102.7 KB)

Fly around in a spaceship and avoid the enemy spaceships.

If you want to see how I built it with Claude, the chat is here: