all AI news
Vanilla worker playground for cloudflare AI
DEV Community dev.to
This is a submission for the Cloudflare AI Challenge.
What I Built
Vanilla worker playground for cloudflare AI, also act as cloudflare API proxy.
Demo
Demo: https://playground.pingshan.uk/
My Code
github: https://github.com/casualwriter/vanilla-worker-playground
source: https://github.com/casualwriter/vanilla-worker-playground/blob/main/vanilla-worker-playground.js
Journey
I just explorer to use cloudflare AI API, and make the worker as API proxy first, and code the html page locally.
the html page is very simple in less than 300 lines code, and I realize that I can put it inside worker. that's …
act ai api challenge cloudflare cloudflare ai cloudflarechallenge code demo devchallenge html journey page playground