Re:Show HN: Simple File Hosting on a CDN
by SneezyRobot on Thursday November 21, 2019 @10:15AM
(#21594851)
Yes, that's exactly right! As we were developing the early versions of our homepage that's exactly how we used it. I just synced down a Google Drive folder and hacked away on code and images. Derek could check out the progress anytime he wanted by visiting the URL. Basically, our homepage was always live while we were developing it - great for our MVP.
Now that the homepage codebase is more mature and we have more people working on it, we just created a GitHub repo in that same folder. Now whatever I'm working on is deployed to fastdev.imfast.io and then when I commit to the master branch of the repo, it's synced to fastio.imfast.io (which is connected to our domains Fast.io, Fast.app, Fastio.com etc..). I have a password-protected private dev site, but I'll keep that one to myself for now :D
For small static sites, I really feel like it's overkill putting them in a repo or having to drag the "whole site" in everytime from a zip file or folder. Especially for small incremental changes that happen often.
If my understanding is correct, I can have a folder in another cloud storage service (or even on my PC), that when I change a single file there- Fast.IO will notice that change and publish/replicate it to the live site. That's pretty neat.