Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arkaeriit/devzat-censor
A plugin to bring Rustrict to Devzat.
https://github.com/arkaeriit/devzat-censor
Last synced: 26 days ago
JSON representation
A plugin to bring Rustrict to Devzat.
- Host: GitHub
- URL: https://github.com/arkaeriit/devzat-censor
- Owner: Arkaeriit
- License: mit
- Created: 2023-08-10T15:23:59.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-11T15:37:27.000Z (over 1 year ago)
- Last Synced: 2023-08-11T22:43:24.996Z (over 1 year ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Devzat Censor
[Devzat](https://github.com/quackduck/devzat) houses a lot of discussions. To ensure polite and pleasant discussions, a censoring of rude words is nice. This plugins acts as a middleware that passes the messages through [Rustrict](https://github.com/finnbear/rustrict) to remove the worste words.
## Admin usage
The plugin is made for a single-file executable. It is configured with the following environment variable.
|Variable name |Description |Default |
|--------------|-------------------------------|----------------------------------------------------------------------------|
|`PLUGIN_HOST` |URL of the chat-room interface |`https://devzat.hackclub.com:5556` |
|`PLUGIN_TOKEN`|Authentication token |Does not defaults to anything. The program panics if the token is not given.|