HNHacker News
TopNewBestAskShowJobs

_sinelaw_

154 karma · joined December 3, 2025

submissionscomments
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Sure, cargo install fresh-editor
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Check out the nostalgia theme, built in: https://raw.githubusercontent.com/sinelaw/fresh/refs/heads/m...
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
The npm distribution here is just the binary, you run npm install again and it upgrades to the latest binary. That's convenient
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
That (security ) is something I also worry about. I'd like to get off npm if only for this reason. It's a hack to get started.

The other thing it gives you is the ability to easily upgrade and uninstall so just a script to copy stuff is not on par.

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
I'll need to look into this, not sure what remapping does to the incoming key events.

Also I'm already working on a ui for customizing the key bindings so you could do whatever you wanted. (Currently managed by undocumented json)

Thanks for reporting!

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
I considered using mmap to help manage the caching but what if your file is hosted on S3 or whatever? (Something I'm planning to support eventually)

So I opted for explicit management of chunks, also gives me more control and consistent cross platform behavior.

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
No, but that's a good idea, I'll add that
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
I did it because not everybody has cargo installed. I'm using cargo-dist to create this npm package.
← PreviousPage 3 of 3