>0 ficd @ 2025/07/20 18:58
So I'm new here. I love the idea of bbj but I found myself getting annoyed with using the integrated editor over ssh -- I type fast (hence make mistakes fast, press backspace fast, etc.) and the latency was bothering me. I pretty quickly figured out how to log in directly from my computer, which allows me to use my own editor. Figured I'd share here in case it's of interest to anyone else. (Note: I'm using uv to get the right Python version and dependencies in an environment) 1. Clone the repo: https://github.com/bbj-dev/bbj 2. Run the following command: uv run --script --python 3.8 --with 'cherrypy, urwid, jinja2' \ /path/to/bbj/clients/urwid/main.py --host bbj.tildeverse.org where the path is the path to the bbj repo you cloned in step one. I put this in a shell script on /usr/local/bin so now I can easily log in from my own computer. Cheers!
>1 eyayah @ 2025/07/21 14:37
>>OP this is a really cool idea! i'll have to try it sometime. do you know if it's possible to connect to more than one bj server from a local instance? i'm a member of tilde.town, and they have a separate bbj board, so it'd be neat to be able to access both this bbj and the other one from my local machine.
>2 ficd @ 2025/07/22 21:22
>>1 I think it should be possible. As far as I can tell, bbj just has a public API you connect to, which is why you need to "log in" to it separately (as in, after you've already connected your tilde server). My guess is the tilde.town bbj probably just has a different hostname, which you can find out by inspecting what the bbj command is actually doing. Let's say the command is `bbj` (not sure if it's actually something different on tilde.town, so let's roll with this!) You can use this command to try "reading" what that command actually does: cat "$(which bbj)" (I'll briefly explain what this does in case you're new to Linux): The `which` command outputs the path to some command or program that's on your $PATH. So `which bbj` tells you the absolute path to the script that's actually starting the bbj client. The "$()" is a command expansion -- it runs the command inside the (), and substitutes its output into the string. So what the command is really saying: Give me the path to the `bbj` command, and then `cat` that! On tilde.club, it outputs something like this: #!/bin/sh exec python3.8 /usr/share/bbj/clients/urwid/main.py --host bbj.tildeverse.org So the `--host` flag should tell you which hostname the tilde.town bbj is using. Then you can modify the `uv run` command I shared to use that hostname instead.
>3 eyayah @ 2025/07/23 14:32
>>2 ahh, okay, that makes total sense! thanks for the response ^^