Skip to content

Terkix-dev/Terkix

Repository files navigation

RKix Terminal OS

RKix Terminal OS is an AI-native development workspace built with React, Vite, Express, and the Google Gemini API. It provides a terminal-first interface for managing virtual projects, files, agent workflows, deployments, plugins, contacts, and telemetry dashboards.

What this repo contains

  • React 19 SPA for the RKix terminal, workspace explorer, dashboard, plugin hub, contacts manager, and telemetry views.
  • Express + Vite server for local development and production static hosting.
  • Gemini command API at /api/gemini/command for multi-agent workflow generation with an offline simulator fallback in the UI.
  • Safe local persistence for projects, terminal history, active workspace, and command metrics.

Requirements

  • Node.js 22 or newer is recommended.
  • npm 10 or newer.
  • A Gemini API key when you want live AI responses. Without a configured key, the client falls back to the built-in simulator.

Environment setup

Copy the example environment file and fill in your values:

cp .env.example .env

Supported variables:

Variable Required Default Description
GEMINI_API_KEY Yes for live AI none API key used by @google/genai.
GEMINI_MODEL No gemini-2.5-flash Model used by the server command endpoint.
PORT No 3000 Port for the Express/Vite server.
APP_URL No none Public URL used by hosted environments.

Development

Install dependencies:

npm install

Run the app locally:

npm run dev

Open http://localhost:3000.

Quality checks

Run TypeScript validation:

npm run typecheck

Run the full production build:

npm run build

Start the production build:

npm start

Check server health when the app is running:

curl http://localhost:3000/api/health

Project structure

.
├── server.ts                 # Express server and Gemini command endpoint
├── src/App.tsx               # Main RKix UI shell and workspace logic
├── src/components/           # Dashboard, project, plugin, contact, and chart modules
├── src/data/presets.ts       # Default virtual projects and sample workspace files
├── src/types.ts              # Shared domain types
└── src/utils/storage.ts      # Defensive localStorage helpers

Notes for contributors

  • Keep generated workspace file paths under workspace/project/... so the RKix virtual file explorer can mount them correctly.
  • Keep dependencies that are only needed for builds or tooling in devDependencies.
  • Do not commit .env files or real API keys.
  • Run npm run typecheck and npm run build before opening a pull request.

About

Termux shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages