Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dance2die/shanc

πŸ“° Static HackerNews clone
https://github.com/dance2die/shanc

gatsby gatsbyjs hackernews netlify react reactjs

Last synced: 3 months ago
JSON representation

πŸ“° Static HackerNews clone

Awesome Lists containing this project

README

        

## πŸš€ SHaNc - Static Hacker News clone

### ❓ Why?

Because I want to skim through stories and be done with it.
I don't need up-to-date stories.

### ⏲ How often does it refresh?

Every hour on the hour.

### ⚠️Note

Currently it only shows Top stories.
I will add "new" and "best" stories later on.

### πŸ”¨ Technologies (and stuff...)

* Static Site Generator: [Gatsby](https://www.gatsbyjs.org/)
* [Styled Components](https://www.styled-components.com/)
* Custom Hacker News GraphQL [source](https://github.com/dance2die/SHANc/blob/master/gatsby-node.js)
* Simply calls Official [HN API](https://github.com/HackerNews/API).
* Server: [Netlify](https://www.netlify.com/)
* Build Trigger: [Azure Functions](https://docs.microsoft.com/en-us/azure/azure-functions/) (PowerShell)
* Netlify exposes Build WebHook. Azure Functions written in PowerShell simply calls it with `Invoke-WebRequest` every hour
* [GitHub Corners](https://github.com/tholman/github-corners) by [Tim Holman](http://tholman.com/)

### πŸ“ Architecture

The awesome hand-drawn architecture
![architecture](architecture.jpg)