Hi. I did an uguu replacement on Crystal. Is pretty straight forward. A simple server where you can upload any media temporarily or permanently (depending on server configuration).
It supports:
- Random filenames with custom length
- Files can be retrieved with or without the extension
- Unix sockets (Although I need to fix the socket permissions in some way or NGINX or any other reverse proxy is not able to access to the server)
- Deletion link
Special thanks to:
- The invidious codebase
- All the discussion in the “Is this a good way to generate a random string?” forum post
- zw963 for creating GitHub - crystal-china/base58.cr: Generate random strings with Base58 alphabet, with better performance. based on the forum discussion mentioned above
- The awesome crystal documentation (I really like it)
Most of the development was made in less than a week so if you find a bug, just tell me. Feel free to break it too. Suggestions and recommendations are appreciated.
The front-end could be better but I don’t like front-end development at all so I just asked ChatGPT to make it lol.