No description
  • HTML 59.2%
  • SCSS 37.1%
  • Shell 3.7%
Find a file
2026-01-27 13:47:06 -08:00
.github/workflows pin build-static-site action to latest 2026-01-27 13:47:06 -08:00
bin update Taskfile and scss script 2026-01-27 13:47:06 -08:00
scss update and fix fontawesome icons 2026-01-27 13:47:06 -08:00
static update and fix fontawesome icons 2026-01-27 13:47:06 -08:00
templates rearrange navbar icons, update youtube link to newsletter 2026-01-27 13:47:06 -08:00
.dockerignore get ready to add docker image 2026-01-27 13:47:06 -08:00
.gitignore get ready to add docker image 2026-01-27 13:47:06 -08:00
closed.html tidied up html templates 2026-01-27 13:47:06 -08:00
downloads.html tidied up html templates 2026-01-27 13:47:06 -08:00
dprint.json let's rock 2026-01-27 13:47:06 -08:00
error.html tidied up html templates 2026-01-27 13:47:06 -08:00
galleries.html work on gallery 2026-01-27 13:47:06 -08:00
index.html use full link for mailing list anchor 2026-01-27 13:47:06 -08:00
LICENSE let's rock 2026-01-27 13:47:06 -08:00
README.md update README 2026-01-27 13:47:06 -08:00
screenshot_gallery.html tidied up html templates 2026-01-27 13:47:06 -08:00
screenshots.html tidied up html templates 2026-01-27 13:47:06 -08:00
Taskfile.yml update Taskfile and scss script 2026-01-27 13:47:06 -08:00

jaunty.fun

A static website for Jaunty made to host world downloads, screenshots and direct users to the Discord.

Running

This site was made using Caddy's templating engine, therefore it needs to be ran using Caddy. The site also expects Caddy to be ran with $DISCORD_SLUG set to the code of your Discord server invite, otherwise the /play route will rewrite to /closed.html.

For reference, below is a production-ready Caddyfile.

jaunty.fun, www.jaunty.fun {
    root .
    try_files {path}.html {path}
    templates
    encode gzip zstd

    file_server {
        index index.html
    }

    @slug `"{$DISCORD_SLUG}" != ""`
    handle /play {
        redir @slug https://discord.gg/{$DISCORD_SLUG}
        rewrite /closed.html
    }

    handle /screenshots/* {
        rewrite * /screenshot_gallery.html
    }

    handle_errors {
        rewrite * /error.html
        templates
        file_server
    }
}

License

LICENSE