{"id":31791406,"url":"https://github.com/gapmiss/hackernews-comments","last_synced_at":"2026-04-18T11:32:07.570Z","repository":{"id":318223127,"uuid":"986691213","full_name":"gapmiss/hackernews-comments","owner":"gapmiss","description":"Obsidian.md plugin to fetch and save Hacker News comments as markdown notes in your vault.","archived":false,"fork":false,"pushed_at":"2025-10-05T21:09:30.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T23:23:52.606Z","etag":null,"topics":["hacker-news","obsidian","obsidian-md","obsidian-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/gapmiss.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-20T01:50:10.000Z","updated_at":"2025-10-05T21:12:23.000Z","dependencies_parsed_at":"2025-10-05T23:24:01.576Z","dependency_job_id":"a8b86e79-2699-404e-96e2-263caa3730b6","html_url":"https://github.com/gapmiss/hackernews-comments","commit_stats":null,"previous_names":["gapmiss/hackernews-comments"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gapmiss/hackernews-comments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapmiss%2Fhackernews-comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapmiss%2Fhackernews-comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapmiss%2Fhackernews-comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapmiss%2Fhackernews-comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gapmiss","download_url":"https://codeload.github.com/gapmiss/hackernews-comments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapmiss%2Fhackernews-comments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004688,"owners_count":26083753,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hacker-news","obsidian","obsidian-md","obsidian-plugin"],"created_at":"2025-10-10T16:57:52.980Z","updated_at":"2025-10-10T16:57:56.556Z","avatar_url":"https://github.com/gapmiss.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hacker News Comments\n\nAn Obsidian plugin that fetches and saves Hacker News comments as Markdown notes.\n\n## Features\n\n- Fetch comments from any Hacker News post\n- Threaded comment formatting with proper indentation\n- Metadata included: post title, original URL, comment count\n- Customizable note filenames using template variables\n- Optional enhanced links for usernames and timestamps\n- Automatic HTML-to-Markdown conversion\n\n## How to use\n\n1. Click the Hacker News icon in the ribbon or use the \"Fetch Hacker News Comments\" command\n2. Enter a valid Hacker News URL (e.g., https://news.ycombinator.com/item?id=12345678)\n3. The plugin will fetch the comments and create a new note in your vault\n\n## Settings\n\n### Enhanced links\nConvert usernames and timestamps to clickable links pointing to Hacker News profiles and specific comments.\n\n### Timestamp format\nCustomize the date format for comment timestamps using moment.js formatting tokens. Default: `YYYY-MM-DD, hh:mm:ss`\n\n### Open note automatically\nAutomatically open newly created notes in the editor.\n\n### Wrap HTML tags in backticks\nWrap HTML tags in comment content with backticks to preserve code examples and prevent HTML rendering.\n\n### Filename template\nCustomize note filenames using template variables. Default: `HN - {{title}} - {{date}}`\n\nAvailable variables:\n- `{{title}}` - Post title\n- `{{post-id}}` - Post ID\n- `{{date}}` - Current date (YYYY-MM-DD)\n- `{{time}}` - Current time (HH-MM-SS)\n- `{{datetime}}` - Date and time (YYYY-MM-DD-HH-MM-SS)\n- `{{source}}` - Source hostname or \"Hacker News\"\n\n## Example filename templates\n\n- `HN - {{title}} - {{date}}`\n- `Hacker News {{post-id}} - {{title}}`\n- `{{date}} - {{source}} - {{title}}`\n\n## Technical notes\n\nThe plugin uses the Hacker News API as the primary data source with HTML parsing as a fallback. All network requests use Obsidian's native API to bypass CORS restrictions.\n\nContent is sanitized during HTML-to-Markdown conversion to prevent script injection and ensure safe rendering.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapmiss%2Fhackernews-comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgapmiss%2Fhackernews-comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapmiss%2Fhackernews-comments/lists"}