Go to file
Ben Harris 1538aad56e
fix some typos and warnings
2022-01-15 22:54:16 -05:00
clients fix some typos and warnings 2022-01-15 22:54:16 -05:00
contrib fix some typos and warnings 2022-01-15 22:54:16 -05:00
docs fix some typos and warnings 2022-01-15 22:54:16 -05:00
prototype fix some typos and warnings 2022-01-15 22:54:16 -05:00
src fix some typos and warnings 2022-01-15 22:54:16 -05:00
.gitignore update gitignore 2017-09-03 00:01:57 -05:00
LICENSE Create LICENSE 2017-04-15 10:59:37 -05:00
README.md fix some typos and warnings 2022-01-15 22:54:16 -05:00
config.json.example Fix config.json.example 2019-10-08 14:31:59 +00:00
dbupdate.py add new parameter to threads: last_author 2017-04-25 03:36:51 -05:00
gendocs.sh fix some typos and warnings 2022-01-15 22:54:16 -05:00
mkendpoints.py some slight changes to docs 2017-05-03 22:22:20 -05:00
readme.png now lets work on that readme, eh? 2017-04-28 22:07:18 -05:00
requirements.txt fix some typos and warnings 2022-01-15 22:54:16 -05:00
schema.sql add new parameter to threads: last_author 2017-04-25 03:36:51 -05:00
server.py fix some typos and warnings 2022-01-15 22:54:16 -05:00
setup.sh fix some typos and warnings 2022-01-15 22:54:16 -05:00
todo.org Add basic search support (needs a little work, btw HI MODS) 2018-07-27 17:28:34 -05:00

README.md

Bulletin Butter & Jelly

BBJ is a trivial collection of python scripts and database queries that miraculously shit out a fully functional, text-driven community bulletin board. Requires Python 3.4 and up for the server and the official TUI client (clients/urwid/).

AAAAAAAAAAAAAAAAAAAA

Look Ma, it boots !!11!

It's all driven by an API sitting on top of CherryPy. Currently, it does not serve HTML but this is planned for the (distant?) future.

The two official client implementations are a standalone TUI client for the unix terminal, and GNU Emacs. The API is simple and others are welcome to join the party at some point.

Setup Instructions

  1. Make a virtual env
python3 -m venv venv
source venv/bin/activate
  1. Run setup.sh
./setup.sh venv/bin/python3
  1. Add systemd service (optional)
cp contrib/bbj.service /etc/systemd/system/
$EDITOR /etc/systemd/system/bbj.service
systemctl enable --now bbj

Be sure to edit bbj.service with your venv and paths.

  1. Make a client script

Create a script somewhere in your $PATH (I used /usr/local/bin/bbj) with the following contents, adapting the path to your install:

#!/bin/sh
exec /srv/bbj/venv/bin/python3 /srv/bbj/clients/urwid/main.py