Xyphen's official fileshare utility; Now open-source!
- Go 97%
- Makefile 3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo/workflows | ||
| src | ||
| .gitignore | ||
| example.env | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| SECURITY.md | ||
Xyphen Fileshare
Welcome! This is the official repository for the software behind https://xyphen.org/fileshare
Note
This software is highly experimental. It is developed in my free time, not full-time. Please refer to SECURITY.md for any security-related inquiries or concerns. You are responsible for your own instance; I am not held liable if an instance is hosting malicious content.
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!
- Also ensure you populate the
- 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"}