@rytora.ai/deploy-engine
v0.1.0
Published
Multi-framework deploy engine — Vercel, Railway, Fly.io with auto-detection (Next/Nuxt/Remix/SvelteKit/Astro/Vite/Node/Python/Go/Rust/Ruby/Java/.NET/PHP/Container)
Maintainers
Readme
@rytora.ai/deploy-engine
Multi-framework deploy engine for Rytora Code and the Rytora BuildLabs platform. Detects project type from file presence + content, selects the right provider (Vercel/Railway/Fly), and orchestrates the deploy with framework-aware build/start commands.
Install
npm install @rytora.ai/deploy-engineDetection coverage
Frontend / SSR → Vercel: Next.js · Nuxt · Remix · SvelteKit · Astro · TanStack Start · Qwik · SolidStart · Vite (React/Vue/Svelte/Solid/Preact) · Angular · Static HTML
Backends → Railway: Node (Express/Fastify/NestJS/Hono/Koa) · Python (FastAPI/Flask/Django/Litestar) · Go (net/http/Gin/Fiber/Echo) · Rust (Axum/Actix/Rocket) · Ruby (Rails/Sinatra) · Java (Spring) · Kotlin (Ktor) · .NET · PHP (Laravel/Symfony)
Container (Dockerfile detected) → Railway
Quick start
import { DeployOrchestrator, detectProject } from '@rytora.ai/deploy-engine';
// Just detect (no deploy)
const project = detectProject({ files: [{ path: 'package.json', content: '...' }] });
console.log(project.type, project.suggestedProvider, project.confidence);
// Detect + deploy
const orchestrator = new DeployOrchestrator();
for await (const event of orchestrator.deploy({
strategy: 'VERCEL_ONLY', // or 'RAILWAY_ONLY' | 'FLY_ONLY' | 'CONTAINER'
projectName: 'my-app',
files: [...projectFiles],
envVars: { API_KEY: '...' },
tokens: { vercel: 'vercel_token', railway: 'railway_token' },
})) {
switch (event.type) {
case 'start': console.log('Starting...'); break;
case 'detect': console.log(event.message); break;
case 'upload': console.log('Uploading...'); break;
case 'build': console.log('Building...'); break;
case 'deploy': console.log(`Deploying ${event.deploymentId}`); break;
case 'success': console.log(`Live at ${event.url}`); break;
case 'error': console.error(event.error); break;
}
}License
MIT — © 2026 Rytora AI Technology & Solutions
