Giter Site home page Giter Site logo

chaker's Introduction

Chaker

The Hacker News 'client' for the terminal. Written in Golang.

Table of Content

Introduction

Chaker screenshot

forthebadge

GitHub Repo stars CodeFactor PRs Welcome GitHub Workflow Status

Chaker (formerly Hecker) is a Hacker News 'client' for the terminal written in Golang.

(The client is in quote because technially this is more of a web scraper with a UI rather than an actual client)

Features

  • Easy to use - You just need to learn a few keybinds to use Chaker.
  • Move between submissions easily with Up and Down arrow key.
  • Open the submission's URL using Enter.
  • View the comment section (or more correctly the submission itself) using c.
  • Submission time similiar to HN. (Pleasse see Note)
  • Move between different pages of submissions.
  • Shows up submission's data (like upvote and so on) only when they are being pointed and fainted.
  • Shows up the time on the top, and the page number and help at the bottom!

Contributions

Contributions are welcome. If you found any bugs or want to requrest a feature, please open an issue.

Installation

  • First, install the Go compiler at here or if you are using a Linux distro, install it using your distro's package manager.
  • Next, if you have $GOPATH set up:
go get github.com/HoangTuan110/chaker

And if you don't:

git clone https://github.com/HoangTuan110/chaker.git # Clone the repo
cd chaker
go mod init chaker # Initialize the package
go mod tidy
go build
  • Finally, you will see the chaker binary in the cloned directory.

Usage

Just run:

./chaker

Note

  • When start the program, you will need to wait for a few seconds for the program to scrape data.
  • Depends on your Internet, it can take a pretty long time for the program to scrape data, and sometimes you will get TLS handshake timeout error. If you got one, make sure to wait for a few minutes and then run the program again. If that still doesn't fix the problem, then check your Internet.
  • The submission time in Chaker, for most of the time, is correct, but not always (45 hours ago). If you have one, then unfortunately, I can't fix it. It is likely due to Go's Unix time thing is somewhat wrong. If you know how to fix this, then please open a new issue.

Credits

Thanks Charm for their amazing CLI library bubbletea and lipgloss.

Thanks README Templates and GitPoint's README for the template. This project uses GitPoint's README template.

Thanks this TOC generator for the TOC (Table Of Content).

chaker's People

Contributors

hoangtuan110 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chaker's Issues

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.