ggerganov/hnterm
소개
:page_with_curl: Hacker News in the terminal
개발 도구측정된 스타 증가
- in 24h
- +1
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalBrowse Hacker News interactively in your terminal
Details
HNTerm is a small console application written in C++ for browsing Hacker News. It queries the official HN API and interactively displays the current stories and comments. It uses libcurl to perform the GET requests to the API. The UI is rendered with ImTui. HNTerm fetches only the content that is currently visible on the screen. The window splits allow browsing multiple stories/comment sections at the same time.
Installing
Linux
sudo snap install hnterm
Mac OS
brew install ggerganov/ggerganov/hnterm
Building from source
Linux and Mac:
git clone https://github.com/ggerganov/hnterm --recursive
cd hnterm
mkdir build && cd build
cmake ..
make
./bin/hnterm
- Ubuntu 20.04 might need prerequisites:
sudo apt install cmake libncurses-dev libcurl4-openssl-dev
Emscripten:
git clone https://github.com/ggerganov/hnterm --recursive
cd hnterm
mkdir build && cd build
emconfigure cmake ..
make
Live demo in the browser
The Emscripten port of HNTerm uses Emscripten's Fetch API instead of libcurl to perform requests to the HN API.
Demo: hnterm.ggerganov.com (not suitable for mobile devices)
관련 프로젝트 살펴보기
불러오는 중…
