Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmille56/hn-tui
Hacker News terminal browser
https://github.com/dmille56/hn-tui
hacker-news haskell terminal
Last synced: 28 days ago
JSON representation
Hacker News terminal browser
- Host: GitHub
- URL: https://github.com/dmille56/hn-tui
- Owner: dmille56
- License: bsd-3-clause
- Created: 2017-12-25T06:46:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T06:47:25.000Z (almost 7 years ago)
- Last Synced: 2024-11-08T09:43:35.683Z (3 months ago)
- Topics: hacker-news, haskell, terminal
- Language: Haskell
- Homepage:
- Size: 36.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hn-tui
Browse [Hacker News](https://news.ycombinator.com) from your Terminalhn-tui is a terminal user interface for browsing Hacker News written in Haskell.
# Platforms
Linux, Mac, Windows (via Windows Subsystem for Linux)# Dependencies
Building/installing hn-tui requires the stack build tool. It can be gotten at [https://docs.haskellstack.org/en/stable/README/](https://docs.haskellstack.org/en/stable/README/). You will also need to have ncurses installed.# Install Instructions
In your terminal run the following:
``` shell
git clone https://github.com/dmille56/hn-tui.git
cd hn-tui
stack install
```(This gets the source code with git, changes directory to the downloaded source code, and then runs stack to build/install the code).
# How to run
In your terminal run:
``` shell
hn-tui
```# Run with a custom theme
``` shell
hn-tui --theme yourtheme.ini
```# Build Instructions
Build:
```
stack build
```Build & run:
```
stack build --exec hn-tui
```# Misc
hn-tui is built using the [brick](https://github.com/jtdaugherty/brick) library