Midnight Captain – A midnight commander inspired file manager (github.com)

by duguyue100 37 comments 39 points
Read article View on HN

37 comments

[−] konmok 33d ago
I don't think the level of reliability necessary for a file manager is achievable with vibe coding. This is an area where small bugs can cause immediate and catastrophic data loss.

If you're shopping for a file manager, I recommend avoiding any project that incorporates a significant amount of LLM-generated code. Maybe in theory it could be reviewed as thoroughly as handwritten code; in practice that never happens.

[−] nprateem 33d ago
It's not the vibe coding, it's the lack of tests
[−] alex43578 33d ago
And I think human written tests at that. If the LLM is blind to the failure mode X, does it know to reliably write a test to evaluate the behavior of X?
[−] perbu 33d ago
wow. there are actually no tests here.
[−] perbu 33d ago
I think it is interesting that these pieces of software are now being inspired by Midnight Commander and are being built by people who never worked with or experiences the original, Norton Commander.
[−] duguyue100 33d ago
I have never known this part of the history while using Midnight Commander for so many years.
[−] muppetman 33d ago
“With opencode I can” closes tab
[−] vova_hn2 33d ago
Is anti-AI sentiment somehow exempt from the "shallow dismissals" rule?
[−] dinkumthinkum 33d ago
I was mildly excited clicking the link and then I saw that ... I guess this is the shape of things to come.
[−] duguyue100 33d ago
Author here. Haha, thanks for all the feedback! I don't even want to pretend this is production-ready. When I vibe-coded this, the only user I had in mind was me. And I have to live with the consequence of unreliability.

I recently found that writing personal software through a coding agent is a fairly interesting endeavour. It's like I'm paying to get the software I need in the form of tokens.

[−] manbash 33d ago
If you're shopping for a file manager, I'd recommend "yazi", which was a new, yet practical experience for me.
[−] eps 33d ago

> Inspired by Midnight Commander

Norton Commander.

Know and respect your elders.

[−] daoistmonk 33d ago
The AGENTS.md is hilarious! I like the caveman mode and classical mode seems.. interesting!
[−] begoon 31d ago
[−] nottorp 33d ago

> : opens a command prompt for power-user actions

Vibe coded or not, that's what puts me off from most nc/dn/mc reimplementations.

If you can't reach the command line by just typing the command, what's the point?

At least on this one you don't have to mouse click somewhere...

[−] alonsovm 33d ago
cool let me try it. and 'ill give you my feedback
[−] duguyue100 33d ago
Midnight Commander has always been my favorite terminal file manager. It's feature-rich, fast, and actually tries to be a file manager compared to modern alternatives. However, there are quite some features that I never used, and I couldn't configure a Vim bindings that works well for me.

With OpenCode, I can finally make my own terminal file manager. I borrowed the main design concepts from Midnight Commander and some behavior from NVim-Tree file explorer.

I hope you would like it, at least I do. Since this project is entirely vibe-coded, so I'm not going to accept PR from the community, but feel free to open issues and fork it.