Factom-storage is a simple proof of concept to store and retrieve complete files in the Factom blockchain. That said having a blockchain storage at a fixed rate (not dependending on fluctuation of the market) is not that a crazy idea and can have some actual utility.
Please checkout doc folder for technical details on how your documents are safely uploaded.
sudo npm install -g factom-storage
factom-storage upload [options] <file> <EC address
# If you provide a public EC address for payment factom-storage will attempt to retrieve the private key from a local walletd running on port 8089factom-storage upload -s '18.104.22.168:8088' -m "My pic!" ./my_picture.jpg EC2vXWYkAPduo3oo2tPuzA44Tm7W6Cj7SeBr3fBnzswbG5rrkSTD# If you provide directly a private EC address the tool doesn't need access to walletdfactom-storage upload -s '22.214.171.124:8088' -m "My pic!" ./my_picture.jpg Es32PjobTxPTd73dohEFRegMFRLv3X5WZ4FXEwNN8kE2pMDfeMyk
Usage: factom-storage download <chain ID of the file>Download a file stored with Factom storageOptions:-s, --socket <socket> IPAddress:port of factomd API-h, --help output usage information
factom-storage download -s '126.96.36.199:8088' e1e1a5cbfb153d92bfd0db4dcd7bf2cfcdb52e4d3bb05beada8c9e70536a455e