https://github.com/himynameisdave/bsky-profanity-counter
A bot for Bluesky which tells you how much profanity a user has posted.
https://github.com/himynameisdave/bsky-profanity-counter
at-protocol bluesky bluesky-bot fun-bot social-bot social-media
Last synced: 3 months ago
JSON representation
A bot for Bluesky which tells you how much profanity a user has posted.
- Host: GitHub
- URL: https://github.com/himynameisdave/bsky-profanity-counter
- Owner: himynameisdave
- License: mit
- Created: 2025-02-24T17:40:14.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-28T07:09:09.000Z (4 months ago)
- Last Synced: 2025-03-05T15:53:42.604Z (3 months ago)
- Topics: at-protocol, bluesky, bluesky-bot, fun-bot, social-bot, social-media
- Language: TypeScript
- Homepage: https://profanity.accountant
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
profanity.accountant
🤬 A bot for Bluesky which tells you how much profanity a user has posted..
---
Counting your sins (if profanity was a sin).
## How It Works
1. The bot runs on a schedule (every 10 minutes via GitHub Actions)
2. It checks for new mentions in replies
3. When mentioned, it analyzes the post history of the author of the post being replied to
4. It counts all profanities used by that author
5. It replies with a summary of the profanity count and the most commonly used profanity## Setup
You too can run your very own profanity accountant!
### Prerequisites
- Node.js >= `22.14.0`
- `pnpm`### Installation
1. Clone this repository
2. Install dependencies:```
pnpm install
```3. Copy `.env.example` to `.env` and fill in your Bluesky credentials:
```
cp .env.example .env
```4. Build the project:
```
pnpm build
```5. Run the bot:
```
pnpm start
```### Environment Variables
- `BLUESKY_IDENTIFIER`: Your Bluesky handle or email
- `BLUESKY_PASSWORD`: Your Bluesky password or app password## Deployment
This bot is designed to run on GitHub Actions. The workflow is configured to run every 10 minutes.
To deploy:
1. Fork this repository
2. Add your Bluesky credentials as repository secrets:
- `BLUESKY_IDENTIFIER`
- `BLUESKY_PASSWORD`
3. The GitHub Actions workflow will automatically run the bot on schedule## Contributing
PRs and issues are welcome!
## Inspiration
Shoutout to the [Sheriff of Profanity](https://www.reddit.com/user/profanitycounter/) on Reddit for the inspiration.
## License
MIT