Giter VIP home page Giter VIP logo

beat's Introduction

beat

beat: a reporter's regular routine for covering news sources

beat is a new tab replacement for Chrome that shows the latest stories your frequent news sources at a glance, plus a quick check of the weather. preview

News Sources

  • Hacker News
    • View the top stories on Hacker News, with the ability to choose between different story streams like the Top stories, or turn on the flood with all New stories.
  • Designer News
  • Subreddits
    • Keep track of any subreddit, with the ability to create a custom theme and choose from different streams like Top or Controversial.

Not seeing a news source you'd like?

Create a Github issue and let me know!

Building & Local Usage

  1. Install the dependencies
  2. Copy the file at buildConfig.tmpl.json to buildConfig.json and fill in the missing values
    • Note that it's important that this filled out file is not committed to Github to protect any secret values or keys it contains, but also note that any built version will leak these values to users who know how to retrieve them and will not be obfuscated in any way
  3. run npm run build-dist
  4. In Chrome, go to chrome://extensions/ and click "Load unpacked"
    • Ensure that "Developer mode" is turned on in the top right of that page
  5. Select the path: /path/to/beat/public

Build Configuration

  • openweatherAPIKey: An API key for the OpenWeather service, simply sign up for a developer account there and provide your API key here
    • Because of the fairly aggressive caching strategy used by the extension, it's likely that you can use the free tier and be ok
  • settingsStorage: The storage method for application data (settings, onboarding progress, etc...), possible values are:
    • localStorage: Use the browser's local storage API for storage, used mostly for local development
    • chromeStorage: Use Chrome's extension storage API, which will allow other Chrome installations to use synced settings, for personal use this is typically what you want

It's open source but you're charging for it? What gives?

While I want this extension to be as useful to as many people as possible, using the extension from the Chrome webstore means you're using my API keys which, well, aren't free for me either.

I wanted to keep the project open source to encourage people to build it themselves and bring their own API keys if it makes sense for them. At the same time, I want to provide an avenue for those who want a more convenient experience - the price of that convenience being helping me out with service subscription costs.

License

See here for more information.

beat's People

Contributors

tylerfowler avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar  avatar

beat's Issues

Unable to build

I'm not able to build extension using npm
1st cloned this repo
npm install to install dependencies
When running npm run build-dist i get errors.
Check screenshots
Screenshot_2019-06-25-22-31-23-460_com sonelli juicessh
My nodejs/npm version
Screenshot_2019-06-25-22-40-41-467_com sonelli juicessh

Here's full log
debug.log

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.