4 releases (2 stable)
Uses old Rust 2015
1.0.1 | Apr 16, 2018 |
---|---|
1.0.0 | Apr 10, 2018 |
0.2.0 | Apr 6, 2018 |
0.1.0 | Apr 2, 2018 |
#1076 in HTTP server
17KB
352 lines
tmpshare
tmpshare
is a tool to share files.
Usage
$ 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
Development
tmpshare
is mostly developed during live coding sessions by
Zoran Zaric on Twitch. It is archived on
YouTube
- 2018-04-01: First session (setup, hashing, metadata)
- 2018-04-02: Second session (http server, more setup)
- 2018-04-06: Third session (error handling, refactoring, http file handling (
Content-Dispositon
-header)) - 2018-04-07: Fourth session (serde_json improvement, structopt, refactoring, list command)
- 2018-04-10: Fifth session (refactoring list, cleanup, 1.0.0 release)
Dependencies
~20–32MB
~605K SLoC