Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/132ikl/tiny-file-grouper
A tiny HTTP server you can PUT files into groups and downlod a .tar.gz
https://github.com/132ikl/tiny-file-grouper
file-server http-server
Last synced: 13 days ago
JSON representation
A tiny HTTP server you can PUT files into groups and downlod a .tar.gz
- Host: GitHub
- URL: https://github.com/132ikl/tiny-file-grouper
- Owner: 132ikl
- License: mit
- Created: 2019-08-11T08:51:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-16T21:20:50.000Z (almost 5 years ago)
- Last Synced: 2024-11-02T11:42:27.403Z (2 months ago)
- Topics: file-server, http-server
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tiny-file-grouper
A simple HTTP server with digest auth that allows you to PUT files into groups. Then, you can download the group as gz compressed tar archive, which will also delete the group. tiny-file-grouper has digest authentication (credentials configurable at the top of server.py) no one can touch your groups.You can also use the `+` symbol to indicate adding a file to multiple groups.
Example:
curl -T file1.txt -c /dev/null --digest -u user:password http://localhost/group1/
curl -T file2.txt -c /dev/null --digest -u user:password http://localhost/group2/
curl -T file3.txt -c /dev/null --digest -u user:password http://localhost/group1+group2/
curl -o g1.tar.gz -c /dev/null --digest -u user:password http://localhost/download/group1The file test.tar.gz will all files added to the group previously. No traces of group1 will be left after this point, however group2 is still available.