{"id":30429751,"url":"https://github.com/thiagokimo/konamicode","last_synced_at":"2025-08-22T17:36:39.369Z","repository":{"id":35475657,"uuid":"39744293","full_name":"thiagokimo/KonamiCode","owner":"thiagokimo","description":"Installs the Konami code easter-egg into your Android app ;)","archived":false,"fork":false,"pushed_at":"2021-01-12T11:53:10.000Z","size":315,"stargazers_count":89,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-01T12:04:33.727Z","etag":null,"topics":["android","easter-egg","konami","konamicode","listen","swipe"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thiagokimo.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":"2015-07-26T22:19:22.000Z","updated_at":"2022-11-27T00:58:43.000Z","dependencies_parsed_at":"2022-07-29T19:09:47.898Z","dependency_job_id":null,"html_url":"https://github.com/thiagokimo/KonamiCode","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/thiagokimo/KonamiCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagokimo%2FKonamiCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagokimo%2FKonamiCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagokimo%2FKonamiCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagokimo%2FKonamiCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagokimo","download_url":"https://codeload.github.com/thiagokimo/KonamiCode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagokimo%2FKonamiCode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271673564,"owners_count":24800717,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["android","easter-egg","konami","konamicode","listen","swipe"],"created_at":"2025-08-22T17:36:30.369Z","updated_at":"2025-08-22T17:36:39.355Z","avatar_url":"https://github.com/thiagokimo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KonamiCode\n---\nEasy install of our favorite easter-egg!\n\n![konami-code-tutorial](https://static.wikia.nocookie.net/logopedia/images/d/dc/Konami_1986.svg/revision/latest/scale-to-width-down/200?cb=20200722095647)\n\n![JitPack Badge](https://img.shields.io/github/release/thiagokimo/KonamiCode.svg?label=JitPack)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-KonamiCode-green.svg?style=flat)](https://android-arsenal.com/details/1/2202)\n\n## Preview\n[![Get it on Google Play](https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png)](https://play.google.com/store/apps/details?id=io.kimo.konami)\n\n[![a screenshot](https://raw.githubusercontent.com/thiagokimo/KonamiCode/master/assets/konami-code-screenshot.png)](https://youtu.be/vIRdoI-V-Pk)\n\n\n## Inculde in your project\n### Gradle\n\nAdd the JitPack repository to your build file:\n\n``` groovy\nrepositories {\n    maven {\n\t    url \"https://jitpack.io\"\n\t}\n}\n```\n\nAdd the dependency in the form:\n\n```groovy\ndependencies {\n    compile 'com.github.thiagokimo:KonamiCode:1.1.6'\n}\n```\n\n### Maven\n\nIf you use Maven, add this into your build file:\n\n``` xml\n\u003crepository\u003e\n    \u003cid\u003ejitpack.io\u003c/id\u003e\n\t\u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\u003c/repository\u003e\n```\n\nAnd them this into your dependencies\n``` xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.thiagokimo\u003c/groupId\u003e\n    \u003cartifactId\u003eKonamiCode\u003c/artifactId\u003e\n\t\u003cversion\u003e1.1.6\u003c/version\u003e\n\u003c/dependency\u003e\n```\n## How to use\n\nAdd the following code in your Activity:\n\n``` java\nnew KonamiCode.Installer(context)\n        .on(activity-or-fragment-or-view)\n        .install();\n```\n\nThe library injects a [KonamiCodeLayout](https://github.com/thiagokimo/KonamiCode/blob/master/library/src/main/java/io/kimo/konamicode/KonamiCodeLayout.java) as the first child of your Activity's view. It listens your swipe events without harming\n the touch events of the original view.\n\nFor the first part of the Konami code, swipe into the correct directions. If you do it correctly,\nan AlertDialog with the buttons **A**, **B** and **START** will appear. Pressing them correctly will\ntrigger the final callback.\n\nBy default a callback with a Toast message will appear. You can customize the final callback by yourself:\n\n``` java\nnew KonamiCode.Installer(context)\n        .on(activity-or-fragment-or-view)\n        .callback(new KonamiCodeLayout.Callback() {\n            @Override\n            public void onFinish() {\n                //whatever\n            }\n        })\n        .install();\n```\n\n### Attention\nMake sure you add this **AFTER** your view is set, otherwise it won't listen to your swipes. KonamiCode adds a swipe listener into the root view of your Activity.\n\n## Contribuiting\n\n1. Fork it\n2. Create your feature/bug-fix branch(`git checkout -b my-new-feature-or-fix`)\n3. Commit your changes (`git commit -am 'Add some feature/fix'`)\n4. Do your pull-request\n\n## Developed by\n\n* Thiago Rocha - http://kimo.io - \u003ckimo@kimo.io\u003e\n\n## License\n\n    Copyright 2011, 2012 Thiago Rocha\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagokimo%2Fkonamicode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagokimo%2Fkonamicode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagokimo%2Fkonamicode/lists"}