Elm implementation of the Hackernews PWA
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
Makefile
README.md
elm-mobile.png
elm.json
firebase.json
package-lock.json
package.json
sw-precache-config.js

README.md

Elm Hacker News Progressive Web App

A HNPWA implementation written in Elm 0.19

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

  • Completely written in Elm 0.19
  • Cache requested resources in session
  • 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