{"id":13804018,"url":"https://github.com/luqmanoop/react-thanos","last_synced_at":"2025-04-14T09:41:44.112Z","repository":{"id":36198867,"uuid":"184150187","full_name":"luqmanoop/react-thanos","owner":"luqmanoop","description":"React hooks implementation of Google's \"Thanos\" easter egg","archived":false,"fork":false,"pushed_at":"2023-03-03T07:50:12.000Z","size":3261,"stargazers_count":34,"open_issues_count":6,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-06T22:32:59.232Z","etag":null,"topics":["avengers-endgame","react","thanos","thanos-snap-effect"],"latest_commit_sha":null,"homepage":"https://react-thanos.netlify.com/","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/luqmanoop.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-29T21:59:56.000Z","updated_at":"2025-03-18T08:33:04.000Z","dependencies_parsed_at":"2024-04-27T16:10:54.003Z","dependency_job_id":null,"html_url":"https://github.com/luqmanoop/react-thanos","commit_stats":null,"previous_names":["luqmanoop/react-thanos","codeshifu/react-thanos"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luqmanoop%2Freact-thanos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luqmanoop%2Freact-thanos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luqmanoop%2Freact-thanos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luqmanoop%2Freact-thanos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luqmanoop","download_url":"https://codeload.github.com/luqmanoop/react-thanos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248855941,"owners_count":21172669,"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":["avengers-endgame","react","thanos","thanos-snap-effect"],"created_at":"2024-08-04T01:00:40.339Z","updated_at":"2025-04-14T09:41:44.086Z","avatar_url":"https://github.com/luqmanoop.png","language":"JavaScript","funding_links":[],"categories":["Examples"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://i.imgur.com/1XVqHMa.png\"\u003e\n\u003ch1\u003ereact-thanos\u003c/h1\u003e\n\u003cp\u003eReact hooks implementation of Google's  \u003ca href=\"https://www.youtube.com/watch?v=ybNtKpROwes\"\u003e\u003cstrong\u003eThanos\u003c/strong\u003e\u003c/a\u003e easter egg\u003c/p\u003e\n\u003c/div\u003e\n\n## Prerequisite\n- [NodeJS](https://nodejs.org)\n- Project running \u003e=[React **16.8**](https://reactjs.org/blog/2019/02/06/react-v16.8.0.html)\n## Installation 📦\n\n```bash\nnpm install react-thanos\n```\n\nor with yarn\n\n```bash\nyarn add react-thanos\n```\n\n## Usage\n\n```javascript\nimport { Thanos } from \"react-thanos\";\n\n\u003cThanos\n  onSnap={() =\u003e console.log(\"I love you 3000! Decimate...\") }\n  onSnapReverse={() =\u003e console.log(\"Avengers assemble!\") }\n/\u003e\n```\n\n## Examples\nSee [examples](https://github.com/codeshifu/react-thanos/tree/master/examples) folder\n\nLive demo https://react-thanos.netlify.com/\n\n## API (props)\n\n### onSnap()\n\nType: `function`\n\nCalled after Thanos snaps his finger\n\n### onSnapReverse()\n\nType: `function`\n\nCalled after Thanos undo/reverse snap\n\n\n## Inspiration\nThis project was inspired by the famous Google's [Thanos easter egg](http://google.com/search?q=thanos) released\nshortly after [Avengers: Endgame](https://www.imdb.com/title/tt4154796/) premiered in cinemas.\n\n## Credits\n[Assets](https://github.com/codeshifu/react-thanos/tree/master/lib/assets)\nused in this project were downloaded from Google. I own no rights to them.\n\n## Contributing\nFeel free to send in contributions of any kind. All are welcome 🙂\n\n## License\n**react-thanos** is licensed under [MIT](https://github.com/codeshifu/react-thanos/blob/master/license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluqmanoop%2Freact-thanos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluqmanoop%2Freact-thanos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluqmanoop%2Freact-thanos/lists"}