Important For experimental and development use only - not yet fit for production.
gone is an ephemeral file sharing service written in Go.
- Upload, download and list files
- File expiration (removal) after downloads or duration of time
- JSON-based configuration, logging and server responses
- Token (string-based) authentication
- Request rate-limiting
- No third-party dependencies
To build and run the application on Linux:
make run
Binaries are built into a local release
directory for distribution and installation.
Output is structured in JSON format and can be easily parsed with jq
for convenience, for example:
gone | jq .data
The optional -debug
flag can be used for additional verbose program output.
gone uses an embedded JSON-based configuration config/defaultSettings.json as default settings.
Copy the JSON file and use the -config
flag to override options:
gone -config=mySettings.json
Get default handler (heartbeat):
curl localhost:8080