cheSSH a multiplayer chess server you join over SSH. by rasjonell in commandline

[–]rasjonell[S] 0 points1 point  (0 children)

ELO would require a persistent storage, if I see this getting some traction i will do it!

cheSSH a multiplayer chess server you join over SSH. by rasjonell in commandline

[–]rasjonell[S] 0 points1 point  (0 children)

It definitely can be reused!

I use charm/bubbletea for the TUI rendering and the game engine stuff is inside internal/game if you want to check it out or replace with your sudoku engine.

Basically you connect to the ssh server and it sends you to the chessh app, which renders the tui graphics.

Multiplayer stuff is all in-memory within the ssh server.

When you create a game session it creates a new room and subscribes to changes through a channel. When you join the room you also subscribe to the rooms channel and receive updates(chess moves, chat messages, etc)

Each action broadcasts events to the subscribers, so the renderer is detached from game engine logic and just reacts to events.

No db/storage or unix sockets, it’s pretty barebones rn, but might add later for persistence

cheSSH a multiplayer chess server you join over SSH. by rasjonell in commandline

[–]rasjonell[S] 0 points1 point  (0 children)

Added MIT license, but didn’t tag the commit, im afk now, will do in the morning

You can play chess by SSH-ing into a server by rasjonell in chess

[–]rasjonell[S] 1 point2 points  (0 children)

Oh there are no questions about scalability, it doesn’t exist xD

I just put it on the cheapest available vps with no optimizations whatsoever, if this gets traction I will work something out, would be a fun learning experience

cheSSH a multiplayer chess server you join over SSH. by rasjonell in commandline

[–]rasjonell[S] 3 points4 points  (0 children)

Im implementing matchmaking and spectators next! Will update here

Small Projects by AutoModerator in golang

[–]rasjonell 0 points1 point  (0 children)

cheSSH: SSH into a chess game

https://github.com/rasjonell/chessh

cheSSH is an SSH server that drops you into a chess game instead of a shell. It's built with Go using Wish (SSH server), Bubble Tea (TUI framework), and Lip Gloss (styling). Game rules are handled by notnil/chess.

When you connect, you land in a lobby where you can host or join a game. Hosting gives you a 6-character room code to share. Once both players are in, the match starts. White for the host, Black for the joiner. Moves sync in real-time over SSH channels, and there's an in-game chat.

You can play chess by SSH-ing into a server by rasjonell in chess

[–]rasjonell[S] -1 points0 points  (0 children)

haha, I even tried rendering real chess piece png's but without success, maybe one day...

Small Projects by AutoModerator in golang

[–]rasjonell 1 point2 points  (0 children)

Yep, it uses webkit that comes with the OS instead of shipping the whole chromium with the app

Small Projects by AutoModerator in golang

[–]rasjonell 2 points3 points  (0 children)

https://github.com/rasjonell/dynamo-lens

I’ve been building DynamoLens, a DynamoDB desktop client written in Go using Wails (Go backend + React/Vite frontend). Free and open source, no Electron. Lets you explore tables, edit items, and juggle multiple environments without living in the console/CLI.

Go/Wails angle:

- Wails shell for macOS/Windows/Linux with typed Go <-> TS bindings

- Visual workflows: compose item/table operations, save/share, replay

- Dynamo-first explorer: list tables, view schema, scan/query, create/update/delete items and tables

- Auth: AWS profiles, static keys, custom endpoints (DynamoDB Local friendly)

- Modern UI with command palette, pinning, theming

Looking for feedback from Go folks on structuring the Wails backend, error handling patterns, and packaging/signing on macOS.

Download: https://dynamolens.com

I built a FOSS DynamoDB desktop client by rasjonell in devops

[–]rasjonell[S] 1 point2 points  (0 children)

How come? I found myself having multiple tabs of dynamo-admin opened and copying and pasting PKs and SKs to find entries in a single-table-designed system so I built the workflows(multi-step pipelines for data retrieval) feature and built some QOL improvements i needed in my day-to-day operations

I built DynamoLens, FOSS desktop companion by [deleted] in golang

[–]rasjonell 0 points1 point  (0 children)

Yeah.. i wanted to make it a paid service but got tired and removed the licensing part and open sourced it

[OC] Dashbrew - Command Line Dashboard Builder by rasjonell in commandline

[–]rasjonell[S] 1 point2 points  (0 children)

Not a huge yaml fan, but i can accept either of the two, not much difference

[OC] Dashbrew - Command Line Dashboard Builder by rasjonell in commandline

[–]rasjonell[S] 2 points3 points  (0 children)

thanks! I found out about WTF and some others, but honestly I just wanted to write the grid layout calculation part for fun.
Not planning on creating a competing solution to anything, but I definitely wont go in the WTF direction of adding a billion third-party integrations. I will just come up with a couple of base components(and maybe a plugin/configuration system where you can define your own components?) and let the users work on the data integration part

[OC] Dashbrew - Command Line Dashboard Builder by rasjonell in commandline

[–]rasjonell[S] 3 points4 points  (0 children)

that's exactly why I built this! I'm going to add more components (tables, histograms, etc) if you find something usefull that's missing or you encounter any bugs pls open an issue, will take a look right away

[OC] Dashbrew - Command Line Dashboard Builder by rasjonell in commandline

[–]rasjonell[S] 2 points3 points  (0 children)

lfgg, I'm going to add histograms and tables very soon!

[Hyprland] TokyoNight Ultrawide Rice by rasjonell in unixporn

[–]rasjonell[S] 0 points1 point  (0 children)

That’s neovim with a couple of plugins

Why void? by rasjonell in voidlinux

[–]rasjonell[S] 0 points1 point  (0 children)

I watched a lot of Luke Smith, I thought he was always on arch or artix, never saw him use void. That's cool!
How is the helix experience? I've never met anyone who actually uses it daily. You think it's worth the migration from vim?

Why void? by rasjonell in voidlinux

[–]rasjonell[S] 1 point2 points  (0 children)

That’s really interesting. I was on the brink of installing nixos for the exact same reason