Ship
Pending review
Hey! I updated FolderHarbor, my advanced, multi-protocol file server (works over FTP and WebDAV)! The new features I added are:
- I added the FolderHarbor SDK to the web panel, instead of just directly using
fetch()calls to the FolderHarbor server in it! This makes it harder to make mistakes when developing for it (as the SDK uses TypeScript types and exact method calls), fixes a few bugs it had, and generally makes it more stable. - I improved the installation script used for FolderHarbor Server, making it check the files it downloads for corruption before installing them using a SHA256 checksum. It has some new additional checks as well, to decrease the risk of a corrupted/broken or failed installation.
- I added a new API endpoint to the landing page, which helps the installation script by parsing some GitHub API things and returning a clean SHA256 checksum. JSON is really hard to work with inside of Bash scripting (which is how the installer works), so this is the safest way to handle this without requiring more dependencies on the server.
- I improved my CI/CD pipeline and added a step where the server version is injected into the download. This will allow me to add an update checker in the future, though I haven’t yet.
FolderHarbor is my biggest project yet, and these changes make it more stable and functional for everyday users!
- 4 devlogs
- 8h