tmpshare
is a tool to share files.
$ echo "Hello World" > hello-world
$ tmpshare add hello-world
D2A84F4B8B650937EC8F73CD8BE2C74ADD5A911BA64DF27458ED8229DA804A26
$ tmpshare list
D2A84F4B8B650937EC8F73CD8BE2C74ADD5A911BA64DF27458ED8229DA804A26: hello-world
$ tmpshare serve
Serving from http://127.0.0.1:8080
$ curl http://127.0.0.1:8080/get/D2A84F4B8B650937EC8F73CD8BE2C74ADD5A911BA64DF27458ED8229DA804A26
Hello World
tmpshare
is mostly developed during live codings by
Zoran Zaric on Twitch. It is archived on
YouTube
- 2018-04-01: Session 1 (setup, hashing, metadata)
- 2018-04-02: Session 2 (http server, more setup)
- 2018-04-06: Session 3 (error handling, refactoring, http file handling (
Content-Dispositon
-header)) - 2018-04-07: Session 4 (serde_json improvement, structopt, refactoring, list command)
- 2018-04-10: Session 5 (refactoring list, cleanup, 1.0.0 release)
- 2018-04-16: Session 6 (upspin route, failure crate, 1.0.1 release)
- 2018-04-22: Session 7 (adding and serving collections)