Top 1.0% dependent packages on proxy.golang.org
Top 1.3% dependent repos on proxy.golang.org
Top 5.5% forks on proxy.golang.org
Top 1.7% docker downloads on proxy.golang.org
proxy.golang.org : github.com/LyricTian/captcha
Package captcha implements generation and verification of image and audio CAPTCHAs. A captcha solution is the sequence of digits 0-9 with the defined length. There are two captcha representations: image and audio. An image representation is a PNG-encoded image with the solution printed on it in such a way that makes it hard for computers to solve it using OCR. An audio representation is a WAVE-encoded (8 kHz unsigned 8-bit) sound with the spoken solution (currently in English, Russian, Chinese, and Japanese). To make it hard for computers to solve audio captcha, the voice that pronounces numbers has random speed and pitch, and there is a randomly generated background noise mixed into the sound. This package doesn't require external files or libraries to generate captcha representations; it is self-contained. To make captchas one-time, the package includes a memory storage that stores captcha ids, their solutions, and expiration time. Used captchas are removed from the store immediately after calling Verify or VerifyString, while unused captchas (user loaded a page with captcha, but didn't submit the form) are collected automatically after the predefined expiration time. Developers can also provide custom store (for example, which saves captcha ids and solutions in database) by implementing Store interface and registering the object with SetCustomStore. Captchas are created by calling New, which returns the captcha id. Their representations, though, are created on-the-fly by calling WriteImage or WriteAudio functions. Created representations are not stored anywhere, but subsequent calls to these functions with the same id will write the same captcha solution. Reload function will create a new different solution for the provided captcha, allowing users to "reload" captcha if they can't solve the displayed one without reloading the whole page. Verify and VerifyString are used to verify that the given solution is the right one for the given captcha id. Server provides an http.Handler which can serve image and audio representations of captchas automatically from the URL. It can also be used to reload captchas. Refer to Server function documentation for details, or take a look at the example in "capexample" subdirectory.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/%21lyric%21tian/captcha
Keywords:
go-captcha
License: MIT
Latest release: over 3 years ago
First release: about 6 years ago
Namespace: github.com/LyricTian
Dependent packages: 24
Dependent repositories: 16
Stars: 13 on GitHub
Forks: 16 on GitHub
Docker dependents: 1
Docker downloads: 136
See more repository details: repos.ecosyste.ms
Last synced: 27 days ago
github.com/lyrictian/gin-admin/v10 v10.0.2
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Cas...3 versions - Latest release: almost 2 years ago - 2,769 stars on GitHub
github.com/LyricTian/gin-admin/v10 v10.0.2
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Cas...3 versions - Latest release: almost 2 years ago - 2,769 stars on GitHub
github.com/linzhengen/ddd-gin-admin v0.0.0-20231031144056-eb626f9a03e1
This repository is a sample web application using DDD (Domain-Driven Design) architecture and Gin...9 versions - Latest release: about 2 years ago - 97 stars on GitHub
github.com/lmxia/highway v0.0.0-20230531145954-c8dbcfe365eb
10 versions - Latest release: over 2 years agogithub.com/brookzhou/gin-admin/v8 v8.1.0 removed
3 versions - Latest release: about 4 years agogithub.com/lyrictian/gin-admin/v8 v8.1.0
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Cas...3 versions - Latest release: about 4 years ago - 2,769 stars on GitHub
github.com/morezig/teambuy_admin/v8 v8.1.0
RBAC scaffolding based on Gin + Gorm 2.0 + Casbin + Wire DI.3 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/LyricTian/gin-admin/v8 v8.1.0
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Cas...3 versions - Latest release: about 4 years ago - 1 dependent repositories - 2,769 stars on GitHub
github.com/yuleihua/tower v0.0.0-20210726073941-4b55cb2a02e4
2 versions - Latest release: over 4 years agogithub.com/linzhengen/gin-admin-with-frontend-sample v0.0.0-20210421020930-68868cecbb4b
A gin-admin with frontend sample Project1 version - Latest release: over 4 years ago - 3 stars on GitHub
github.com/lyrictian/gin-admin/v7 v7.0.1
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Cas...2 versions - Latest release: over 4 years ago - 2,769 stars on GitHub
github.com/LyricTian/gin-admin/v7 v7.0.1
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Cas...2 versions - Latest release: over 4 years ago - 2,769 stars on GitHub
github.com/LyricTian/gin-admin/v6 v6.4.4
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Cas...10 versions - Latest release: over 5 years ago - 1 dependent package - 2,769 stars on GitHub
github.com/lyrictian/gin-admin/v6 v6.4.4
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Cas...10 versions - Latest release: over 5 years ago - 2,769 stars on GitHub
github.com/tanjiancheng/gin-amis-admin v1.0.2
A platform to help developer to build admin panel in five minutes3 versions - Latest release: over 5 years ago - 17 stars on GitHub
github.com/cebrains/gin-amis-admin v1.0.2
3 versions - Latest release: over 5 years agogitlab.tednoc.id/monosense/rms v0.0.0-20200630124305-98849e274c2a
1 version - Latest release: over 5 years agogitee.com/forging2012/gin-admin v0.1.1
2 versions - Latest release: almost 6 years agogithub.com/levin9/go-admin v0.0.0-20191221075522-ab75adb1fb22
1 version - Latest release: almost 6 years ago - 0 stars on GitHubgithub.com/MayCMS/core v0.1.0
1 version - Latest release: about 6 years agogithub.com/maycmf/core v0.1.0
:sunflower: MayCMF Core1 version - Latest release: about 6 years ago - 0 stars on GitHub
github.com/maycms/core v0.1.0
1 version - Latest release: about 6 years agogithub.com/MayCMF/core v0.1.0
:sunflower: MayCMF Core1 version - Latest release: about 6 years ago - 0 stars on GitHub
github.com/wanhello/iris-admin v0.0.0-20190915063729-831d175e9671
1 version - Latest release: about 6 years agoCheck this option to include packages that no longer depend on this package in their latest version but previously did.