Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dance2die/shanc
- Owner: dance2die
- License: mit
- Created: 2018-05-23T04:23:12.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T21:51:24.000Z (about 2 years ago)
- Last Synced: 2023-10-20T19:11:15.416Z (over 1 year ago)
- Topics: gatsby, gatsbyjs, hackernews, netlify, react, reactjs
- Language: JavaScript
- Homepage: https://shanc.netlify.app/
- Size: 2.72 MB
- Stars: 14
- Watchers: 1
- Forks: 3
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)