Skip to main content

Framework Detection

RailPush automatically detects your framework and configures build commands, start commands, and ports.

How It Works

When you paste a GitHub repo URL in the create service form, RailPush analyzes the repository files and auto-detects the framework. The build command, start command, runtime, and port are automatically configured.

You can always override any auto-detected settings before deploying.

Supported Frameworks

Next.jsNuxt 3Remix
SvelteKitAstroExpress
FastifyNestJSHono
React (Vite)VueCreate React App
DjangoFastAPIFlask
GoRuby on RailsRust
Static HTML
API
# Detect framework from a repo
curl -X POST https://railpush.com/api/v1/services/detect-framework \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"repo_url": "https://github.com/user/nextjs-app", "branch": "main"}'

# Response:
# {"detected": true, "framework": {
# "framework": "nextjs", "runtime": "node",
# "build_command": "npm run build",
# "start_command": "npm start", "port": 3000
# }}