{"id":15550143,"url":"https://github.com/ggerganov/hnterm","last_synced_at":"2025-10-24T17:02:15.122Z","repository":{"id":48116027,"uuid":"231059573","full_name":"ggerganov/hnterm","owner":"ggerganov","description":":page_with_curl: Hacker News in the terminal","archived":false,"fork":false,"pushed_at":"2024-08-07T16:39:09.000Z","size":811,"stargazers_count":257,"open_issues_count":3,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-03T13:51:12.788Z","etag":null,"topics":["hacker-news","news","terminal","tui"],"latest_commit_sha":null,"homepage":"https://hnterm.ggerganov.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ggerganov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-31T08:57:50.000Z","updated_at":"2024-10-02T13:48:47.000Z","dependencies_parsed_at":"2024-10-25T18:35:44.944Z","dependency_job_id":"5134aa82-8cd3-4d60-b086-a62e5ea79f87","html_url":"https://github.com/ggerganov/hnterm","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggerganov%2Fhnterm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggerganov%2Fhnterm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggerganov%2Fhnterm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggerganov%2Fhnterm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggerganov","download_url":"https://codeload.github.com/ggerganov/hnterm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640464,"owners_count":20971557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacker-news","news","terminal","tui"],"created_at":"2024-10-02T13:51:10.722Z","updated_at":"2025-10-24T17:02:10.102Z","avatar_url":"https://github.com/ggerganov.png","language":"C++","funding_links":[],"categories":["\u003ca name=\"viewers\"\u003e\u003c/a\u003eViewers"],"sub_categories":[],"readme":"# \u003cimg src=\"media/banner-transparent-small.png\" height=150 alt=\"HNTerm : Hacker News in terminal\" /\u003e\n\n[![Actions Status](https://github.com/ggerganov/hnterm/workflows/CI/badge.svg)](https://github.com/ggerganov/hnterm/actions)\n[![HNTerm on Snapcraft](https://snapcraft.io//hnterm/badge.svg)](https://snapcraft.io/hnterm)\n[![HNTerm v0.4 badge][changelog-badge]][changelog]\n[![MIT License Badge][license-badge]][license]\n\nBrowse [Hacker News](https://news.ycombinator.com/news) interactively in your terminal\n\n[![hnterm-demo](https://asciinema.org/a/291253.svg)](https://asciinema.org/a/291253)\n\n## Details\n\nHNTerm is a small console application written in C++ for browsing [Hacker News](https://news.ycombinator.com/news). It queries the official [HN API](https://github.com/HackerNews/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](https://github.com/ggerganov/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.\n\n## Installing\n\n[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/hnterm)\n\n### Linux\n\n```bash\nsudo snap install hnterm\n```\n\n### Mac OS\n\n```bash\nbrew install ggerganov/ggerganov/hnterm\n```\n\n## Building from source\n\n### Linux and Mac:\n\n```bash\ngit clone https://github.com/ggerganov/hnterm --recursive\ncd hnterm\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake\n\n./bin/hnterm\n```\n\n* Ubuntu 20.04 might need prerequisites: `sudo apt install cmake libncurses-dev libcurl4-openssl-dev`\n\n### Emscripten:\n\n```bash\ngit clone https://github.com/ggerganov/hnterm --recursive\ncd hnterm\nmkdir build \u0026\u0026 cd build\nemconfigure cmake ..\nmake\n```\n\n## Live demo in the browser\n\nThe Emscripten port of HNTerm uses Emscripten's Fetch API instead of `libcurl` to perform requests to the [HN API](https://github.com/HackerNews/API).\n\nDemo: [hnterm.ggerganov.com](https://hnterm.ggerganov.com/) *(not suitable for mobile devices)*\n\n[changelog]: ./CHANGELOG.md\n[changelog-badge]: https://img.shields.io/badge/changelog-HNTerm%20v0.4-dummy\n[license]: ./LICENSE\n[version-badge]: https://img.shields.io/badge/version-0.4-blue.svg\n[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggerganov%2Fhnterm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggerganov%2Fhnterm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggerganov%2Fhnterm/lists"}