This is a open source implement of OpenCat for Team Backend.
You can deploy this backend service on Cloudflare Worker.
This Project use Cloudflare KV as backend database.
cd ./opencatd_worker
yarn
cp wrangler.bak.toml wrangler.toml
npx wrangler kv:namespace create OPENCAT_DB
kv_namespaces = [{ binding = "OPENCAT_DB", id = "xxxxxxxxxxx" }]
routes = [{ pattern = "xxxxxxxx", custom_domain = true }]
yarn deploy
Run yarn start
to start development
yarn start