frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: SelenAI – Terminal AI pair-programmer with sandboxed Lua tools

https://github.com/Almclean/selenai
3•moridin•9h ago
I’ve been building a terminal-first AI pair-programmer that tries to make every tool call transparent and auditable. It’s a Rust app with a Ratatui UI split into three panes (chat, tool activity, input). The agent loop streams LLM output, queues write-capable Lua scripts for manual approval, and records every run as JSONL logs under .selenai/logs.

Key bits:

Single tool, real guardrails – the LLM only gets a sandboxed Lua VM with explicit helpers (rust.read_file, rust.list_dir, rust.http_request, gated rust.write_file, etc.). Writes stay disabled unless you opt in and then approve each script via /tool run.

Transparent workflow – the chat pane shows the conversation, tool pane shows every invocation + result, and streaming keeps everything responsive. CTRL shortcuts for scrolling, clearing logs, copy mode, etc., so it feels like a normal TUI app.

Pluggable LLMs – there’s a stub client for offline hacking and an OpenAI streaming client behind a trait. Adding more providers should just be another module under src/llm/.

Session history – every exit writes a timestamped log directory with full transcript, tool log, and metadata about whether Lua writes were allowed. Makes demoing, debugging, and sharing repros way easier.

Lua ergonomics – plain io.* APIs and a tiny require("rust") module, so the model can write idiomatic scripts without shelling out. There’s even a /lua command if you want to run a snippet manually.

Repo (MIT): https://github.com/Almclean/selenai

Would love feedback on:

Other providers or local models you’d like to see behind the LLM trait. Additional sandbox helpers that feel safe but unlock useful workflows. Ideas for replaying those saved sessions (web viewer? CLI diff?). If you try it, cargo run, type, and you’ll see the ASCII banner + chat panes. Hit me with issues or PRs—there’s a CONTRIBUTING.md in the works and plenty of roadmap items (log viewer, theming, Lua helper packs) if you’re interested.

Show HN: Unflip – a puzzle game about XOR patterns of squares

https://unflipgame.com/
121•bogdanoff_2•4d ago•31 comments

Show HN: ChronoGuard–Zero-trust proxy for browser automation with temporal ctrls

https://github.com/j-raghavan/ChronoGuard
2•j-raghavan•3h ago•0 comments

Show HN: High-Performance .NET Bindings for the Vello Sparse Strips CPU Renderer

https://github.com/wieslawsoltes/SparseStrips
12•wiso•4d ago•3 comments

Show HN: Smooth window arrangement in macOS restored

https://github.com/ranvel/SmoothMove
2•ranvel•4h ago•0 comments

Show HN: Tiny Diffusion – A character-level text diffusion model from scratch

https://github.com/nathan-barry/tiny-diffusion
160•nathan-barry•5d ago•19 comments

Show HN: Encore – Type-safe back end framework that generates infra from code

https://github.com/encoredev/encore
74•andout_•1d ago•47 comments

Show HN: SelenAI – Terminal AI pair-programmer with sandboxed Lua tools

https://github.com/Almclean/selenai
3•moridin•9h ago•0 comments

Show HN: DBOS Java – Postgres-Backed Durable Workflows

https://github.com/dbos-inc/dbos-transact-java
110•KraftyOne•2d ago•57 comments

Show HN: Epstein Files Organized and Searchable

https://searchepsteinfiles.com/
305•searchepstein•1d ago•53 comments

Show HN: Pdsink – A new USB-PD 3.2 sink stack for embedded devices

https://github.com/pdsink/pdsink
4•pu•12h ago•1 comments

Show HN: Socratic, a knowledge-base builder for agents where YOU stay in control

https://github.com/kevins981/Socratic
2•kevinsong981•13h ago•2 comments

Show HN: ZenPaint, a pixel-perfect MacPaint recreation for the browser

https://zenpaint.org/
13•allthreespies•13h ago•5 comments

Show HN: Chirp – Local Windows dictation with ParakeetV3 no executable required

https://github.com/Whamp/chirp
31•whamp•1d ago•18 comments

Show HN: Cj–tiny no-deps JIT in C for x86-64 and ARM64

https://github.com/hellerve-pl-experiments/cj
21•hellerve•1w ago•1 comments

Show HN: AI Domain Data Standard – Self-Hosted, DNS-Based Identity for AI

https://github.com/ai-domain-data/spec
2•dylanl37•14h ago•0 comments

Show HN: An Apache Beam batch processing clone in Rust

https://github.com/nhubbard/ironbeam
3•nhubbard•14h ago•0 comments

Show HN: UnisonDB – B+Tree DB with sub-second replication to 100+ nodes

https://github.com/ankur-anand/unisondb
14•ankuranand•1d ago•1 comments

Show HN: Keepr – A Secure and Offline Open Source CLI Password Manager

11•bsamarji•1d ago•13 comments

Show HN: An easy-to-use online curve fitting tool

https://byx2000.github.io/curve-fit/
35•byx•1w ago•13 comments

Show HN: DeepClause – A Neurosymbolic AI System Built on WASM and Prolog

https://github.com/deepclause/deepclause-desktop
2•schmuhblaster•19h ago•0 comments

Show HN: I built IncidentPulse after getting paged at 3 AM

https://incident-pulse.vercel.app
5•bhoyee•19h ago•1 comments

Show HN: Dumbass Business Ideas

https://dumbassideas.com
38•elysionmind•1d ago•30 comments

Show HN: RAG-chunk – A CLI to test RAG chunking strategies

https://github.com/messkan/rag-chunk
5•messkan•20h ago•3 comments

Show HN: Cactoide – Federated RSVP Platform

https://cactoide.org/
67•orbanlevi•4d ago•30 comments

Show HN: Gerbil – an open source desktop app for running LLMs locally

https://github.com/lone-cloud/gerbil
36•lone-cloud•4d ago•12 comments

Show HN: Cancer diagnosis makes for an interesting RL environment for LLMs

45•dchu17•3d ago•20 comments

Show HN: spymux – Spy on your tmux panes

https://github.com/terror/spymux
9•crap•1d ago•4 comments

Show HN: What if MCP agents were JIT compiled to code?

https://github.com/stanford-mast/a1
4•ardmiller•1d ago•0 comments

Show HN: European tech news in 6 languages

https://europedigital.cloud/en/news
44•Merinov•1d ago•42 comments

Show HN: Tusk Drift – Open-source tool for automating API tests

https://github.com/Use-Tusk/drift-node-sdk
56•Marceltan•4d ago•17 comments