Titan Planet Logo

Quick Start

Build a native Rust backend using pure JavaScript in minutes

Welcome to Titan — a JavaScript-first backend framework that compiles your JavaScript routes and actions into a native Rust + Axum server.

You write zero Rust. Titan handles routing, bundling, runtime execution, hot reload, and deployment — all powered by Rust under the hood.


⚙ Requirements

Before installing Titan, make sure you have the following installed:

Verify your setup:

node -v
npm -v
rustc -V

📦 Installation

Install the Titan CLI globally using your preferred package manager.

npm install -g @ezetgalaxy/titan
pnpm add -g @ezetgalaxy/titan
yarn global add @ezetgalaxy/titan

Verify the installation:

titan --version

🚀 Create first server

Create your fist titan server using titan init

titan init my-app
# Follow the interactive prompt to choose:
# - JavaScript (Standard)
# - TypeScript (Beta)
# - Rust + JavaScript (Beta)
# - Rust + TypeScript (Beta)

Inside your project:

cd my-app
titan dev

You'll see the Titan Dev Server spin up:

  Titan Planet   v26.12.1   [ Dev Mode ]

  Type:        Rust + TS Actions
  Hot Reload:  Enabled
  Strict Mode: Active 🛡️

  • Preparing runtime... Done
  • A new orbit is ready for your app in 0.9s
  • Your app is now orbiting Titan Planet

Titan will:

  • Build routes
  • Bundle actions
  • Start Rust dev server
  • Trigger instant reload

Note: Titan automatically generates a .gitignore during titan init with all the necessary exclusions (like node_modules, .titan_test_run, and your native build artifacts), so you don't need to add them manually.


Migrating to Hybrid Actions

To use Rust Actions in an existing project:

  1. Update CLI: npm install -g @ezetgalaxy/titan
  2. Enable Template: Add to package.json:
    "titan": { "template": "rust" }
  3. Sync Orbit: Run titan update to scaffold the native core.

On this page