{"id":15777209,"url":"https://github.com/healeycodes/random-mdn-page","last_synced_at":"2025-07-05T00:06:43.651Z","repository":{"id":112378210,"uuid":"186231292","full_name":"healeycodes/random-mdn-page","owner":"healeycodes","description":"Random pages from the MDN JavaScript Docs, delivered fresh to your browser 🌎","archived":false,"fork":false,"pushed_at":"2019-05-17T12:12:39.000Z","size":133,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-05T17:43:09.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://random-mdn-page.glitch.me/","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/healeycodes.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":"2019-05-12T08:44:45.000Z","updated_at":"2024-07-07T12:53:02.000Z","dependencies_parsed_at":"2023-05-14T04:00:08.864Z","dependency_job_id":null,"html_url":"https://github.com/healeycodes/random-mdn-page","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/healeycodes/random-mdn-page","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Frandom-mdn-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Frandom-mdn-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Frandom-mdn-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Frandom-mdn-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/random-mdn-page/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Frandom-mdn-page/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263636796,"owners_count":23492305,"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":[],"created_at":"2024-10-04T17:43:14.184Z","updated_at":"2025-07-05T00:06:43.630Z","avatar_url":"https://github.com/healeycodes.png","language":"JavaScript","readme":"### [Random MDN page](https://random-mdn-page.glitch.me/)\n\nI created this tiny project in order to write about my process to help beginner web devs!\n\n[A Tiny Project, From Inception to Deployment](https://healeycodes.github.io/javascript/webdev/glitch/tutorial/2019/05/12/tiny-project-to-completion.html)\n\n\u003cbr\u003e\n\nAn Express app that serves up a card of a random MDN JavaScript page.\n\nUses the Bulma CSS framework, as well as Puppeteer for the initial scraping.\n\n[![](https://github.com/healeycodes/random-mdn-page/blob/master/rnd-mdn-preview.png \"Image of a random MDN page card\")](https://random-mdn-page.glitch.me/)\n\n\u003cbr\u003e\n\n#### Routes\n\n`/` - for the card.\n\n`/rnd` - for the card JSON.\n\n\u003cbr\u003e\n\n#### Maintenance\n\nScrape for new pages:\n\n`node getNewPages.js`\n\n\u003cbr\u003e\n\n#### Improvement ideas\n\n- Move the scraping to a cron job\n- Address the ~1/900 chance of getting the same page twice\n  - Perhaps a client-side re-request?\n\u003cbr\u003e\n\nMade by [@healeycodes](https://twitter.com/healeycodes)\n-------------------\n\n\\ ゜o゜)ノ\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Frandom-mdn-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Frandom-mdn-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Frandom-mdn-page/lists"}