{"id":21574667,"url":"https://github.com/jintin/intention","last_synced_at":"2026-05-19T00:33:38.538Z","repository":{"id":141913074,"uuid":"323768494","full_name":"Jintin/Intention","owner":"Jintin","description":"Intention is a tool to help you materialize your intent from interface for Android.","archived":false,"fork":false,"pushed_at":"2020-12-24T08:54:18.000Z","size":144,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T06:48:07.698Z","etag":null,"topics":["android","annotation-processing","intent","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/Jintin.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":"2020-12-23T01:05:21.000Z","updated_at":"2024-02-22T03:35:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5142cd8-24ad-4ca3-8ef3-9c720d6ac1ae","html_url":"https://github.com/Jintin/Intention","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jintin/Intention","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jintin%2FIntention","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jintin%2FIntention/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jintin%2FIntention/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jintin%2FIntention/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jintin","download_url":"https://codeload.github.com/Jintin/Intention/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jintin%2FIntention/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33196184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","annotation-processing","intent","kotlin"],"created_at":"2024-11-24T12:10:42.109Z","updated_at":"2026-05-19T00:33:38.533Z","avatar_url":"https://github.com/Jintin.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intention\nIntention is a tool to help you materialize your intent easily for Android.\n\nAll you need to do is to provide an interface contract of how to generate your Intent with context and your data.\n\nContract example:\n```kotlin\n@Intention(MainActivity::class)\ninterface MainActivityRouter {\n\n    fun getIntent(\n        context: Context,\n        @Extra(\"MyKey\") value: String?,\n        @Extra(\"MyKey2\") value2: Int = 345\n    ): Intent\n\n}\n```\nAfter compiler the generate class will name as the interface with suffix `Util` and you can use it directly!\n\nUsage example:\n```kotlin\n// generate intent\nval intent = MainActivityRouterUtil.getIntent(this, \"myData\")\n\n// get data from intent\nintent.getStringExtra(\"MyKey\") // \"myData\"\nintent.getIntExtra(\"MyKey2\", 0) // 345\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjintin%2Fintention","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjintin%2Fintention","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjintin%2Fintention/lists"}