Skip to content

A gatekeeper that's running on the Cloudflare Workers platform

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

BENDERFACToRY/gatekeeper-cfw

Repository files navigation

Gatekeep (on Cloudflare Workers)

This is a port of the standalone Gatekeep project to the Cloudflare Workers platform.

Setup

The discord tokens and hasura keys are stored as "secret keys". Create them like this:

npx wrangler --env local secret put DISCORD_BOT_TOKEN npx wrangler --env local secret put HASURA_JWT_KEY

(Before deploying, also run the above commands but without the --env local flag)

(Note the HASURA_JWT_KEY is not the full json object, it's just the signing key as a string)

You'll also need to make sure the KV namespaces are created:

npx wrangler kv:namespace create KV_GUILD_CACHE npx wrangler kv:namespace create KV_GUILD_CACHE --preview

You'll need to make sure that the KV namespace IDs in wrangler.toml are correct for your account.

About

A gatekeeper that's running on the Cloudflare Workers platform

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published