Skip to content

Repository files navigation

beanroom 🫘

a little anon chatroom that keyboard only typa project. you just ssh in and start talking to strangers (scawy).

You don't need an account chat. If you want to be recognizable, /register a username and password and your name + color preference get saved.

also: be nice. that's the first rule. just be a good human being.

prerequisities

  • bun
  • node

why?

ssh is already on every machine you own, and there's something genuinely fun about a chatroom that feels like something retro.

features

  • TUI — Full terminal buffer usage so as to not just be like a command but a proper hecking chatroom
  • channels — channels like #general (totally not from discord)
  • themes — tokyo-night and gruvbox are made for now

try it live

ssh beanoni.xyz -p 2222

how to run locally

first clone my repo by

git clone https://github.com/BeanieMen/beanroom/
cd beanroom

then install deps and build binary (THIS STEP REQUIRES BUN)

bun i
bun run build

run the binary

./dist/beanroom

the program autogenerates a ssh server key at ssh_host_ed25519_key you can do ssh-keygen -t ed25519 to generate a key yourself

technologia

I used ssh2 library with gradient-string for gradients.

command what it does
/register <user> <pass> create an account
/login <user> <pass> log in (restores saved color)
/logout log out
/join <channel> [description] join a channel, or create it if it doesn't exist
/list open the browsable channel list
/channels list channel names inline
/announce <text> broadcast a popup to everyone in the room
/whoami show your session/identity info
/color SOLID #hex set your name to a solid color
/color GRADIENT #hex1 #hex2 set your name to a gradient (saved if logged in)
/theme tokyo-night|gruvbox swap the palette live
/clear clear the screen
/help show the help text

contributing

bug reports, ideas, and silly channel names are all welcome — check CONTRIBUTING.md first. this project follows the Hack Club Code of Conduct and CODE_OF_CONDUCT.md.

ai disclosure

I used ai to help me refactor and debug issues.

written with <3 by BeanieMan · come hang out in #general

About

This is a ssh chatroom which was inspired by https://late.sh/.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages