u/LowLiterature5829

▲ 178 r/opencode+1 crossposts

Opencode with 3DS SSH rocks!

hey everyone lol

been working on a kinda insane side project: a real SSH terminal client for the Nintendo 3DS lmao

this video is OpenCode actually running through SSH on the 3DS, not a fake UI / not pre-rendered

current stack:

  • Nintendo 3DS homebrew
  • C
  • devkitARM / libctru
  • citro2d / citro3d for full GPU rendering
  • custom terminal renderer (no libctru console stuff)
  • custom VT100 / ANSI parser
  • xterm-256color PTY
  • libssh2 + mbedTLS
  • custom touch keyboard on bottom screen
  • hardware button mappings
  • dynamic PTY sizing based on actual terminal viewport

basically the top screen is a GPU-rendered terminal emulator, bottom screen is the software keyboard / controls

the SSH side is real:
3DS > libssh2 > remote Linux box

so the 3DS is basically acting like a cursed tiny SSH thin client lmao

still improving:

  • better VT100 compatibility
  • denser rendering modes
  • better font atlas
  • alternate screen handling
  • hardware testing weirdness (emulator vs real 3DS networking edge cases lol)

honestly didn’t expect this thing to get this far rofl

if people think this is cool i might clean it up and open source it

u/LowLiterature5829 — 7 days ago