Commands
These are the commands the munchfile binary exposes. Run munchfile --help any time to see the same list from the terminal.
munchfile login
Sign in with a magic link. We email you a link; clicking it signs you in on this machine.
munchfile loginmunchfile logout
Sign out of this machine. Your shared links keep working until munchfile is signed back in.
munchfile logoutmunchfile watch <path>
Start sharing a file or folder. Single-file watches print the live URL.
munchfile watch ./notes.mdFlags:
--public— anyone with the link can view; can appear on your public profile.--unlisted— anyone with the link can view; hidden from search.--private— only you can view (this is the default).--no-wait— don't wait to print the URL inline; useful in scripts.
munchfile watch ./blog-post.md --publicmunchfile unwatch <path>
Stop sharing. The link will stop working.
munchfile unwatch ./notes.mdmunchfile status
See what's currently shared from this machine, including each file's link and visibility.
munchfile statusmunchfile logs
Show recent MunchFile logs. Helpful when something isn't working and you want detail.
munchfile logsmunchfile start / stop
Manually start or stop the MunchFile background service. You usually don't need these — watch starts it for you.
munchfile start
munchfile stopmunchfile relink <link> <new-path>
Point an existing link at a moved file. Same URL, new location on disk.
munchfile relink https://munchfile.dev/abc123 ./moved/notes.mdmunchfile cleanup
Remove old links that point at files you no longer have. Walk through them interactively.
munchfile cleanupmunchfile profile
Manage your public profile page at munchfile.com/<your-username>.
munchfile profilemunchfile autostart
Make MunchFile start automatically when you log in. One command, survives reboots.
munchfile autostart