Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty early on in my time writing software, I built a screenshot hosting web app and a tool for deploying static websites on subdomains of my site from the command line. I still use them very regularly, and they were excellent projects for learning full stack web dev.

I can run `atu file.png` and have a link to it copied to my clipboard a second later. I added options for creating secret URLs, auto-deleting after time or after views, and other features like that.

For the subdomain hoster (I named it phost), I can run `phost create subdomain directory` and the directory will be uploaded and served on `subdomain.mysite.com`. I have commands for updating and deleting as well, and versioning built in.

It's extremely useful for quickly deploying little demos or one-off projects without having to commit to set anything up on a cloud console or edit NGINX config files.



Reminds me of an advanced version of the old Dropbox where you could quickly host static sits from the finder. Was the best thing about Dropbox. Of course they killed it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: