{"id":15892849,"url":"https://github.com/python273/hn-index","last_synced_at":"2026-03-01T07:32:38.621Z","repository":{"id":151402925,"uuid":"363984770","full_name":"python273/hn-index","owner":"python273","description":"Search Hacker News stories by title with regex CLI","archived":false,"fork":false,"pushed_at":"2024-11-03T03:42:08.000Z","size":687,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T07:37:51.829Z","etag":null,"topics":["cli","hackernews","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/python273.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-05-03T16:00:52.000Z","updated_at":"2024-11-03T03:42:12.000Z","dependencies_parsed_at":"2024-03-07T12:49:58.006Z","dependency_job_id":null,"html_url":"https://github.com/python273/hn-index","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/python273/hn-index","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Fhn-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Fhn-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Fhn-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Fhn-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python273","download_url":"https://codeload.github.com/python273/hn-index/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Fhn-index/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cli","hackernews","rust"],"created_at":"2024-10-06T08:04:47.926Z","updated_at":"2026-03-01T07:32:38.601Z","avatar_url":"https://github.com/python273.png","language":"Rust","readme":"# hn-index\n\nSearch Hacker News stories' titles with [regex](https://docs.rs/regex/1.7.1/regex/index.html#syntax).\n\n```\n$ wget https://python273.pw/hackernews-stories-dump-1_42024703.tar.gz\n$ tar xf hackernews-stories-dump-1_42024703.tar.gz\n$ cargo build --release\n$ ./target/release/hn-index \"(?i)\\brust\"\n[...]\n 101 Rust Language Cheat Sheet                                                        https://hkrn.ws/26930908\n  45 Show HN: High-speed UTF-8 validation in Rust                                     https://hkrn.ws/26887438\n[...]\n\nFound stories 11089\nScan time     24.53346ms\nPrint time    30.233548ms\nTotal time    54.782431ms\n```\n\n`hn-index (regex) [min comments]`\n\n![](./term.png)\n\n## Dump\n\nHeader: `[checkpoint; u32 little endian]*31` (offsets to start scanning by CPU threads)\n\nFormat: `[title len; u8][comments num; u16 little endian][title; utf-8][id; u32 little endian]`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython273%2Fhn-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython273%2Fhn-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython273%2Fhn-index/lists"}