A simple and easy for bots to break captcha server
  • TypeScript 88.7%
  • CSS 9.3%
  • Dockerfile 1.2%
  • HTML 0.8%
Find a file
2026-05-23 10:28:28 -06:00
src Prevent users from submitting after timeout 2026-05-23 10:28:28 -06:00
styles Initial commit 2026-05-23 08:57:31 -06:00
.gitignore Initial commit 2026-05-23 08:57:31 -06:00
build.ts Initial commit 2026-05-23 08:57:31 -06:00
bun-env.d.ts Initial commit 2026-05-23 08:57:31 -06:00
bun.lock Initial commit 2026-05-23 08:57:31 -06:00
bunfig.toml Initial commit 2026-05-23 08:57:31 -06:00
components.json Initial commit 2026-05-23 08:57:31 -06:00
dataset.json Initial commit 2026-05-23 08:57:31 -06:00
Dockerfile Initial commit 2026-05-23 08:57:31 -06:00
package.json Initial commit 2026-05-23 08:57:31 -06:00
README.md Initial commit 2026-05-23 08:57:31 -06:00
sharp.ts Initial commit 2026-05-23 08:57:31 -06:00
tsconfig.json Initial commit 2026-05-23 08:57:31 -06:00

Simple captcha

To build:

bun run ./build.ts

The built binary will be in the dist folder.

Configure it by editing the define block in build.ts.

Start on linux

Install libvips globally, OR:

Get prebuilt libvips

Glibc

mkdir -p lib
cp node_modules/@img/sharp-libvips-linux-*/lib/*.so* ./lib

Musl

mkdir -p lib
cp node_modules/@img/sharp-libvips-linuxmusl-*/lib/*.so* ./lib

Start with the prebuilt libvips

Start your binary like this

LD_LIBRARY_PATH="$PWD/lib" ./your_binary