{"id":20123467,"url":"https://github.com/hankolsen/enfo-world-news","last_synced_at":"2025-07-26T14:38:23.357Z","repository":{"id":92649286,"uuid":"112465291","full_name":"hankolsen/enfo-world-news","owner":"hankolsen","description":"An experiment trying to create some kind of a PWA using plain vanilla javascript","archived":false,"fork":false,"pushed_at":"2017-12-30T13:57:47.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T20:32:48.659Z","etag":null,"topics":["intersection-observer","lazy-loading","lighthouse","pwa","service-worker","vanilla-javascript"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/hankolsen.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-11-29T11:09:41.000Z","updated_at":"2017-11-29T22:18:57.000Z","dependencies_parsed_at":"2023-03-09T07:30:24.611Z","dependency_job_id":null,"html_url":"https://github.com/hankolsen/enfo-world-news","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hankolsen/enfo-world-news","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankolsen%2Fenfo-world-news","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankolsen%2Fenfo-world-news/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankolsen%2Fenfo-world-news/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankolsen%2Fenfo-world-news/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hankolsen","download_url":"https://codeload.github.com/hankolsen/enfo-world-news/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankolsen%2Fenfo-world-news/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263855291,"owners_count":23520459,"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":["intersection-observer","lazy-loading","lighthouse","pwa","service-worker","vanilla-javascript"],"created_at":"2024-11-13T19:44:52.464Z","updated_at":"2025-07-06T05:39:22.641Z","avatar_url":"https://github.com/hankolsen.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enfo World News\nAn experiment trying to create some kind of a PWA using plain vanilla javascript. The app loads a list of news articles\nfrom an external API and renders the result.\n\n[Demo - https://enfoworldnews.com/](https://enfoworldnews.com/)\n\n* Tested in Chrome, Firefox and Edge.\n* Uses service-worker to cache static content.\n* Lazy loading images using Intersection Observer.\n\n### Lighthouse score\nSince some images are loaded from an external source I can't get performance much higher, unfortunately.  \n[![Light house score 100, 94, 100, 100](lighthouse_score.png \"Light house score 100, 94, 100, 100\")](https://googlechrome.github.io/lighthouse/viewer/?gist=8c9318bbbbaae88bf34040b23b631bdd)\n\n### Development setup\nThere are a few (optional) npm development dependencies, just for eslint and to create a local http dev server. \n\nRun `npm install` to install the dependencies.\n\nStart the http server with `npm start`.\n\n### Future improvements\n* Inline critical css styles\n* Uglify css and js\n* Versioning of static files for service worker to invalidate old cache\n* Gulp build process\n* Auto-complete suggestions for the search field\n* A better search field expansion toggling\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhankolsen%2Fenfo-world-news","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhankolsen%2Fenfo-world-news","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhankolsen%2Fenfo-world-news/lists"}