Moe Counter on Cloudflare Workers.
You can use the hosted instance for any purpose, but if you want to self-host:
- Clone this repository.
- Install dependencies with
pnpm install. - Modify
wrangler.tomlto your liking. - Check out
example.dev.varsfor required secrets to set. You can use the Upstash integration in Cloudflare dashboard. - Run
pnpm run deploy. For the first deployment, you may need to commentservicesinwrangler.tomlbefore deploying again with it uncommented.
pnpm i
pnpm dev