GithubHelp home page GithubHelp logo

cosmicjs / hacker-news-top-stories Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 1.0 3.31 MB

View and save top Hacker News stories to your Cosmic Bucket

Home Page: https://www.cosmicjs.com/extensions/hacker-news-top-stories

HTML 9.77% CSS 8.31% JavaScript 81.92%
reactjs javascript cosmicjs hacker-news

hacker-news-top-stories's Introduction

Hacker News Top Stories

Hacker News Story Saver

What is it?

A Cosmic JS Extension that allows you to pull in the top news from Hacker News and save your favorite stories to your Cosmic JS Bucket. Easily access your favorite stories via your own personal endpoint for use in any internet connected application. Oh and all story links open in a new browser window (which is nice). Forks welcome!

Hacker News Story Saver Gif

It uses:

  1. The Algolia Hacker News API
  2. Create React App
  3. Semantic UI React
  4. Cosmic JS Extensions
  5. Cosmic JS NPM Module to save stories to your Bucket

Why?

It demonstrates how to connect your Cosmic JS Extension to third-party APIs to easily add content to your Cosmic JS Bucket.

Getting Started

Quick install

  1. Log in to Cosmic JS and choose a new or existing Bucket to save your Hacker News stories.
  2. Go to Your Bucket > Extensions.
  3. Find the HN Story Saver Extension and click "Install".

Hacker News Story Install Gif

Run locally

git clone https://github.com/cosmicjs/hacker-news-top-stories
cd hacker-news-top-stories
yarn
npm start

Go to http://localhost:3000?bucket_slug=your-cosmic-js-bucket-slug

hacker-news-top-stories's People

Contributors

tonyspiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hammybabar

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.