tdiscuss
Discussion board for your tailnet
Why?
Why not? Who doesn't want a discussion board for their tailnet? Honestly, I've often found myself wanting a small/simple/easy-to-deploy discussion board a la pgBoard. The apps golink and tclip use the tailscale go library to expose the application securely on your tailnet. I thought this was a good fit for what I'm calling tdiscuss
. That's why. Well, and it's fun!
Building
Install bazelisk, then see what platforms exist to build for: bazelisk query //...
.. any of the :tdiscuss-{linux,darwin}-{amd,arm}64
are targets.
bazelisk build --stamp --workspace_status_command="${PWD}/status.sh" //:tdiscuss-linux-amd64
Running
- Be a tailscale user
- Have an auth key created for the last step in this list.
- Set up a PostgreSQL database version 14+
psql < sqlc/schema.sql
DATABASE_URL=<valid dsn> TS_AUTHKEY=<key from step 2>
Success looks like
{
"time": "2024-07-07T19:49:37.305788-07:00",
"level": "INFO",
"msg": "AuthLoop: state is Running; done"
}