Skip to content

My Wordle results, a static Parklife app built with Sinatra+Phlex

Notifications You must be signed in to change notification settings

benpickles/wordle

Repository files navigation

My Wordle results

This is a teeny microsite archive of my Wordle results, it's also an example of using Parklife to render a Sinatra app to a static build.

The app is a single route and not much more. In development run the app with bin/dev.

I added Parklife and ran parklife init --sinatra --github-pages to generate a Parkfile and a GitHub Actions workflow to build and push to GitHub Pages.

I use Netlify's Rewrites and proxies to proxy it from my own site to make it available under my domain using the netlify.toml config:

[[redirects]]
  from = "/wordle/*"
  to = "https://benpickles.github.io/wordle/:splat"
  status = 200