r/foss • • 10h ago

eznfs: A Python CLI app to simplify connecting to and managing NFS shares

I started working on a tool to fix something I found kind of annoying when connecting to NFS and network shares on Linux: editing the fstab file. A lot of the time, it requires memorizing a bunch of different directives and carefully placing commas just to make sure your share is able to mount without potentially crashing the whole system on boot.

So I made eznfs, a Python CLI app. It has a guided wizard interface by default for those who want to add an NFS share step-by-step or CLI arguments for those who want to script this setup with less interactivity needed. Besides easily connecting to network shares on your system, the ability to edit and remove shares from the fstab file is also available. When it comes to UI, it has some polish, using the Rich library to help format and print the output as Unicode-styled tables and provide color coding for things such as the TCP latency shown in the list argument.

The scaffolding for the code is being AI-assisted, but I am deep in the weeds of technical design and looking at the code just as much as the AI, so I wrote an AGENTS.md file which serves as a map of the Python code and a log for all technical decisions; it is intended to be read by both human developers and AI agents to get a quick idea of what to grep to change things. I just got version v1.0.0 uploaded to pip; feel free to try it with pipx install eznfs and give some feedback. The code is available at: github.com/MARKMENTAL/eznfs.

1 Upvotes

0 comments sorted by