Giter Site home page Giter Site logo

hn-reader's Introduction

hn-reader

GitHub CI Hackage MIT license

It allows you to read Hacker News without a browser.

hn-reader's People

Contributors

lucianu avatar

Stargazers

LCG avatar

Watchers

James Cloos avatar  avatar  avatar

hn-reader's Issues

Add a nix setup

I have two main reasons for wanting this:

  • better reproducibility: I will pin the version of ghc and of all the packages
  • I want to produce static binaries and I remember that nix provides a way to do it

Cache stories and comments

Right now, every time the reader displays stories or comments, it has to fetch them again from the API.
This is wasteful and slow, especially since I'm not using async yet.

But even with async, it's still wasteful, so I want to cache everything.

I will also add logic to delete stories and comments that are several days old, to avoid cluttering the user's computer. Especially, since the reader doesn't offer the possibility of reading stories from previous days.

Fill in the README

It should at least include build instructions.

Then, it could also provide a walk-through of the code base, for those that want to learn from it. But the build instructions are essential.

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.