├── logo.gif ├── favicon.ico ├── README.md ├── index.tmpl └── main.go /logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/montanaflynn/codehn/HEAD/logo.gif -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/montanaflynn/codehn/HEAD/favicon.ico -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Code HN 2 | 3 | Hacker news with only links from GitHub or GitLab. 4 | 5 | __Demo__: [code.hn](https://code.hn) 6 | 7 | ### Usage 8 | 9 | ``` 10 | $ go run main.go & 11 | $ curl localhost:8080 12 | ``` 13 | 14 | ### TODOS 15 | 16 | - Add a filter for programming language using github's own API 17 | - Use channels for results / errors from individual story API requests 18 | - Use some internal scheduler that keeps all the stories in a cache 19 | - Use brute force to ensure we have at least 30 stories for all pages 20 | -------------------------------------------------------------------------------- /index.tmpl: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 108 | 109 | 110 |
114 | Code on Hacker News
115 |
116 |