Go to file
2024-10-11 14:29:28 -04:00
bulb Posting now reads from stdin, supports multiline input 2024-10-11 11:17:52 -04:00
cmd/bulb Print out better information when an invalid number is given 2024-10-11 14:29:28 -04:00
.editorconfig Add .editorconfig and LICENSE 2024-10-09 21:13:48 -04:00
LICENSE Add .editorconfig and LICENSE 2024-10-09 21:13:48 -04:00
README.md Update readme 2024-10-11 11:19:16 -04:00

bulb

A simple bulletin board for your server. Users of the system can post and read messages using the "bulb" command. You can also set up multiple boards.

Setup

You can install the bulb command by running:

hare build cmd/bulb

And then installing the resulting executable.

The reccomended way to use this program is to have the executable owned by the user bulb, with the setuid bit enabled. Then, create a list of boards (empty text files) located at /var/bulb/ which are also owned by bulb. This will allow all users to use the program to post on boards without allowing them to directly edit their contents, thereby preventing them from mischeviously re-writing chat history.

Usage

To list available boards:

bulb

To post a message:

bulb post
bulb post -b <board-name>

To read recent messages:

bulb read
bulb read -b <board-name>
bulb read -n <message-count>

Note that when not specified, the board name defaults to general. For this reason, it is recommended to ensure that a board with this name exists.