SAFE CLI Boilerplate is an easy way to make cross-platform command line SAFE apps for Windows, Linux and Mac OS. These are not ‘headless’ apps, but will auth with SAFE Browser or Peruse just like a desktop app such as the Web Hosting Manager.
Tested on Linux and Windows, but not yet Mac OS, so if anybody is willing to test this on Mac OS please get in touch.
Full instructions here:
Coders: if you build anything with this, anything at all, please feel free to let us know on this topic. I’m excited to see what people build with this, and of course have a plan myself
Everyone: feel free to suggest command line stuff you’d like somebody to build, or any features you’d like added to safe-cli-boilerplate. Personally I’d like somebody to make an authentication module in NodeJS so we could build headless apps with this.
Debugging: I haven’t tried this yet, but think it is possible to use a proper debug console with this (like in the browser). See: Debugging Node.js with Chrome DevTools
Problems & Bugs: if you try this and have problems, please either file an issue in the github repo, or ask for help on the dev forum here.
You are prolific these days Mark ! Thank you very much for all that great work. I will for sure be one adopter for cli safe applications. Raspberry for remote stuff come in mind.
My Raspberry has no head, and I like it that way. But beggars can’t be choosers. This is doubtless a base that headless apps can be built from and I’m very happy that it exists.
It could be, but doesn’t have to be and I’m not expecting Maidsafe to implement this anytime soon as it isn’t essential. It is also better to do most authentication stuff through a single UI (SAFE Browser) for most users, and anything else is much more niche. So much less a priority for them I think.
Thank you for saying so. I really appreciate it and will let it go to my head
… especially as not everybody agrees. But yes I am, we all are in our particular way, whether anyone else agrees or not. But yes, I still enjoy praise, as well as find it useful feedback - so alternative views are also allowed and listened to.
Thanks again, and great to hear you have more articles in you @goindeep. Good luck with them.