https://github.com/lets-blade/blade-captcha
Blade integrated graphic verification code
https://github.com/lets-blade/blade-captcha
Last synced: 4 months ago
JSON representation
Blade integrated graphic verification code
- Host: GitHub
- URL: https://github.com/lets-blade/blade-captcha
- Owner: lets-blade
- Created: 2022-05-10T12:26:27.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-10T12:31:58.000Z (about 4 years ago)
- Last Synced: 2025-07-24T14:38:52.303Z (11 months ago)
- Language: HTML
- Size: 385 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blade-Patchca: verification code library for Java
## Overview
Simple yet powerful verification code library written in Java with zero dependency.
You can generate verification code picture like this:






**Numeric**



**Chinese**



**Built-in fonts**



### Steps to Integrate
- Add following dependency in your `pom.xml`
```xml
com.hellokaton
blade-captcha
0.1.0
```
- Add following dependency in your code
```java
@GET("/captcha")
public void captcha() throws IOException {
GifCaptcha captcha = new GifCaptcha(130, 48, 6);
System.out.println(captcha.text());
CaptchaKit.render(captcha);
}
```
# Special thanks
- [EasyCaptcha](https://gitee.com/ele-admin/EasyCaptcha)