Railway

Deploy Cap

The self-hosted CAPTCHA for the modern web. Official template for Railway.

Deploy Cap

Just deployed

/usr/src/app/data

Just deployed

/data

Deploy Cap on Railway

Cap is a lightweight, modern open-source CAPTCHA alternative using proof-of-work and instrumentation challenges. It's fast, private, and extremely simple to integrate.

This is the only official Cap template on Railway.

Deploy and Host Cap

Cap replaces visual captchas with modern, accessible and privacy-preserving challenges. No images, no tracking, no dependencies, works everywhere.

About Hosting

Cap's official Railway template includes everything built-in, including a Valkey database and the v3 dashboard.

Common Use Cases

  • Protect contact forms. Stop spam bots from flooding your contact forms and email inbox

  • Block bot signups. Block automated bot accounts from creating fake user signups.

  • Guard API endpoints: Block malicious scripts from abusing your public APIs while keeping them accessible to legitimate users

Dependencies for Cap Hosting

Cap runs as a Docker container and requires no additional dependencies when deployed on Railway. Valkey support is built-in.

Deployment Dependencies

We recommend consulting Cap's docs at https://trycap.dev

Why Deploy Cap on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Cap on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Keycloak
Keycloak template with keywind theme + apple and discord providers

beuz
View Template
lua-protector
Test deployed my project first

trianaq765-cmd's Project
View Template
bknd
Feature-rich yet lightweight backend