Artistore
A simple artifact store server.
Usage
1. Generate server secret
$ export ARTISTORE_SECRET=$(artistore secret)
2. Start server
$ artistore serve --store ./path/to/storage
3. Publish your artifact
$ artistore publish prefix/filename.txt
or
$ export ARTISTORE_TOKEN=$(artistore token prefix/)
$ curl -H "Authorization: bearer ${ARTISTORE_TOKEN}" --data-binary '@file.txt' http://localhost:3000/prefix/filename.txt
4. Download and use your artifact
$ artistore get prefix/filename.txt
or
$ curl -L https://localhost:3000/prefix/filename.txt