Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src
.gitignore
license
new_worker.js
package-lock.json
package.json
readme.md
screenshot.png
worker.js
yarn.lock

readme.md

NewScraper 2.0

screen

Progressive web app for reading fresh news offline in the subway from various news sources. Open NewScraper 2.0 on your phone and add it to your homescreen to see the magic!

Tech Stack

  • Webtask
  • Preact-JS Starter - For this awesome offline ready boilerplate. Preact Isn't that different from React, it only weighs 3KB!
  • The News Api - Awesome news aggregation api. I'll definitely expand this app to take full advantage of the many sources here.
  • Mercury Api - Amazing time saver, it goes and builds a readable version of whatever article you supply it. Think pocket/instapaper.

Running/Deploying

Installation

  • git clone to clone this repo.
  • npm install (or yarn if you're hip like me).

Running Locally

  • Make sure you have the MERCURY_KEY and NEWS_API keys in the file called secrets.json.
  • If you're working on the worker, save your firebase-admin sevice account as sa.json.
  • npm run watch

Deploying

  • Run npm run build, this will spit out the production front-end in dist for you to serve on static hosting.

To-Do

  • More news sources. √
  • Loading bar because I'm masochistic? (I heard they were super hard.)
  • Transitions between views.
  • Refine service worker, to make it more reliable. √
  • Style for iOS devices (Ew! But needed for dumb iPhone X).
You can’t perform that action at this time.