Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dispherical/tusker
Reporting NSFW mastodon posts
https://github.com/dispherical/tusker
Last synced: about 1 month ago
JSON representation
Reporting NSFW mastodon posts
- Host: GitHub
- URL: https://github.com/dispherical/tusker
- Owner: dispherical
- Created: 2024-11-27T05:00:30.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T05:00:43.000Z (about 2 months ago)
- Last Synced: 2024-11-27T08:36:46.725Z (about 2 months ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tusker
A simple server designed to flag remote NSFW posts. On social.dino.icu, we added quite a few relays and some unsavory. It's very simple.
## Setup
1. Create an API key. You can make it in the admin panel or authorize it using `node authorize.js`. It will take you through the Oauth2 flow.
2. Set the following .env variables in a file or in the shell:
```bash
MASTODON_HOSTNAME=mastodonserver.com
MASTODON_TRIGGER_ACTION=report
# NSFW scoring probability. Between 0.0 and 1 (`percent / 100`)
MASTODON_PROBABILITY=0.80
MASTODON_API_KEY=XXXXXXXXXXXXXXXXXXXXXX
```
3. Run index.jsNow it will report NSFW posts.