Deploying your personal website onto github pages is so 2013. Why avoid the hassle of self-hosting with a static site generator and server? Why not just use something tried and tested by the community?
It’s just not as fun … and I didn’t feel like studying for a final one afternoon.
So here’s a simple 111-line golang webserver that you can use to deploy your personal website.
There’s also some cute
Golang’s built in
http package is great, and it does basically all the work for you.
Is it fast? I think so.
Is it scalable? Enough for your personal website
Is it secure? I hope so.
My personal site will soon be deployed with this … once I get around to writing out the
Dockerfile and hiding it behind a
nginx reverse proxy.