{"id":18856007,"url":"https://github.com/rickycodes/random-404","last_synced_at":"2025-04-14T11:06:18.328Z","repository":{"id":6157951,"uuid":"7387463","full_name":"rickycodes/random-404","owner":"rickycodes","description":"A simple 404 page that uses the pathname as input to generate a 404 message.","archived":false,"fork":false,"pushed_at":"2018-04-28T08:09:34.000Z","size":522,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T11:06:14.033Z","etag":null,"topics":["404","javascript","reddit","speech","speech-synthesis"],"latest_commit_sha":null,"homepage":"http://ricky.codes/lol/wat","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/rickycodes.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}},"created_at":"2012-12-31T13:52:19.000Z","updated_at":"2024-07-30T16:13:53.000Z","dependencies_parsed_at":"2022-08-26T02:30:18.228Z","dependency_job_id":null,"html_url":"https://github.com/rickycodes/random-404","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Frandom-404","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Frandom-404/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Frandom-404/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Frandom-404/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickycodes","download_url":"https://codeload.github.com/rickycodes/random-404/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868768,"owners_count":21174757,"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":["404","javascript","reddit","speech","speech-synthesis"],"created_at":"2024-11-08T03:57:20.628Z","updated_at":"2025-04-14T11:06:18.308Z","avatar_url":"https://github.com/rickycodes.png","language":"JavaScript","readme":"## Random 404\n[![Build Status](https://api.travis-ci.org/rickycodes/random-404.svg?branch=master)](https://travis-ci.org/rickycodes/random-404/)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n![wat](http://ricky.codes/i/deal-with-it.gif?v=lol)\n\nA simple 404 page that uses the URL's `pathname` as input to generate a custom message.\n\n## Features\n\n* Dyanmic text-to-speech via [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance)\n* Control [`pitch (0-2)`](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch), [`rate (0.1-10)`](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate), [`volume (0-1)`](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume), [`voice (depends on OS)`](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice), and `wordgap` (seconds) of speech via query parameters\n* Random background fetched from: http://reddit.com/r/wheredidthesodago/ or bring your own resource via `lol` query parameter\n* Complete disregard for sane coding practices\n\n## Installation\n\nSimply configure your http daemon to use the two files in `/public` (after you `npm run build`) as your global 404 e.g.: `error_page 404 /404/index.html;`, _et voilà!_\n\n## Examples\n\n**stringy things:**\n* \u003ca target='_blank' href='http://ricky.codes/no/u'\u003ehttp://ricky.codes/no/u\u003c/a\u003e\n* \u003ca target='_blank' href='http://ricky.codes/y/u/ಠ_ಠ'\u003ehttp://ricky.codes/y/u/ಠ_ಠ\u003c/a\u003e\n* \u003ca target='_blank' href='http://ricky.codes/%7C%20(•%20◡•)%7C%20(❍ᴥ❍ʋ)'\u003ehttp://ricky.codes/%7C%20(•%20◡•)%7C%20(❍ᴥ❍ʋ)\u003c/a\u003e\n* \u003ca target='_blank' href='http://ricky.codes/☁→❄→☃'\u003ehttp://ricky.codes/☁→❄→☃\u003c/a\u003e\n* \u003ca target='_blank' href='http://ricky.codes/yo/dat/sheeee/is/🔥'\u003ehttp://ricky.codes/yo/dat/sheeee/is/🔥\u003c/a\u003e\n\n**bring your own image:**\n* \u003ca target='_blank' href='http://ricky.codes/lol/butts/?lol=http://i1.wp.com/farm9.staticflickr.com/8342/8176438031_ea9d9980d6_z.jpg'\u003ehttp://ricky.codes/lol/butts/?lol=http://i1.wp.com/farm9.staticflickr.com/8342/8176438031_ea9d9980d6_z.jpg\u003c/a\u003e\n\n**alter `pitch`, `rate` \u0026 `wordgap`:**\n* \u003ca target='_blank' href='http://ricky.codes/where/did/the/soda/go?rate=0.1\u0026pitch=0.1\u0026wordgap=1'\u003ehttp://ricky.codes/where/did/the/soda/go?rate=0.1\u0026pitch=0.1\u0026wordgap=1\u003c/a\u003e\n\n## Notes\n\nPaths will vary depending on environment.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickycodes%2Frandom-404","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickycodes%2Frandom-404","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickycodes%2Frandom-404/lists"}