4 ms·
There are already transfer.sh [1] and other established projects (which I can’t recall right now) that serve this purpose. With more fine-grained control too. A
by oefrha 7y ago
There are already transfer.sh [1] and other established projects (which I can’t recall right now) that serve this purpose. With more fine-grained control too. A golang compiled executable is also arguably more lightweight than a php app, whether the feature set/code is simpler or not.
[1] https://github.com/dutchcoders/transfer.sh/ https://github.com/dutchcoders/transfer.sh/
Edit: Since more than one person has replied with non-self-hosted solutions, I should note that transfer.sh can be self-hosted, although you can also use the website itself.
- nathancahill 7y agohttps://bashupload.com/ https://bashupload.com/
- oefrha 7y agoThat’s not self-hosted.
- Pako 7y agohttps://0x0.st https://0x0.st
- app4soft 7y agoYeah, this & https://transfer.sh https://transfer.sh are my choice for a long time.
- nikosch86 7y agoThe goal was a minimum viable implementation of a file sharing service that can be self hosted. Simplicity to this extreme serves many purposes, it is easy to understand and debug, has less attack surface, less dependencies and is small (in terms of lines of Code, less than 100, and size, less than 50K). If one needs more features or more control, there are certainly many options out there, I created this not to compete with other projects but to provide a super simple solution to a specific problem.
- Pako 7y agoI like the idea of a really small MVP; I might give this a try later in Prolog to see how they compare.
- Pako 7y agoDefinitely not as concise as your PHP impl but meh https://gist.github.com/MagnificentPako/b67b081d5cac0d0185efd52c4a20a595 https://gist.github.com/MagnificentPako/b67b081d5cac0d0185ef...
- cpv 7y agoThere is also Mozilla's Send.firefox.com, which could be self-hosted https://github.com/mozilla/send https://github.com/mozilla/send