{"id":19522200,"url":"https://github.com/captaincodeman/hn-webcomponents","last_synced_at":"2026-05-19T09:06:57.184Z","repository":{"id":66357907,"uuid":"91854327","full_name":"CaptainCodeman/hn-webcomponents","owner":"CaptainCodeman","description":"Hacker News as a PWA using pure WebComponents","archived":false,"fork":false,"pushed_at":"2017-05-23T20:42:42.000Z","size":516,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-12T20:46:05.120Z","etag":null,"topics":["customelements","hacker-news","progressive-web-app","pwa","webcomponents"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CaptainCodeman.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-20T00:13:52.000Z","updated_at":"2019-01-25T10:33:22.000Z","dependencies_parsed_at":"2023-02-22T04:00:36.977Z","dependency_job_id":null,"html_url":"https://github.com/CaptainCodeman/hn-webcomponents","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CaptainCodeman/hn-webcomponents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fhn-webcomponents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fhn-webcomponents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fhn-webcomponents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fhn-webcomponents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaptainCodeman","download_url":"https://codeload.github.com/CaptainCodeman/hn-webcomponents/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fhn-webcomponents/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33209486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: 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":["customelements","hacker-news","progressive-web-app","pwa","webcomponents"],"created_at":"2024-11-11T00:37:44.327Z","updated_at":"2026-05-19T09:06:57.158Z","avatar_url":"https://github.com/CaptainCodeman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebComponents Hacker News Example\n\nThis is an example of a PWA built using pure WebComponents.\n\nIt is not intended to be any kind of definitive blueprint for building applications, just an example\nto demonstrate that it is possible to build a modern, fast, Progressive Web App without depending on\na framework - because WebComponents are like having a framework that is built in to the browser.\n\n## Work In Progress\n\nThe implementation isn't complete yet but you can [view the preview version here](https://hn-dot-captain-codeman.appspot.com/).\n\nMain things to complete are:\n\n* Add story item view with comments\n* Add service-worker and data caching\n* Automate the build (esp. the hashed JS file ref)\n* Optimize list rendering to reduce reflow / repaint\n* Use a single source for views / templates\n* Cross-browser compatibility \u0026 testing (only Chrome + Safari + FireFox)\n* Lots of tidy up!\n\n## Server Side Rendering\n\nFirst-view performance is boosted by Server Side Rendering (SSR) of the requested view using Go.\n\n## Lighthouse Score\n\nInitial testing using WebPageTest.org's Lighthouse option shows decent performance for the fast 3G\nprofile as used by the [hnpwa.com](hnpwa.com) site with the First Interactive time of 1.38s\n\n![lighthouse-performance](./docs/lighthouse-performance.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptaincodeman%2Fhn-webcomponents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptaincodeman%2Fhn-webcomponents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptaincodeman%2Fhn-webcomponents/lists"}