Code for this server
Go to file
Kelvin Ly 2372455e22 Change resume path to be within static directory, update submodules during static webhook updates 2020-02-16 09:04:25 -05:00
resume@ebda2c3802 Add resume and nav bar 2018-10-30 18:34:38 -04:00
static@ded137546c Change resume path to be within static directory, update submodules during static webhook updates 2020-02-16 09:04:25 -05:00
.gitignore Hopefully get the main server to forward requests correctly, and make the helper scripts detect their directory to determine the right binary name 2019-07-18 23:11:12 -04:00
.gitmodules Add resume and nav bar 2018-10-30 18:34:38 -04:00
README.md Add README 2018-09-28 19:11:20 -04:00
bootstrap.sh Move to a different location 2019-07-11 14:01:40 +00:00
cache.go Fix bugs and refactor response collector out into its own file TODO write tests for everything 2019-11-20 09:06:04 -05:00
collector.go Fix bugs and refactor response collector out into its own file TODO write tests for everything 2019-11-20 09:06:04 -05:00
gzip.go Implement image resizing/caching TODO add tests for these eventually 2019-11-20 08:15:30 -05:00
install.sh Fix port number for HTTPS 2018-09-28 23:05:17 +00:00
main-server.service Try to figure out this systemd unit file stuff by copying Gogs' unit file. It works! 2019-12-21 05:34:31 +00:00
main.css Update CSS 2019-12-22 13:59:39 -05:00
main.go Change resume path to be within static directory, update submodules during static webhook updates 2020-02-16 09:04:25 -05:00
markdown.go Make resize point same as resize to ensure seamless images 2019-11-20 23:40:59 -05:00
resize.go Shrink down images on resize 2019-12-03 18:09:31 -05:00
rules.v4 Fix port number for HTTPS 2018-09-28 23:05:17 +00: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