Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.|