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:

GitHub theWebalyst/safe-cli-boilerplate SAFE Network command line application (CLI) boilerplate example - theWebalyst/safe-cli-boilerplate

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.

I’ve had help from several here with both code and testing, so many thanks to @bzee, @davidpbrown @southside @draw and @hunterlester.