HackerTrans
TopNewTrendsCommentsPastAskShowJobs

triyanox

no profile record

Submissions

[untitled]

1 points·by triyanox·il y a 2 mois·0 comments

Show HN: I made an ls alternative for my personal use

github.com
197 points·by triyanox·il y a 2 ans·154 comments

A lightweight and extensible ls alternative [Tools]

github.com
2 points·by triyanox·il y a 2 ans·1 comments

comments

triyanox
·il y a 2 ans·discuss
On the latest release the it can list a tree of 100 in depth with over 100k files in less than 100ms and if cached 40ms
triyanox
·il y a 2 ans·discuss
Will definitely prioritize optimization in the next releases. Planning to benchmark against ls on various systems and file counts to get this properly sorted.
triyanox
·il y a 2 ans·discuss
Fair critique about the documentation - this needs proper attention. Writing a man page first is a solid approach - it forces clear thinking about the interface before implementation. I'll prioritize adding complete documentation for all options and the plugin system. The code works, but without good docs it's not truly useful.
triyanox
·il y a 2 ans·discuss
Thanks for the great list! Yep, eza and g are fantastic - I actually use eza daily and love how g handles git integration. What made me excited to experiment with lla was playing with the plugin architecture. While these other tools have great built-in features, I wanted to see if I could make something where the community could easily add their own capabilities without touching the core code. Kind of like how vim and neovim handle plugins. Got inspired by how people keep building these ls alternatives to scratch their own unique itches. Figured why not make it easier for everyone to scratch their own itch through plugins? Still very much an experiment, but it's been fun seeing what's possible!
triyanox
·il y a 2 ans·discuss
Thanks @benrutter! You nailed it - ls is like the "Hello World" of system tools. Simple enough that you won't tear your hair out, but meaty enough to learn a ton. Started with "ooh, pretty colors!" and before I knew it I was deep in filesystem APIs and terminal wizardry. Way less scary than tackling grep. Sometimes the best projects are the ones where you can't mess up too badly... well, unless you accidentally delete everything while testing
triyanox
·il y a 2 ans·discuss
That's the amazing part I'm talking about the learning experience you get from weeks of working on something like that is better than reading countless documentations
triyanox
·il y a 2 ans·discuss
Haha! Aren't all rust rewrites about colors take `bat` for example! Btw "!!" are from the git plugin, a quick way to see my workspace git status
triyanox
·il y a 2 ans·discuss
Great idea! I will be working on it!
triyanox
·il y a 2 ans·discuss
Thanks for all the feedback! Let me clarify a few things about lla. The most amazing part of this project wasn't just building another ls alternative - it was the incredible learning journey. Building a systems tool in Rust while implementing a plugin architecture taught me more in a few weeks than months of reading could have. Yes, it does more than traditional ls, and that's intentional. The plugin system came from scratching my own itch of constantly switching between different terminal tools. Each feature added was a chance to dive deeper into systems programming and Unix internals. The performance still needs work, and the documentation could be better. But that's the beauty of open source - you ship it, learn from the feedback, and keep improving. Building in public is an incredible way to level up your skills. For anyone considering a similar project: pick a common tool you use daily and try reimagining it. You'll be surprised how much you learn along the way.