Xyphen's official fileshare utility; Now open-source!
- Go 100%
| .gitignore | ||
| example.env | ||
| go.mod | ||
| go.sum | ||
| handlers.go | ||
| janitor.go | ||
| limiter.go | ||
| main.go | ||
| README.md | ||
| storage.go | ||
Xyphen Fileshare
Welcome! This is the official repository for the software behind https://xyphen.org/fileshare
Caution
THIS SOFTWARE IS HEAVILY UNFINISHED. I do ask for your help, so please email me if you find any issues @ spvce@proton.me. You may optionally message me on Matrix (@spvce:xyphen.org), or Signal (spvce.80)
How to Install
- Grab the latest binary from the "Releases" tab, and grab
example.envfrom the tree above. Make sure you rename it to .env, and it's in the same directory as the binary.
Also ensure you populate the
.envfile with ACTUAL data!
- Once your configuration file is completely filled out, you can then run the application, and boom.
- A web interface is not intertwined with the application. You must form your own application, or just use cURL.
To test your instance is set up properly, run this:
echo "Testing" | curl -X POST -F "file=@-;filename=test.txt" -F "duration=24h" http://localhost:8080/api/upload
(Replace localhost:8080 with your domain)
It should return something similar to the following:
{"expires_at":"2026-06-25T22:35:00+01:00","hash":"27effbf6a...","url":"http://localhost:8080/f/ff51e3....txt"}