u/Bravo_Oscar_Zulu

▲ 5 r/GithubCopilot+2 crossposts

Kept losing sessions when my terminal died or I switched networks. /resume usually works but sometimes you lose hours of context.

0pty is a simple daemon that runs on a dev machine/server and holds the PTY open permanently. The client is just a byte pipe: your terminal does all the rendering. Close the window, reboot your laptop, switch networks reconnect with "0pty connect" and pick up exactly where you left off.

Bonus: multiple terminals can connect to the same session simultaneously. I've had vscode, windows terminal and termux on my phone all live in the same Claude Code session at once.

To me it works better than claude remote control.

Dependency-free C, MIT licensed.

u/Bravo_Oscar_Zulu — 8 days ago

small tool that keeps gemini alive if your terminal crashes & lets you code on your phone

Kept losing sessions when my terminal died or I switched networks. /resume usually works but sometimes you lose hours of context.

0pty is a simple daemon that runs on your dev box and holds the PTY open permanently. The client is just a byte pipe: your terminal does all the rendering. Close the window, reboot your laptop, switch networks reconnect with "0pty connect" and pick up exactly where you left off.

Bonus: multiple terminals can connect to the same session simultaneously. I've had vscode, windows terminal and termux on my phone all live in the same gemini session at once.

Dependency-free C, MIT licensed.

https://github.com/dev-boz/0pty

reddit.com
u/Bravo_Oscar_Zulu — 8 days ago

got me thinking of how to compress text losslessly and without conversion overhead.

&thn it hit me, wht if we jst wrt lyk we ust 2 bk whn txt was $ per chrctr. i dnt knw abt u gyz but 4 me it rlly isnt tht hrd 2 read&wrt ths way vs nrml. so i had a bit of a bak&4th wth clwd &cme up wth a basic spec

key idea is no lss of ntent & no xtra thnkng by th llm bcus its in th training data. can use a simpl llm 2 convrt if u wnt-or jst typ it-not tht hrd

neway hav a look&tell me wht u thnk. try tlking 2 ur llm ths way & c if they can undrstnd u?

EDIT: turns out llms dont understand their own token use. dumb idea sorry

reddit.com
u/Bravo_Oscar_Zulu — 15 days ago