{"id":13643625,"url":"https://github.com/jineshfrancs/CaptchaImageView","last_synced_at":"2025-04-21T02:30:52.156Z","repository":{"id":163804801,"uuid":"74731559","full_name":"jineshfrancs/CaptchaImageView","owner":"jineshfrancs","description":"Custom ImageView to generate captcha image.","archived":false,"fork":false,"pushed_at":"2018-01-23T13:08:32.000Z","size":316,"stargazers_count":611,"open_issues_count":2,"forks_count":81,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-11-09T15:43:10.825Z","etag":null,"topics":["captcha","captcha-image","custom-imageview"],"latest_commit_sha":null,"homepage":null,"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/jineshfrancs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-11-25T06:27:14.000Z","updated_at":"2024-11-02T04:41:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"15cca0c2-1f86-4ee2-88ec-77df5b1bd77a","html_url":"https://github.com/jineshfrancs/CaptchaImageView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jineshfrancs%2FCaptchaImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jineshfrancs%2FCaptchaImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jineshfrancs%2FCaptchaImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jineshfrancs%2FCaptchaImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jineshfrancs","download_url":"https://codeload.github.com/jineshfrancs/CaptchaImageView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249986033,"owners_count":21356311,"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":["captcha","captcha-image","custom-imageview"],"created_at":"2024-08-02T01:01:50.355Z","updated_at":"2025-04-21T02:30:47.147Z","avatar_url":"https://github.com/jineshfrancs.png","language":"Java","funding_links":["https://www.paypal.me/JINESHFRANCIS"],"categories":["ImageView","Generowanie"],"sub_categories":[],"readme":"# CaptchaImageView\n\n[![Github All Releases](https://img.shields.io/github/downloads/CaptchaImageView/CaptchaImageView/total.svg)](https://github.com/jineshfrancs/CaptchaImageView/archive/1.0.zip) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-CaptchaImageView-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/4719)  \u003ca target=\"_blank\" href=\"https://www.paypal.me/JINESHFRANCIS\" title=\"Donate using PayPal\"\u003e\u003cimg src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" /\u003e\u003c/a\u003e\n\nCustom ImageView to generate captcha image.\n\n\n![Output sample](https://github.com/jineshfrancs/CaptchaImageView/blob/master/screens/captcha_screen.gif) ![Output sample](https://github.com/jineshfrancs/CaptchaImageView/blob/master/screens/captcha_screen_2.gif)\n\nAdd CaptchaImageView to your layout\n```xml\n \u003ctest.jinesh.captchaimageviewlib.CaptchaImageView\n            android:layout_width=\"wrap_content\"\n            android:id=\"@+id/image\"\n            android:layout_weight=\"6\"\n            android:layout_margin=\"5dp\"\n            android:layout_height=\"50dp\"\n            /\u003e\n```\nCall regenerate() method on CaptchaImageView to regenerate your captcha\n\n```java\n captchaImageView= (CaptchaImageView) findViewById(R.id.image);\n refreshButton.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                captchaImageView.regenerate();\n            }\n });\n```\n\nCall getCaptchaCode() method on CaptchaImageView to read last generated captcha code.\n\n```java\n captchaImageView.getCaptchaCode()\n\n```\n\nUse in your project\n------\n\n1.Add it in your root build.gradle at the end of repositories:\n```gradle\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\n2.Add the dependency in your app build.gradle file:\n```gradle\ndependencies {\n\t        compile 'com.github.jineshfrancs:CaptchaImageView:1.0'\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjineshfrancs%2FCaptchaImageView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjineshfrancs%2FCaptchaImageView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjineshfrancs%2FCaptchaImageView/lists"}