Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duet – SSH Pair Programming

SSH-first pair programming tool built with Go + Charm (Bubbletea/Wish).

Features

  • Create/join pairing sessions via ssh duet.jaypopat.me
  • Shared live terminal
  • AI Agent and access to sandbox (cloudflare stack)
  • Users can directly run commands on sandbox or let AI run commands through chat (some usecases include cloning a repo and operating file operations)
  • Usecases include teaching, interviews, and collaborative coding
  • The session has nvim and nodejs which allows for a seamless peer programming session

NOTE - sandboxing feature only works locally since it requires a paid plan

How to access hosted version

Connect to the app using ssh <username>@duet.jaypopat.me

How to run locally (DEV)

Run make dev

This will spin up the cloudflare worker locally (except the ai inference - happens on edge), and the go ssh server on port 2222.

Connect to this using the command ssh <username>@localhost -p 2222

CF Stack used

  • Cloudflare Workers
  • Cloudflare LLM (Llama)
  • Cloudflare Durable Object (per room LLM Context/memory)
  • Cloudflare Sandboxes - worker can exec commands (optionally using the ai response) - works

Inspired by terminal.shop, I wanted to build SSH UIs. I’ve also been wanting to learn Go for a while, so I decided to build this project over a weekend to both learn Go and build something useful.

About

Run `ssh duet.jaypopat.me`

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages