A simple and easy for bots to break captcha server
- TypeScript 88.7%
- CSS 9.3%
- Dockerfile 1.2%
- HTML 0.8%
| src | ||
| styles | ||
| .gitignore | ||
| build.ts | ||
| bun-env.d.ts | ||
| bun.lock | ||
| bunfig.toml | ||
| components.json | ||
| dataset.json | ||
| Dockerfile | ||
| package.json | ||
| README.md | ||
| sharp.ts | ||
| tsconfig.json | ||
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