HNHacker News
TopNewBestAskShowJobs

leonardcser

42 karma · joined April 16, 2025

Software & ML, always building something new

github.com/leonardcser

submissionscomments
leonardcser··on Smelt: An open-source, Neovim-like coding agent in Rust and Lua
Author here, thanks! The selling point is really compiled performance, no runtime, <50mb binary and self contained.

You can use the following to move to prev/next prompt: Alt+Shift+Up/Down or [u and ]u or you can customize it:

smelt.keymap.set("", "<C-Up>", function() return smelt.transcript.move_block("u", { forward = false }) end, { desc = "previous user message" })

smelt.keymap.set("", "<C-Down>", function() return smelt.transcript.move_block("u", { forward = true }) end, { desc = "next user message" })

leonardcser··on Tcloc: Treemap Count Lines of Code
I like https://github.com/Byron/dua-cli for sizes
leonardcser··on No existing dev tool fits perfectly, so I built my own
Hey HN! I've been building custom dev tools with AI agents for the past year and finally wrote up the journey.

Would love to hear how others are approaching their workflows.

leonardcser··on OpenCode – Open source AI coding agent
already done, this is what I use now: https://github.com/leonardcser/agent
leonardcser··on Claude Code but faster: a Rust implementation
Thanks for the feedback. The main performance focus was rendering.

Claude Code and other TUIs (except Codex) use a layer of abstraction over the raw terminal escape sequences.

I directly used `crossterm`, which gave me more control and lower latency.

For example if nothing is going on, I don't render anything in the terminal. Or only render at keypress.

leonardcser··on Claude Code but faster: a Rust implementation
Hello HN

Claude Code is great, but I find it a bit laggy sometimes. I built a local alternative that's significantly more responsive with local models. Just wanted to share :)

leonardcser··on Show HN: Sweep, Open-weights 1.5B model for next-edit autocomplete
Hi, not that I know of. Most of the code would not change. It could easily be ported to different editors. The core is the go server (`server/`).
leonardcser··on Show HN: Sweep, Open-weights 1.5B model for next-edit autocomplete
Hi, I tried the model and I am super impressed by the performance/quality. Thanks for making this open source!

I am the author of this Neovim plugin for edit completions. I was able to integrate it with the Sweep Edit model.

For anyone who is interested: https://github.com/leonardcser/cursortab.nvim

leonardcser··on Show HN: Daf·thunk – open-source Editor for Prototyping Workflows on Cloudflare
Co-author here, happy to answer your questions!