Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kingdido999/lite-hacker-news

WIP: Blazing fast Hacker News client.
https://github.com/kingdido999/lite-hacker-news

hackernews rust

Last synced: 2 months ago
JSON representation

WIP: Blazing fast Hacker News client.

Awesome Lists containing this project

README

        

# Lite Hacker News

As a heavy user of [Hacker News](https://news.ycombinator.com/), I've been wasting quite a lot of time waiting for articles to be opened and loaded before I can consume them. The goal of this project is to build a blazing fast Hacker News reader with articles fully cached while learning some [Rust](https://www.rust-lang.org).

## TODO

- [x] Fetch top stories via [HackerNews API](https://github.com/HackerNews/API)
- [ ] Run a job to fetch and save stories in DB periodically
- [ ] Render top stories in HTML
- [ ] Load and cache the content of stories in client-side

## Development

Create a `.env` file out of the example and modify username and password for your local [PostgreSQL](https://www.postgresql.org/) instance:

```bash
cp .env.example .env
```

Start the project:

```bash
cargo run
```