KontyraKontyra Docs
Flagship Cloud IDE•devos.kontyra.name.ng

DevOS Cloud Code Execution Platform

The definitive technical guide to DevOS: in-browser Monaco editing, node-pty process sandboxes, live preview runtime, edge subdomain deployment, and terminal CLI integration.

1. Overview & Vision

DevOS is designed to eliminate the friction of local environment setup, dependencies, and deployment pipeline configuration. Rather than forcing developers to configure Docker, build tools, SSH keys, and remote servers just to test or share a project, DevOS provides an instant, isolated cloud computing environment in seconds.

Zero-Config Onboarding

Create a Next.js, Vite, React, Python, or Node.js sandbox in one click with instant hot-reloading.

Automatic Edge Previews

Every project deployed receives its own live public subdomain with wildcard SSL certificates.

2. Architecture & Sandboxing Engine

DevOS isolates every project inside a virtualized process boundary utilizing an asynchronous Express and WebSocket runtime combined with in-browser bundling.

DevOS Cloud Execution Pipeline

From keystroke in Monaco to live public edge deployment in seconds

Pipeline Flow
Browser Monaco EditorClient IDE
Realtime over WebSockets

In-browser VS Code Monaco editor with full language servers and multi-file tree.

DevOS Express ServerControl Plane
Token & Quota Check

Verifies RS256 session tokens, checks subscription tier quotas, and creates sandbox sessions.

Node-PTY Virtual ContainerPOSIX Sandbox
Ephemeral Subprocess

Executes build processes, installs packages, and runs Node/Python servers under CPU/RAM limits.

Edge Subdomain RouterGlobal CDN
Instant Live URL

Automatically provisions wildcard SSL ingress and routes traffic directly to the container port.

Monaco Code Editor: The same editor powering Visual Studio Code, configured with syntax highlighting for over 40 languages, multi-tab navigation, and integrated diff viewers.

Process Virtualization (Node-PTY & xterm.js): Provides full POSIX terminal emulation. Commands like npm install, git commit, and python main.py execute inside an isolated subprocess with strict CPU and RAM thresholds.

3. The Official CLI: @kontyra/devos

Every major modern developer platform — from Vercel (vercel) and GitHub (gh) to Stripe (stripe) and Cloudflare (wrangler) — maintains an official CLI because developers write code locally in their terminal.

Installation & Instant Execution
Terminal
# Run instantly without global installation:
npx @kontyra/devos

# Or install globally via npm:
npm install -g @kontyra/devos

The Interactive TUI Dashboard (devos)

When executed without flags in a directory, devos launches an interactive ASCII dashboard allowing developers to navigate actions with arrow keys:

devos — bash — 80×24
@kontyra/devos v1.2.0
~/apps/my-project$npx @kontyra/devos
Interactive Actions (Use Arrow Keys or Click) Live TUI Emulator
▶1
Deploy Project— Build & push current directory to DevOS Cloud Edge
Recommended
2
Cloud Sandbox / Shell— Start isolated node-pty execution container
3
Project Initializer— Scaffold devos.json or starter template
4
Deployments & Domains— Browse live edge subdomains (*.devos.kontyra.name.ng)
5
Kontyra SSO & Auth— Sign in with biometric token, inspect active session
6
Project Configuration— Inspect & modify build commands and environment variables
7
System Diagnostics— Check edge cluster health and CDN routing latency
8
Docs & Shortcuts— Open interactive CLI quick reference guide
9
Exit Dashboard— Return to local host terminal session
↑ / ↓ NavigateEnter Select1-9 Jumpo Browser
Terminal Status: Ready (Edge Cluster Online)

Non-Interactive Command Matrix

CommandPurposeOptionsQuick Copy
devos deployArchives and deploys folder to edge subdomain--dir, --name, --build
devos loginSaves Kontyra authentication token--token <jwt>
devos whoamiDisplays active user account and tier—
devos initGenerates devos.json configuration file—
devos statusQueries edge cluster status and latency—
devos logoutClears local stored session tokens—

4. Edge Subdomains & Domain Routing

Every deployment routed via DevOS maps automatically into an edge subdomain pattern with zero DNS configuration:

PurposeSubdomain PatternExampleVisit
Project Deployment{project}-{username}.devos.kontyra.name.ngshop-alex.devos.kontyra.name.ngVisit →
Developer Portfolio{username}.devos.kontyra.name.ngalex.devos.kontyra.name.ngVisit →
Organization Workspace{org}.org.devos.kontyra.name.ngacme.org.devos.kontyra.name.ngVisit →

5. devos.json Manifest Specification

Store a devos.json file in your repository root to configure build scripts, output artifacts, and environment variables:

devos.json
{
  "name": "edge-analytics",
  "framework": "Next.js",
  "buildCommand": "npm run build",
  "outputDirectory": ".next",
  "env": {
    "NODE_ENV": "production",
    "API_URL": "https://api.kontyra.name.ng/v1"
  },
  "routes": [
    { "src": "/api/(.*)", "dest": "/api/$1" },
    { "src": "/(.*)", "dest": "/$1" }
  ]
}

6. Plugin Marketplace & Backend Services

DevOS provides pre-integrated plug-and-play backend infrastructure accessible directly within your code without third-party configuration:

DevOS Auth

Instant sign-up and sign-in modals with pre-wired OAuth and session tokens.

DevOS Database

Serverless document database with automatic indexing and real-time listeners.

DevOS Storage

S3-compatible object storage with image optimization and pre-signed upload URLs.

DevOS Realtime

Low-latency WebSocket pub/sub channels for chat, cursors, and live dashboards.

7. Bot Automation System

Automated intelligence agents monitor projects and platform activity:

Deploy Bot

Tracks git push webhooks and compiles release builds.

Milestone Bot

Awards achievement badges for deployment milestones.

Health Bot

Scans sandboxes for syntax errors and broken imports.

8. Collaboration, Feed & Portfolios

DevOS connects developers through integrated social feeds, university/developer chapters, and live verifiable portfolios:

  • Live Developer Portfolio: Hosted at https://{username}.devos.kontyra.name.ng displaying verified deployed sandboxes, skill badges, and contributions.
  • Organization Workspaces: Shared team sandboxes with role-based access control (owner, admin, developer, viewer).
  • Developer Community Feed: Share code snippets, deployment milestones, and poll questions with automatic cross-posting when shipping new projects.

9. REST API & WebSocket Reference

Interact programmatically with the DevOS engine using standard HTTP requests:

Deploy Sandbox Example
curl -X POST https://api.kontyra.name.ng/v1/projects/proj_98a72b/deploy \
  -H "Authorization: Bearer test-kontyra-key" \
  -H "Content-Type: application/json" \
  -d '{
    "environment": "production",
    "trigger": "cli"
  }'
GET/v1/projects

Lists all sandboxes and project configurations.

POST/v1/projects

Initializes a new project sandbox with starter template.

POST/v1/projects/:id/deploy

Triggers deployment build and allocates edge domain.