ProductPromotion
Logo

Elm

made by https://0x3d.site

GitHub - elmariofredo/elm-hn-pwa: Hacker News as a PWA built with Elm
Hacker News as a PWA built with Elm. Contribute to elmariofredo/elm-hn-pwa development by creating an account on GitHub.
Visit Site

GitHub - elmariofredo/elm-hn-pwa: Hacker News as a PWA built with Elm

GitHub - elmariofredo/elm-hn-pwa: Hacker News as a PWA built with Elm

Elm Hacker News Progressive Web App

Sample of HNPWA built with Elm version 0.18, using the official Hacker-News API

Available on hnpwa.skingrapher.com

Progressive

  • 100 on lighthouse
  • 91 on webpagetest for a slow 3G connection
  • service worker partially generated by workbox for static files precache
  • offline caching of HN data
  • no server-side rendering actually

Reliable

  • interactive under 5 seconds on a Moto 4G over 3G (see webpagetest below)
  • first interactive (emerging markets): 4.8s
  • first interactive (faster 3G): 3.2s

Responsive

CSS file:

  • built with Sass
  • inspired from Material Design Lite
  • less than 4kb
  • inlined in index.html for better performance
  • style supported by all devices (smartphones, tablets and larger screens)

Accessible

  • 100 on lighthouse (see link to report below)
  • valid accessibility according to WCAG 2.0 (level AAA) guidelines
  • contrast level AAA between background and text for all colors
  • new ARIA feed role with aria-posinset and aria-setsize attributes exists in WAI-ARIA 1.1
  • no error according to a11y.css
  • no bitmap pictures
  • added noopener and noreferrer relations to links to prevent from target="_blank" vulnerability abuse

Versions

0.11

stable release without pagination

TODO

  • testing background sync
  • lazy loading for very extensive comments

Build elm.js howto

elm make Hnpwa.elm --output elm.js 

then the js file is minified and its code is incorporated as a part of the script in index.html

Resources

Credits

More Resources
to explore the angular.

mail [email protected] to add your project or resources here ๐Ÿ”ฅ.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here ๐Ÿ”.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory