Files
ephemerup/README.md

21 lines
697 B
Markdown
Raw Normal View History

2023-02-14 19:22:51 +01:00
# up
Simple standalone file upload server with api and cli
2023-02-17 13:22:29 +01:00
## TODO
- decouple db and http code in Runserver()
- store ts
- implement goroutine to expire after 1d, 10m etc
- use bolt db to retrieve list of items to expire
- return a meaningful message if a file has expired, not just a 404,
that is: do remove the file when it expires but not the associated
db entry.
- also serve a html upload page
- add auth options (access key, users, roles, oauth2)
- add metrics
- add upctl command to remove a file
2023-02-22 20:28:10 +01:00
- upd: add short uuid to files, in case multiple files with the same
name are being uploaded
2023-02-24 12:16:03 +01:00
- use global map of api endpoints like /file/get/ etc
- use separate group for /file/