| Crates.io | piper-bot |
| lib.rs | piper-bot |
| version | 3.0.0 |
| created_at | 2023-04-01 05:12:39.758904+00 |
| updated_at | 2024-09-30 06:57:18.343528+00 |
| description | A bot that reads messages from a named pipe and sends them to Discord. |
| homepage | |
| repository | https://codeberg.org/NoraPerry/piper-bot |
| max_upload_size | |
| id | 827086 |
| size | 74,628 |
Piper Bot is a Discord bot which reads messages in from a named pipe on the host file system, then sends them to a specified Discord channel.
piper-bot by running cargo install --path . in the project directory.mkfifo path/to/pipe.cp config.kdl.example ~/.config/piper-bot/config.kdl), and replace the example values.piper-bot.echo hello > path/to/pipe)
and the bot will send the message to Discord.mnt folder in the project directory. This will be mounted into the container so it can access the config and pipe files.mnt folder (e.g. mnt/pipe).config.kdl.example file to mnt/config.kdl and replace the example values.
The mnt folder is mounted to /mnt, so if your pipe is at mnt/pipe then in the config file you should put fifo "/mnt/pipe".docker compose up --build -d.