ai predicts which dog would win in a fight lol
also has cat mode
- get a free api key from google ai studio (https://aistudio.google.com/apikey)
- create a cloudflare worker
wrangler deploy -c wrangler-dogfight.toml- add your api key as a secret:
wrangler secret put GEMINI_KEY- create a kv namespace for rate limiting:
wrangler kv namespace create RATE_LIMIT- update the kv id in wrangler-dogfight.toml
- deploy:
wrangler deploy -c wrangler-dogfight.toml- update the worker url in app.js and cat.js
note: switched from openrouter to gemini, Use older ver of worker (1.0.0) if want openrouter
- upload your own dog/cat
- ai roasts them
- rate limiting so ppl cant spam
- secure api key storage
Special thanks to
made with ❤️
Credits
Dominic84p
Prolly slatefv or some shi idfk
Ps: Plz giv credit or I be sad, And if u deadazz sell ts ur a dick.