mobydeck

mobydeck / atch

Public

atch lets you attach and detach terminal sessions

21
0
100% credibility
Found Mar 04, 2026 at 21 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
C
AI Summary

atch is a lightweight terminal utility that allows users to attach to and detach from running programs while preserving full output history on disk across disconnects, crashes, and reboots.

How It Works

1
📖 Discover atch

You hear about atch, a simple way to pause long-running tasks in your terminal and pick them up later without losing any output.

2
🛠️ Set it up

You quickly add atch to your computer so it's ready to use.

3
🚀 Start a named session

You give your task a name and launch it inside atch, feeling safe knowing it will keep running.

4
⏸️ Detach safely

While your task runs, you press a special key to step away, and it keeps going undisturbed in the background.

5
🔄 Reattach anytime

Later, even after closing your terminal or restarting your computer, you reconnect to your named task.

6
👀 Catch up on history

You see every bit of output that happened while you were away, right up to the current moment.

7
📋 Manage your sessions

You easily list, send input to, or stop sessions as needed.

🎉 Work flows perfectly

Your tasks stay safe and resumable forever, making long jobs stress-free.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 21 to 21 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is atch?

Atch is a tiny C utility that lets you attach and detach terminal sessions, much like screen or tmux detach, but strips away all terminal emulation for zero overhead. Run a command or shell in a named session via `atch new mysession make -j8`, detach with Ctrl-\, and reattach later—even after reboots—with full output history replayed from disk. Everything passes through transparently: mouse events, scrolling, true colors, and graphics protocols work identically inside or outside sessions.

Why is it gaining traction?

Unlike tmux or screen, atch interposes nothing between your program and terminal—no re-encoding escape sequences or terminfo tweaks needed—so mouse, kitty graphics, and alternate buffers just work without config. Persistent logs survive crashes, exits, or reboots, replaying every byte on reattach, while an in-memory ring handles suspend/resume instantly. Commands like `atch list`, `push`, `kill`, and `clear` keep it scriptable and lightweight at under 100KB compiled.

Who should use this?

SSH users detaching long builds or servers, sysadmins managing remote jobs across reconnects, or embedded devs needing auditable session tools without bloat. Ideal for anyone tired of tmux mouse fights or screen history loss on reboot—pairs well with scripts pushing input via `atch push`.

Verdict

Grab atch if you want transparent session detach/attach in C; docs are solid with examples and man-page gen. With 19 stars and 1.0% credibility score, it's early-stage but promising—build and audit it yourself for production detachment needs.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.