Code for this server
Go to file
Kelvin Ly 7fd8eed45b Update website 2018-10-27 16:44:21 -04:00
static@3ca8cb6aa9 Update website 2018-10-27 16:44:21 -04:00
.gitignore Fix service file slightly, use let's encrypt to get a certificate 2018-09-28 22:41:31 +00:00
.gitmodules Initial working server 2018-09-22 08:31:23 -04:00
README.md Add README 2018-09-28 19:11:20 -04:00
bootstrap.sh Kind of daemonize it 2018-09-27 21:17:35 -04:00
install.sh Fix port number for HTTPS 2018-09-28 23:05:17 +00:00
kelvinly-server.service Fix service file slightly, use let's encrypt to get a certificate 2018-09-28 22:41:31 +00:00
main.css Initial working server 2018-09-22 08:31:23 -04:00
main.go Fix port number for HTTPS 2018-09-28 23:05:17 +00:00
rules.v4 Fix port number for HTTPS 2018-09-28 23:05:17 +00:00
stop-server.sh Kind of daemonize it 2018-09-27 21:17:35 -04:00

README.md

A website

This is my personal website, feel free to steal the server and look at the code if there's anything useful there. There's not much to it, but it currently:

  • uses blackfriday/github_flavored_markdown to convert markdown into HTML
  • has a .service file that lets it run automatically on startup
  • daemonizes itself using go-daemon so you get nice log and pid files
  • has a set of iptables-persistent rules to avoid needing to run as root

TODOs

  • make a cronjob to automatically renew the certificate
  • add a header bar and make the footer look a little nicer
  • do cool stuff so I can post about it here I guess