{"id":13794465,"url":"https://github.com/captn3m0/hackertray","last_synced_at":"2026-04-02T19:08:39.641Z","repository":{"id":12160459,"uuid":"14755907","full_name":"captn3m0/hackertray","owner":"captn3m0","description":":information_source: HackerTray is a minimalist Hacker News app for Linux","archived":false,"fork":false,"pushed_at":"2026-03-30T17:04:22.000Z","size":186,"stargazers_count":249,"open_issues_count":1,"forks_count":33,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-03-30T19:07:35.679Z","etag":null,"topics":["gtk-application","hacker-news-reader","linux-desktop-app"],"latest_commit_sha":null,"homepage":"https://github.com/captn3m0/hackertray","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"AnyRTC/RTMPCHybridEngine-IOS","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/captn3m0.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"ko_fi":"captn3m0","liberapay":"captn3m0","github":"captn3m0"}},"created_at":"2013-11-27T18:49:45.000Z","updated_at":"2026-03-30T17:04:26.000Z","dependencies_parsed_at":"2022-09-24T10:44:20.645Z","dependency_job_id":null,"html_url":"https://github.com/captn3m0/hackertray","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/captn3m0/hackertray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fhackertray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fhackertray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fhackertray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fhackertray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captn3m0","download_url":"https://codeload.github.com/captn3m0/hackertray/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fhackertray/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31313985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gtk-application","hacker-news-reader","linux-desktop-app"],"created_at":"2024-08-03T23:00:41.412Z","updated_at":"2026-04-02T19:08:39.632Z","avatar_url":"https://github.com/captn3m0.png","language":"Python","funding_links":["https://ko-fi.com/captn3m0","https://liberapay.com/captn3m0","https://github.com/sponsors/captn3m0"],"categories":["Clients"],"sub_categories":["Desktop"],"readme":"# HackerTray\n\n[![PyPI - Version](https://img.shields.io/pypi/v/hackertray)](https://pypi.python.org/pypi/hackertray/)\n[![Coverage Status](https://coveralls.io/repos/github/captn3m0/hackertray/badge.svg?branch=master)](https://coveralls.io/github/captn3m0/hackertray?branch=master)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/captn3m0/hackertray/test.yml)\n\nHackerTray is a simple [Hacker News](https://news.ycombinator.com/) Linux application\nthat lets you view top HN stories in your System Tray. It uses appindicator where available,\nbut provides a Gtk StatusIcon fallback in case AppIndicator is not available.\n\nThe inspiration for this came from [Hacker Bar](https://web.archive.org/web/20131126173924/http://hackerbarapp.com/) (now dead), which was Mac-only.\n\nOver the years, this has been tested across multiple system tray implementations, including:\n\n- Waybar on sway\n- i3bar with i3\n- ElementaryOS\n- KDE Plasma 6.6\n- GNOME 50\n\nThe new flatpak installation is in need of more testing.\n\n## Screenshot\n\n![HackerTray Screenshot in elementaryOS](http://i.imgur.com/63l3qXV.png)\n\n## Installation\n\nHackerTray is distributed as a python package. Do the following to install:\n\n```sh\npipx install hackertray --system-site-packages\n```\n\nThere is a Flatpak build and submission in progress.\n\n### Upgrade\n\nThe latest stable version is 5.0.0.\n\nYou can check which version you have installed with `hackertray --version`.\n\nHackerTray will automatically check the latest version on startup, and inform you if there is an update available on the command line.\n\n## Options\n\nHackerTray accepts its various options via the command line. Run `hackertray -h` to see all options. Currently the following switches are supported:\n\n1.  `-c`: Enables comments support. Clicking on links will also open the comments page on HN. Can be switched off via the UI, but the setting is not remembered.\n2.  `--chrome PROFILE-PATH`: Specifying a profile path to a chrome directory will make HackerTray read the Chrome History file to mark links as read. Links are checked once every 5 minutes, which is when the History file is copied (to override the lock in case Chrome is open), searched using sqlite and deleted. This feature is still experimental.\n3.  `--firefox PROFILE-PATH`: Specify path to a firefox profile directory. HackerTray will read your firefox history from this profile, and use it to mark links as read. Pass `auto` as PROFILE-PATH to automatically read the default profile and use that.\n4. `--reverse` (or `-r`). Switches the order for the elements in the menu, so Quit is at top. Use this if your system bar is at the bottom of the screen.\n\nNote that the `--chrome` and `--firefox` options are independent, and can be used together. However, they cannot be specified multiple times (so reading from 2 chrome profiles is not possible).\n\n### Google Chrome Profile Path\n\nWhere your Profile is stored depends on [which version of chrome you are using](https://chromium.googlesource.com/chromium/src.git/+/62.0.3202.58/docs/user_data_dir.md#linux):\n\n- [Chrome Stable] `~/.config/google-chrome/Default`\n- [Chrome Beta] `~/.config/google-chrome-beta/Default`\n- [Chrome Dev] `~/.config/google-chrome-unstable/Default`\n- [Chromium] `~/.config/chromium/Default`\n\nReplace `Default` with `Profile 1`, `Profile 2` or so on if you use multiple profiles on Chrome. Note that the `--chrome` option accepts a `PROFILE-PATH`, not the History file itself. Also note that sometimes `~` might not be set, so you might need to use the complete path (such as `/home/nemo/.config/google-chrome/Default/`).\n\n### Firefox Profile Path\n\nThe default firefox profile path is `~/.mozilla/firefox/*.default`, where `*` denotes a random 8 digit string. You can also read `~/.mozilla/firefox/profiles.ini` to get a list of profiles. Alternatively, just pass `auto` and HackerTray will pick the default profile automatically.\n\n## Features\n\n1.  Minimalist Approach to HN\n2.  Opens links in your default browser\n3.  Remembers which links you opened, even if you opened them outside of HackerTray\n4.  Shows Points/Comment count in a simple format\n5.  Reads your Google Chrome/Firefox History file to determine which links you've already read (even if you may not have opened them via HackerTray)\n\n### Troubleshooting\n\nIf the app indicator fails to show in Ubuntu versions, consider installing\npython-appindicator with\n\n`sudo apt-get install python-appindicator`\n\nNote that appindicator is no longer supported in non-Ubuntu distros, because it only works on Python2.\n\n### Development\n\nTo develop on hackertray, or to test out experimental versions, do the following:\n\n-   Clone the project\n-   Run `uv venv --system-site-packages`. This is required to allow access to the global pygobject install.\n-   Run `uv run hackertray` with the required command line options\n\n## Analytics\n\nOn every launch, a request is made to `https://pypi.python.org/pypi/hackertray/json` to check the latest version.\n\n**No more tracking**. All data every collected for this project has been deleted. You can see [the wiki](https://github.com/captn3m0/hackertray/wiki/Analytics) for what all was collected earlier (Version `\u003c 4.0.0`).\n\n## Credits\n\n-   Mark Rickert for [Hacker Bar](http://hackerbarapp.com/) (No longer active)\n-   [Giridaran Manivannan](https://github.com/ace03uec) for troubleshooting instructions.\n-   [@cheeaun](https://github.com/cheeaun) for the [Unofficial Hacker News API](https://github.com/cheeaun/node-hnapi/)\n\n## Licence\n\nLicenced under the [MIT Licence](https://nemo.mit-license.org/). See the LICENSE file for complete license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptn3m0%2Fhackertray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptn3m0%2Fhackertray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptn3m0%2Fhackertray/lists"}