YMJake.FusionCaptcha.Abstractions
1.1.2
dotnet add package YMJake.FusionCaptcha.Abstractions --version 1.1.2
NuGet\Install-Package YMJake.FusionCaptcha.Abstractions -Version 1.1.2
<PackageReference Include="YMJake.FusionCaptcha.Abstractions" Version="1.1.2" />
<PackageVersion Include="YMJake.FusionCaptcha.Abstractions" Version="1.1.2" />
<PackageReference Include="YMJake.FusionCaptcha.Abstractions" />
paket add YMJake.FusionCaptcha.Abstractions --version 1.1.2
#r "nuget: YMJake.FusionCaptcha.Abstractions, 1.1.2"
#:package YMJake.FusionCaptcha.Abstractions@1.1.2
#addin nuget:?package=YMJake.FusionCaptcha.Abstractions&version=1.1.2
#tool nuget:?package=YMJake.FusionCaptcha.Abstractions&version=1.1.2
FusionCaptcha
FusionCaptcha is a .NET captcha toolkit focused on three maintained modules:
PowCap(Proof-of-Work challenge)SlideCaptcha(slider puzzle)ClickSelectionCaptcha(ordered click selection)
The repository is intentionally scoped to these three modules for lower maintenance cost.
Packages
| Package | Description |
|---|---|
YMJake.FusionCaptcha.Abstractions |
Core contracts and shared models |
YMJake.FusionCaptcha.Core |
Base rendering pipeline and DI extensions |
YMJake.FusionCaptcha.PowCap |
PoW challenge server and token verification |
YMJake.FusionCaptcha.SlideCaptcha |
Slider captcha generation and validation |
YMJake.FusionCaptcha.ClickSelectionCaptcha |
Click-selection captcha generation and validation |
Rendering Status
FusionCaptcha.CoreusesVelloSharp + NetVipsfor base text captcha rendering.FusionCaptcha.SlideCaptchaandFusionCaptcha.ClickSelectionCaptchacurrently still useSkiaSharpin production paths.- Full rendering unification is planned and will be done incrementally to avoid regressions in slider/click puzzle behavior.
Storage Model
- The project now uses
IDistributedCachedirectly for captcha state. - For single-node/local runs, register
builder.Services.AddDistributedMemoryCache();. - For multi-node production, register a distributed provider such as Redis (for example
AddStackExchangeRedisCache(...)).
Quick Start (Minimal API)
See sample: samples/FusionCaptcha.MinimalApi
dotnet run --project samples/FusionCaptcha.MinimalApi
Default endpoints:
GET /slidePOST /slide/validateGET /pointPOST /point/validateGET /captchaPOST /captcha/validatePOST /cap/validateMapPowCapEndpoints()mounted routes
Sample Frontend
samples/captcha.web now contains only three tabs:
- Slider Puzzle
- Click Selection
- PoW (CAP)
Run:
cd samples/captcha.web
npm install
npm run dev
Notes
- Core image processing has been migrated away from ImageSharp.
- Deprecated/experimental modules have been removed from maintenance scope.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on YMJake.FusionCaptcha.Abstractions:
| Package | Downloads |
|---|---|
|
YMJake.FusionCaptcha.Core
Core components of YMJake.FusionCaptcha, including pipeline and Vello renderer. |
|
|
YMJake.FusionCaptcha.SlideCaptcha
Slide captcha implementation for YMJake.FusionCaptcha. |
|
|
YMJake.FusionCaptcha.ClickSelectionCaptcha
Click selection captcha implementation for YMJake.FusionCaptcha. |
|
|
YMJake.FusionCaptcha.PowCap
Proof-of-work CAPTCHA (CAP) integration for FusionCaptcha. |
GitHub repositories
This package is not used by any popular GitHub repositories.