Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sorz/great-ahhh-wall

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

great-ahhh-wall

A Cloudflare Workers program protecting ActivityPub inbox from spam.

It simplely drop posts with a lots (e.g. > 9) mentions. False postive exists, use with caution.

Deployment

  1. Install Node.js and pnpm
  2. pnpm i to install dependencies
  3. pnpm run deploy to deploy
  4. Add following routes to Workers Routes
    • [YourDomain]/inbox
    • [YourDomain]/users/*

Max allowed mentions CC_LIMIT is 9 by default, you can edit it on wrangler.toml before deploy, or on Cloudflare dashboard after deploy (Workers & Pages / activitypub-inbox-filter / Settings / Variables and Secrets).

Development

Run pnpm run cf-types to generate types.

Logs can be found on Cloudflare dashboard.

Credits

License

CC0

About

Cloudflare Workers as ActivityPub inbox spam filter (for Mastodon and others)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%