CLI?

The MuWire file sharing application
Post Reply
arowana
Posts: 29
Joined: 05 Sep 2018 20:55

CLI?

Post by arowana »

Are there CLI commands for muwire so that I can run it from a headless node?
arowana
Posts: 29
Joined: 05 Sep 2018 20:55

Re: CLI?

Post by arowana »

To answer my own questions.
It's properly documented right here: http://muwire.i2p/muwire-cli.txt
zlatinb

Re: CLI?

Post by zlatinb »

There is a new CLI available which has almost all the features of the GUI! You need to build from source https://github.com/zlatinb/muwire or wait for me to make periodic releases on Postman's tracker.
arowana
Posts: 29
Joined: 05 Sep 2018 20:55

Re: CLI?

Post by arowana »

Tried it. Looks interesting and it seems to be ncurses based? Saw some crashes. Will post traceback somewhere if it's of any use.

Any chance of making it scriptable as in:
./cli search *.iso and just have it output a list to stdout?
or
./cli download linux-latest.iso to fetch the iso and put it in a directory specified in the config, or in a directory specified in the command line?
zlatinb

Re: CLI?

Post by zlatinb »

The crashes should be gone with version 0.5.4 which is now available on http://muwire.i2p (but github is of course still ahead). If you saw crashes with that version please let me know.

I'm not going to be working on the older cli anymore, and making it script-able is not very straightforward - there needs to be a port open or a domain socket or such. If someone wants to contribute a patch I will accept it of course.
Post Reply