Skip to content

kiosion/kio.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kio.sh

kio.dev, served over SSH, as a little easter-egg and quick hack project:

ssh kio.sh              # interactive
ssh kio.sh ls           # list posts
ssh kio.sh cat <slug>   # print one as markdown

Stock OpenSSH handles the crypto, auth, and pty; a tiny NSS module (sshd/nss_ato.c) maps every username onto one inert blog user whose ForceCommand is the TUI; a Haskell + brick app.

Building

make content && cabal run kio-tui   # run locally with no ssh layer
make dev                            # or the full container on :2222

To-do

  • a11y: f-style link-hint mode so keyboard-only visitors can follow inline links
  • try: makeLenses for St to shrink the record-update lambdas in Events
  • other: vi/vim navigation fun-to-have's

About

My personal site & devblog as a little SSH-accessible app

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors