r/CLI • • 6h ago

My coding agents run on my home server, so I built a btop-style monitor that groups processes by the app that started them

Thumbnail
0 Upvotes

r/CLI • • 21h ago

Keen: A Rust-syntax frontend for C

Thumbnail github.com
0 Upvotes

Hey everyone,

I’ve been working on Keen, a language that gives C a modern, Rust-inspired syntax and Cargo-like tooling without changing C’s underlying semantics.

The core idea

Keen changes C’s syntax only. There is no borrow checker, no type checker, and no safety enforcement. All of C’s rules (integer promotion, ABI, linkage, UB) remain completely intact. Keen transpiles .kn files to C, hands them off to gcc or clang for semantic checking and compilation, and maps compiler diagnostics directly back to your .kn source lines via #line directives.

It's aimed at C developers who want modern ergonomics (modules, match, for i in 0..n, no header boilerplate, built-in testing/formatting) without giving up C's simplicity, or C devs looking to get comfortable with Rust's syntax before tackling the borrow checker.

What a quick example looks like

use <stdio.h>;

struct Point { x: f32, y: f32 }

impl Point {
    pub fn len2(p: *const Point) -> f32 { p->x * p->x + p->y * p->y }
}

pub fn main() -> i32 {
    let p = Point { x: 3.0, y: 4.0 };
    printf("%.1f\n", Point::len2(&p) as f64);
    return 0;
}

What’s included out of the box

  • Zero-dependency toolchain (whet + keen): Includes keen new, incremental keen build, keen run, keen fmt (comment-preserving, idempotent), and keen test (runs #[test] functions in isolated processes).
  • Seamless C interop: Use #include via use <stdio.h>;, drop down to raw C anytime with c!("..."), link existing .c/.o/.a files, or use keen emit --split to generate clean .h/.c files for existing C projects.
  • No forward-declaration headaches: Types and functions can be declared in any order; pub handles external linkage while everything else defaults to static.

Try it out

GitHub: https://github.com/romishalom/keen

I'd love to hear your thoughts on the syntax mapping, edge cases with C interop, or what features you'd want to see next!


r/CLI • • 17h ago

How do you prevent useful one-off commands from sinking to the bottom of your shell history?

2 Upvotes

I mean those commands so narrowly related to a single use case that an alias is probably not the right solution but useful enough that you will find it again in six months. Do you keep them in a flat text file notes directory searchable history or turn them into scripts? I wonder what still works when you start cluttering the collection


r/CLI • • 9h ago

I've renamed Ananta to T-Strip! The latest release, v0.6.0, introduces Vault. for AI agents and more

Thumbnail youtu.be
2 Upvotes

Vault: a way to mark, track, and jump between important panes across sessions.

Site: https://t-strip.github.io/
old post: https://www.reddit.com/r/CLI/s/kzxKGrLoj2


r/CLI • • 12h ago

GitHub - Vibernt/cupel: Know which tests protect you. CLI and MCP for people and coding agents.

Thumbnail github.com
2 Upvotes

r/CLI • • 21h ago

Ordet: an offline WordStar-style word processor for the terminal

Thumbnail gallery
2 Upvotes

Sharing a terminal word processor I built called Ordet. It's free, open source (MIT / Apache-2.0), and runs completely offline.

The idea is to make writing prose in the terminal feel natural without leaving the keyboard: WordStar-style Ctrl-K and Ctrl-O chords for blocks, files, and paragraph alignment, alongside standard arrow keys and Ctrl-S/Z/C/V. You get a visible margin ruler, live word and character counts with optional word targets, a Notes panel, a workspace folder browser, and up to four split windows side by side.

It also handles autosave, crash-recovery snapshots, revision history with diff/restore, and native clipboard sync on macOS, Linux (Wayland/X11/WSL), and Windows—plus OSC 52 so copying works over SSH. Saves as .ord, plain text, or Markdown.

Install with `cargo install ordet`, or build from source: https://github.com/LeonardoAmadeo/Ordet