Skip to content

rl-king/elm-hnpwa

Repository files navigation

Elm Hacker News Progressive Web App

A HNPWA implementation written in Elm 0.19.1

Site screenshot
Elm HNPWA
/ Elm HNPWA with time-traveling debugger

Perfomance

  • Lighthouse: 100/100
  • Interactive (Emerging Markets): 3.4s
  • Interactive (Faster 3G): 2.5s

Features

  • Written in Elm 0.19.1
  • Cache requested resources
  • Service worker for offline use

Develop

Install Elm, Elm-format and other dependencies

make deps
brew install entr (if you want compile on save to work)

Compile on file change and start dev server

make watch
make serve

Build, compile optimized Elm, generate Service Worker and minify assets

make build