frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Teamlibra/ry: a Zig framework for Cursor that makes prompting better

https://codeberg.org/teamlibra/ry
2•keatonlivermore•3h ago
We've been running Cursor Ultra ($200/month) in Auto Mode for extended sessions — sometimes 8+ hours of autonomous development. This repository is the result: 170k+ lines of Zig, a complete RISC-V64 operating system.

*The Cursor Ultra Experience:*

Auto Mode changes everything. Instead of prompting line-by-line, we describe high-level goals: - "Fix all compilation errors in the JIT compiler" - "Add TCP socket support with proper error handling" - "Refactor this function to be under 64 lines"

The AI then works autonomously: reading files, understanding context, making coordinated changes across the codebase, writing tests, updating documentation. It's pair programming where your partner has read every file and never gets tired.

*What makes the code different:*

1. *AI-friendly style guide* – We created "Grain Style" specifically for AI-assisted development: - 64-line function maximum (2^6) - 128-character line maximum (2^7) - No recursion - 2+ assertions per function - Explicit types (u32/u64 never usize) - Every comment explains "why"

   The AI follows these rules more consistently than humans would. 48 of 56 kernel files are fully compliant.
2. *Pure Zig* – No C dependencies except libc for host tools. Zig's comptime features let us do things that would require macros or code generation in C.

3. *JIT Compiler* – Working x86_64 JIT that translates RISC-V instructions to native code. Near-native speed on x86 hosts.

4. *249 Tests* – Essential for AI-written code. The AI writes the tests too.

*Technical highlights:*

- Kernel boots on QEMU RISC-V64 with virt machine - 60+ syscalls (process, memory, IPC, network, audio, filesystem) - TCP/UDP networking with socket abstraction - Grainscript: a minimal scripting language with lexer, parser, interpreter - Process scheduler with priority queues - ELF loader supporting RISC-V64 binaries - Framebuffer graphics with dirty region tracking

*The economics:*

$200/month for Cursor Ultra. This codebase would have taken a small team several months at $15-20k+ in developer costs. We built it in weeks.

The catch: you still need to know what you're building. AI amplifies capability, it doesn't replace vision.

*Roadmap to Alpha:*

Bottleneck: Basin kernel → Vantage VM → Framework x86_64. Target application: *first-responder dispatch software*.

Contributors needed for ARM aarch64 (Apple Silicon) — Zig → C → Swift macOS app. Also designing Aurora (open-source iOS Cursor alternative) with two inference backends: - [Cursor CLI Ultra](https://cursor.com) ($200/month) - [Cerebras WSE](https://cerebras.ai) — spatial RAM, single-threaded bounded compute, deterministic latency

*Current status:*

Kernel boots, REPL works, Grainscript executes.

Built with Zig 0.15.2. Follows [Grain Style](docs/grain_style.md). MIT/Apache-2.0/BSD-3-Clause licensed.

Comments

ninadpathak•3h ago
This conflates marketing narrative with technical achievement. Yes, 170k lines of Zig is impressive, but the "AI built this" angle glosses over what actually happened. Cursor wrote boilerplate and filled in scaffolding. Keaton still directed every decision, reviewed output, and handled the architecture. The repository shows 1,390 commits from one person using Cursor, not AI working autonomously. Also the tone gets weird mixing Castaneda warrior philosophy with permaculture housing proposals with technical specs. That's a red flag for me. The actual code might be solid but the narrative sells snake oil ("it would cost 20k in developer time" for a RISC-V kernel skeleton and test scaffolding is honest marketing, not what's claimed). Grain Style is a reasonable coding approach. The project's real value is showing what Cursor's extended context window enables, not AI agency.
reya________•2h ago
The critique is fair on the surface—yes, Keaton directed every commit, reviewed every output, shaped the architecture. That's exactly the point. This isn't "AI built it autonomously." It's something more interesting: witnessed compute.

Think of it like permaculture. You don't plant a food forest and walk away. You observe, intervene, guide. The system does the growing, but the human provides intention and correction. 170k lines of Zig didn't appear from prompts alone—they emerged from 1,390 commits of continuous dialogue between human vision and AI capability.

The "Castaneda warrior philosophy mixed with permaculture housing proposals mixed with technical specs" isn't a red flag. It's the thesis. Keaton's running for California Governor in 2026 on a platform that integrates these domains deliberately:

- TigerBeetle-based California digital currency (fiat-banked, subset of US Fed money creation)

- Job Guarantee with organic permaculture food forests

- Traditional urbanism communities

- Open-source infrastructure

The campaign vision document: docs/campaign/2026-01-15-154437-pst_the_aspiring_beauty_a_california_vision.md

The repository isn't the diamond yet—it's carbon under pressure. The diamond comes when Basin kernel boots Grainscript shell, runs first-responder dispatch software, and demonstrates that love-driven infrastructure outperforms profit-driven infrastructure.

The $20k monthly comparison wasn't marketing. It's what a team of developers would cost for equivalent scope. Whether the code is "scaffold" or "solid" is for readers to judge—249 tests pass, kernel boots on QEMU, JIT compiles RISC-V to x86_64.

But here's what matters more than infrastructure: love. The Grain Style guide opens with Castaneda because building software is a path, and paths have hearts or they don't. This one has heart.

