Projects

My open-source work, mostly in Go: terminal shooter and chess games that can be played on this site, music workbench, log transport tool, an Android puzzle game, and the libraries they share.

Apps

ViF

Live on this site

A real-time roguelike typing shooter, solo or multiplayer, on an HFSM-driven ECS engine of its own, played with vi-style motions on a keyboard, a mouse or a phone's touchscreen.

  • vi-style motions, operators, search and macros are the controls
  • Own ECS runtime; scenarios, species and bots authored as TOML state machines
  • Enemies that adapt: a bandit learns the routes, a genetic engine evolves them
  • Multiplayer over TCP or WebSocket, with dedicated game servers on demand
  • One game for a terminal, a desktop window, an Android phone and the browser

Stapes

Pre-release

A terminal workbench for a pure-Go synthesizer and sequencer. It edits sounds, instruments and patterns as they play. Stapes Rip turns a recording into the patterns, instruments and song that play it back, using signal processing or its own trained models.

  • A command line, a full-screen terminal UI and scripts, sharing one set of commands
  • Sounds, instruments and patterns edited by their TOML paths and applied while they play
  • Rips a recording into its tempo, meter, key, drums and lines on a sixteenth-note grid, and reads and writes MIDI
  • Hears with signal processing or its own models, a transformer and a cell net run in pure Go, trained on rendered music and licensed recordings
  • Fits instruments to the notes, compresses bars into songs and refines them by ear with a genetic search

LogWisp

Live on this site

A single-binary log transport in Go. It collects from files, stdin or other nodes, then filters, rate-limits and formats entries for files, consoles, live streams or the next node.

  • A Unix filter with no config: stdin to stdout, line for line
  • Independent pipelines, each sources → flow → sinks, hot-reloaded
  • Live SSE and TCP streams, a browser viewer, chaining between nodes
  • TLS, mutual TLS and Argon2id-SCRAM on every link; address rules, per-client limits and PROXY headers on every listener
  • Composed in a terminal UI (lw –tui) or in the browser, on the same engine, and tapped live on the terminal

Chess

Live on this site

A Go chess server with a REST API, Stockfish for validation and computer play, optional accounts, and durable replay. Three different clients share it.

  • Human vs computer, human vs human, computer vs computer
  • Resignation, draw offers and automatic draws
  • Optional accounts you can delete yourself; anonymous games are kept 24 hours
  • Durable history, replay on the board and in the terminal, PGN export
  • Web board, terminal CLI, and the same CLI in WebAssembly

Rings

Released

Eight rotatable rings, one notch each: line them up. Every ring drags its neighbors along at half speed, so each correction is also a disturbance.

  • Random start, drag and tap controls
  • Built-in solver
  • About 1 MB, works offline, asks for no permissions

Libraries

Go modules the apps are built on, each in its own repository.

Terminal, color and images

  • Terminal Direct ANSI terminal control for Go, and the same cells in a browser, a desktop window or on Android Used by ViF, Stapes, LogWisp and Ascimage
  • Color RGB color, blending and terminal palettes for Go Used by ViF, Stapes, LogWisp, Terminal and Ascimage
  • Ascimage Images as terminal cells for Go, and a terminal image viewer Used by ViF
  • QR QR codes for short links, as SVG, in Go and in a page's script Used by ViF

Configuration, logging and auth

  • TOML TOML decoding, encoding and in-place editing for Go Used by ViF, Stapes, LogWisp, Config and Audio
  • Config Layered, thread-safe configuration for Go Used by LogWisp
  • Log Buffered, rotating file logging for Go Used by ViF and LogWisp
  • Auth Argon2id hashing, SCRAM login and JWTs for Go Used by ViF, LogWisp and Chess

Audio and AI

  • Audio Synthesized sound effects and music for Go Used by ViF and Stapes
  • Transformer Inference for small transformers and cell nets, in pure Go Used by Audio
  • Genetic Evolutionary optimization for Go simulations and games Used by ViF and Stapes