Skip to content
/ gone Public

Go Needful Expiry: an emphemeral file sharing service

License

Notifications You must be signed in to change notification settings

drduh/gone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important For experimental and development use only - not yet fit for production.

gone is an ephemeral file sharing service written in Go.

Features

  • 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

Development

To build and run the application on Linux:

make run

Binaries are built into a local release directory for distribution and installation.

Server

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.

Configuration

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

Client

Get default handler (heartbeat):

curl localhost:8080

Releases

No releases published