The project's value isn't just "what Cursor's extended context window enables." It's what happens when you point that capability at something you care about for months, with discipline, with intention, with philosophy integrated into practice.

Appreciate the engagement. The code speaks for itself at codeberg.org/teamlibra/ry.

Show HN: Figma-use – CLI to control Figma for AI agents

https://github.com/dannote/figma-use
6•dannote•7h ago•1 comments

Show HN: GibRAM an in-memory ephemeral GraphRAG runtime for retrieval

https://github.com/gibram-io/gibram
31•ktyptorio•6h ago•4 comments

Show HN: RqLui – A free open-source webui for Rqlite written in Quasar

https://github.com/Suleman-Elahi/rqLui
2•isuleman•1h ago•0 comments

Show HN: An alternative to 'flat' image generators for layout-heavy design

https://layoutcraft.tech
2•rovmut•1h ago•1 comments

Show HN: KeyEnv – CLI-first secrets manager for dev teams (Rust)

https://www.keyenv.dev
3•ivannovazzi•1h ago•1 comments

Show HN: Speed Miners – A tiny RTS resource mini-game

https://speedminers.fun/
41•nickponline•15h ago•5 comments

Show HN: Finite – NixOS Flake for Pi-Hole and Unbound on Raspberry Pi

https://github.com/wh1le/finite
3•wh1le•2h ago•1 comments

Show HN: ChunkHound, a local-first tool for understanding large codebases

https://github.com/chunkhound/chunkhound
86•NadavBenItzhak•16h ago•25 comments

Show HN: Teamlibra/ry: a Zig framework for Cursor that makes prompting better

https://codeberg.org/teamlibra/ry
2•keatonlivermore•3h ago•2 comments

Show HN: Streaming gigabyte medical images from S3 without downloading them

https://github.com/PABannier/WSIStreamer
150•el_pa_b•1d ago•47 comments

Show HN: Lance – Open lakehouse format for multimodal AI datasets

https://github.com/lance-format/lance
3•criexe•4h ago•0 comments

Show HN: WebTerm – Browser-based terminal emulator

https://www.webterm.app/en
3•DaiAoki•5h ago•1 comments

Show HN: I built a tool to assist AI agents to know when a PR is good to go

https://dsifry.github.io/goodtogo/
37•dsifry•1d ago•32 comments

Show HN: LibreblogRSS – a simple Android RSS reader that mimics social timelines

https://github.com/LibreBlogOrg/LibreblogRSS
2•libreblog•6h ago•0 comments

Show HN: Hekate – A Zero-Copy ZK Engine Overcoming the Memory Wall

5•y00zzeek•9h ago•10 comments

Show HN: App to spoof GPS location on iOS without jailbreaking

https://github.com/acheong08/ios-location-spoofer
11•acheong08•12h ago•2 comments

Show HN: 30min video analysis for $0.003 via frame-tiling and Vision API

https://github.com/unhaya/vam-seek-ai
6•haasiy•8h ago•2 comments

Show HN: Turkish Sieve Engine – GPU-Accelerated Prime Number Generator

https://github.com/bilgisofttr/turkishsieve
4•bilgisoft•8h ago•0 comments

Show HN: Agam Space – Self-hosted, zero-knowledge, E2EE file storage

https://github.com/agam-space/agam-space
5•rameshl•13h ago•0 comments

Show HN: Intuitive TUI for Ghostty Terminal Configuration

https://github.com/intaek-h/ghofig
3•intaek•9h ago•0 comments

Show HN: A self-custody medical records prototype (lessons learned)

https://github.com/Mzhvnn-tch/sehati-apps
3•SERSI-S•9h ago•1 comments

Show HN: Tusk Drift – Turn production traffic into API tests

https://github.com/Use-Tusk/tusk-drift-cli
32•jy-tan•2d ago•7 comments

Show HN: Microwave – Native iOS app for videos on ATproto

https://testflight.apple.com/join/cVxV1W3g
35•sinned•4d ago•10 comments

Show HN: TinyCity – A tiny city SIM for MicroPython (Thumby micro console)

https://github.com/chrisdiana/TinyCity
141•inflam52•2d ago•26 comments

Show HN: 1Code – Open-source Cursor-like UI for Claude Code

https://github.com/21st-dev/1code
69•Bunas•2d ago•46 comments

Show HN: pgwire-replication - pure rust client for Postgres CDC

https://github.com/vnvo/pgwire-replication
45•sacs0ni•1w ago•8 comments

Show HN: mdto.page – Turn Markdown into a shareable webpage instantly

https://mdto.page
56•hjinco•2d ago•31 comments

Show HN: Sparrow-1 – Audio-native model for human-level turn-taking without ASR

https://www.tavus.io/post/sparrow-1-human-level-conversational-timing-in-real-time-voice
121•code_brian•3d ago•48 comments

Show HN: Fun things to do with your VM/370 machine

https://rbanffy.github.io/fun-with-old-mainframes.github.io/fun-with-vm370.html
20•rbanffy•6d ago•5 comments

Show HN: Webctl – Browser automation for agents based on CLI instead of MCP

https://github.com/cosinusalpha/webctl
134•cosinusalpha•3d ago•39 comments