This file is the single source of truth for booting, running, and understanding the Origin OS development environment.
See the CHANGELOG for release history.
Origin OS is a modular platform for creating, managing, and publishing digital artwork through a structured creative pipeline.
It combines a dashboard-based creative interface, a Node.js + MongoDB backend, and an AI-powered generation system to help creators produce and distribute digital work from a single environment.
Origin OS is designed to function as a creative operating system rather than a single-purpose application.
Origin OS currently provides several foundational systems:
Secure session handling using access and refresh tokens with HTTP-only cookies.
Artwork creation automatically saves draft state so creative sessions can continue across logins.
Images are generated through the backend API and stored through the media pipeline.
User dashboards hydrate from live backend data rather than static placeholders.
Origin OS is designed to support multiple creator workflows including artwork generation, collections, publishing, and branding.
origin_os/
β
ββ css/ # UI styles (per module)
ββ js/ # Frontend logic & shell
ββ img/ # Icons, avatars, branding
ββ md/ # Notes & internal docs
β
ββ origin-os-api/ # Backend API (Express + MongoDB)
β ββ src/
β β ββ routes/ # API routes
β β ββ models/ # MongoDB models
β β ββ middleware/ # Auth + guards
β β ββ Utils/ # JWT, cookies, helpers
β β ββ server.js # API entry point
β ββ package.json
β
ββ *.html # Frontend pages (dashboard, create, etc.)
ββ Dockerfile
ββ docker-compose.yml
ββ package.json # Root tooling / future scripts
Origin OS follows a layered architecture designed to keep the system modular, inspectable, and evolvable.
ββββββββββββββββββββββββββββ
β Frontend β
β Origin OS Shell (HTML) β
β CSS + JavaScript UI β
ββββββββββββββ¬ββββββββββββββ
β
β HTTP Requests
βΌ
ββββββββββββββββββββββββββββ
β Express API β
β origin-os-api server β
β β
β Auth Routes β
β Artwork Routes β
β Image Routes β
β Stats Routes β
ββββββββββββββ¬ββββββββββββββ
β
β Middleware Layer
βΌ
ββββββββββββββββββββββββββββ
β Auth Middleware β
β JWT verification β
β Cookie handling β
β Request guards β
ββββββββββββββ¬ββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββ
β Data Layer β
β β
β MongoDB Database β
β Artwork documents β
β User accounts β
β Media file references β
ββββββββββββββ¬ββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββ
β Media Storage β
β Generated images β
β Stored assets β
ββββββββββββββββββββββββββββ
Frontend
- HTML
- CSS
- JavaScript
- Live Server (development)
Backend
- Node.js
- Express
Database
- MongoDB
Authentication
- JWT
- HTTP-only cookies
Future Platform
- React / Vite
- Cloudflare Pages
- Docker deployment
Origin OS uses an asynchronous workflow for image generation and retrieval.
- User requests image generation from the frontend
- API creates or updates a draft artwork record
- Image generation service produces the image
- Image is stored in the media layer
- Artwork record is updated with the image reference
- Frontend retrieves the image through the protected media API
Example retrieval:
const imgRes = await fetch(`${API_BASE}/api/images/${imageFileId}`, {
headers: { Authorization: `Bearer ${token()}` },
credentials: "include",
});
const blob = await imgRes.blob();
img.src = URL.createObjectURL(blob);Origin OS functions as a headless CMS and publishing engine for creators like Dream Agent.
This means Dream Agent website content can be updated through Origin OS without directly editing the website codebase itself.
- Artwork publishing
- Collection updates
- Release descriptions
- Website content updates
- Future creative asset management
Origin OS serves as the content management layer between internal creator workflows and the external Dream Agent website.
Project documentation is organized as follows:
| File | Purpose |
|---|---|
| README.md | Project overview |
| DEVELOPMENT.md | Local development setup |
| ARCHITECTURE.md | System architecture and internal design |
Active development is currently focused on:
β’ asynchronous AI artwork generation
β’ modular dashboard systems
β’ persistent creative workflows
β’ scalable media pipelines
Upcoming evolutions include:
- React / Vite frontend
- Async generation worker pipeline
- Plugin-style module architecture
- Cloud deployment
- creator publishing workflows
- collection systems
GitHub
https://github.com/courthub74/origin-os
Origin OS is intentionally:
- Modular
- Inspectable
- Evolvable
Origin OS is currently in active development.
Core authentication, image generation workflows, and modular dashboard architecture are functional.
Future iterations will expand the platform toward a full creative operating system for digital creators.
Origin OS is designed as a modular system and will continue evolving.
Upcoming architecture improvements include:
- React / Vite frontend
- Cloudflare Pages deployment
- API versioning strategy
- Role-based dashboards
- Plugin-style module system
If something breaks β start with this README.
If something grows β update this README.
This file defines the current architecture and development expectations for Origin OS.

