{"id":18927374,"url":"https://github.com/therebelrobot/react-nyan","last_synced_at":"2025-10-15T22:19:09.724Z","repository":{"id":57341985,"uuid":"142366918","full_name":"therebelrobot/react-nyan","owner":"therebelrobot","description":"Add a hidden nyancat/flappy bird game to your React app! :rainbow: :smiley_cat:","archived":false,"fork":false,"pushed_at":"2018-07-26T01:30:26.000Z","size":173,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T00:24:02.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/therebelrobot.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}},"created_at":"2018-07-26T00:18:26.000Z","updated_at":"2023-09-08T17:43:09.000Z","dependencies_parsed_at":"2022-09-16T03:01:17.279Z","dependency_job_id":null,"html_url":"https://github.com/therebelrobot/react-nyan","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/therebelrobot%2Freact-nyan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therebelrobot%2Freact-nyan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therebelrobot%2Freact-nyan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therebelrobot%2Freact-nyan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/therebelrobot","download_url":"https://codeload.github.com/therebelrobot/react-nyan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239923151,"owners_count":19719095,"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-11-08T11:18:59.561Z","updated_at":"2025-10-15T22:19:04.687Z","avatar_url":"https://github.com/therebelrobot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-nyan\n\nInsert at hidden flappy-bird clone with nyan-cat into your React application!\n\n[Demo](https://therebelrobot.com/react-nyan)\n\nDefaults to binding to Ctrl + Option + Command + Shift + n on Mac (ctrl+alt+win+shift+n on windows). You can override this with the `hotkey` attribute. Valid hotkey combos are pulled from [react-hotkeys](https://github.com/greena13/react-hotkeys#key-combinations--sequences)\n\n## Install\n\n```\nnpm install --save react-nyan\n\n// or\n\nyarn add react-nyan\n```\n\n## Developer Usage\n\n(pretty much the same as the demo page)\n```\nimport React from \"react\";\nimport { render } from \"react-dom\";\nimport Nyan from \"react-nyan\";\n\nfunction Demo() {\n  return (\n    \u003cdiv\u003e\n\n      \u003ch1\u003eDemo (press ctrl+alt+win+shift+n on windows, and ctrl+option+command+shift+n on mac)\u003c/h1\u003e\n      \u003cNyan /\u003e\n\n      \u003chr /\u003e\n\n      \u003ch1\u003eDemo with custom hotkey (press ctrl+n)\u003c/h1\u003e\n      \u003cNyan hotkey=\"ctrl+n\"/\u003e\n\n    \u003c/div\u003e\n  );\n}\n\nrender(\u003cDemo /\u003e, document.getElementById(\"app\"));\n```\n\n## Credit\nThis code was modified (with love) from [codepen.io/Shmiddty](https://codepen.io/Shmiddty/pen/ezHJD)\n\n## License\n[MIT](https://tldrlegal.com/license/mit-license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherebelrobot%2Freact-nyan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftherebelrobot%2Freact-nyan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherebelrobot%2Freact-nyan/lists"}