Templates
Built-in Templates
Section titled “Built-in Templates”Python
Section titled “Python”coderaft init myapp --template pythonIncludes: Python 3, pip, venv, build tools
Ports: 5000, 8000
Node.js
Section titled “Node.js”coderaft init myapp --template nodejsIncludes: Node.js 22, npm, build tools
Ports: 3000, 8080
coderaft init myapp --template goIncludes: Go 1.24, git, build tools
Ports: 8080
Web (Full-stack)
Section titled “Web (Full-stack)”coderaft init myapp --template webIncludes: Python 3 + Node.js 22 + nginx + flask + django + fastapi + TypeScript + Vue CLI + Next.js
Ports: 80, 3000, 5000, 8000
Custom Templates
Section titled “Custom Templates”Create custom templates in ~/.coderaft/templates/:
{ "name": "rust-template", "description": "Rust development environment", "config": { "base_image": "buildpack-deps:bookworm", "setup_commands": [ "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y", "source $HOME/.cargo/env" ], "environment": { "PATH": "/root/.cargo/bin:$PATH" } }}Template Commands
Section titled “Template Commands”coderaft templates list # List all templatescoderaft templates show <name> # View template contentscoderaft init myapp -t <name> # Use template