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.toml
to your liking. - Check out
example.dev.vars
for 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 commentservices
inwrangler.toml
before deploying again with it uncommented.
pnpm i
pnpm dev