GithubHelp home page GithubHelp logo

rl-king / elm-hnpwa Goto Github PK

View Code? Open in Web Editor NEW
149.0 8.0 8.0 899 KB

Elm implementation of the Hackernews PWA

Home Page: https://elm-hnpwa.firebaseapp.com

License: BSD 3-Clause "New" or "Revised" License

Elm 59.45% HTML 5.08% JavaScript 12.74% Makefile 6.20% SCSS 16.54%
elm pwa hnpwa spa

elm-hnpwa's Introduction

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

elm-hnpwa's People

Contributors

rl-king avatar stereobooster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elm-hnpwa's Issues

App stopped updating

I don't know if you meant for people to actually use your app or only as an example, but the live demo has stopped updating. Great job by the way!

network error

there seems to be an issue with the api endpoint and all the feeds return NetworkError | You seem to be offline message. it seems the issue is caused by a redirect at the server (http 301 return status) not properly accounted for. i changed the call on toFeedData function (line 167 on Route.elm source) from Builder.absolute to Builder.relative and it seems to work now. thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.