38 lines
991 B
Markdown
38 lines
991 B
Markdown
# Uncensored Send
|
|
|
|
A small self-hosted file drop. Uploads land in a flat data directory, expire on
|
|
their own, and are served back as inert attachments.
|
|
|
|
Built for sharing large binaries with friends so that I don't have to manually manage the `tmp` folder on my generic web server.
|
|
|
|
* One static Go binary, standard library only.
|
|
* Anyone who can reach the page may upload, within a size cap and a lifetime.
|
|
* Named tokens raise those limits, unlock custom URLs, and can grant admin.
|
|
|
|
## Quickstart
|
|
|
|
```
|
|
go build
|
|
./send token add me --vanity --admin
|
|
./send
|
|
```
|
|
|
|
Open <http://localhost:8080>, click **Log in**, paste the token. That's it.
|
|
|
|
When you put it behind a reverse proxy that terminates TLS, set `--public-url`,
|
|
and make sure the proxy neither buffers request bodies nor imposes its own
|
|
upload limit.
|
|
|
|
## Options
|
|
|
|
**Read `./send --help` rather than this file.**
|
|
|
|
Every option also reads from `SEND_`-prefixed environment variables.
|
|
|
|
## Development
|
|
|
|
```
|
|
go test ./...
|
|
go vet ./...
|
|
```
|