Skip to content

courthub74/origin-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

160 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Origin OS logo

Origin OS β€” START.md

Last Commit Commit Activity Stack Issues

This file is the single source of truth for booting, running, and understanding the Origin OS development environment.

See the CHANGELOG for release history.


🧭 What Is Origin OS?

What is Origin OS?

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.


βš™οΈ Core Capabilities

Origin OS currently provides several foundational systems:

JWT Authentication

Secure session handling using access and refresh tokens with HTTP-only cookies.

Persistent Draft System

Artwork creation automatically saves draft state so creative sessions can continue across logins.

AI Generation Pipeline

Images are generated through the backend API and stored through the media pipeline.

Dynamic Dashboard

User dashboards hydrate from live backend data rather than static placeholders.

Modular Creative Tools

Origin OS is designed to support multiple creator workflows including artwork generation, collections, publishing, and branding.


πŸ“ Project Structure (High-Level)

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

πŸ— System Architecture

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            β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Technology Stack

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

🎨 Image Generation Pipeline

Origin OS uses an asynchronous workflow for image generation and retrieval.

Generation Flow

  1. User requests image generation from the frontend
  2. API creates or updates a draft artwork record
  3. Image generation service produces the image
  4. Image is stored in the media layer
  5. Artwork record is updated with the image reference
  6. 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);

🌐 Website Content Management

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.

What this includes

  • Artwork publishing
  • Collection updates
  • Release descriptions
  • Website content updates
  • Future creative asset management

Technical role

Origin OS serves as the content management layer between internal creator workflows and the external Dream Agent website.

Documentation

Project documentation is organized as follows:

File Purpose
README.md Project overview
DEVELOPMENT.md Local development setup
ARCHITECTURE.md System architecture and internal design

Current Development Focus

Active development is currently focused on:

β€’ asynchronous AI artwork generation
β€’ modular dashboard systems
β€’ persistent creative workflows
β€’ scalable media pipelines


Roadmap

Upcoming evolutions include:

  • React / Vite frontend
  • Async generation worker pipeline
  • Plugin-style module architecture
  • Cloud deployment
  • creator publishing workflows
  • collection systems

Repository

GitHub

https://github.com/courthub74/origin-os


🧱 Philosophy

Origin OS is intentionally:

  • Modular
  • Inspectable
  • Evolvable

🧭 Project Status

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.


πŸš€ Planned Evolutions

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

πŸ“œ Project Contract

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.


🧠 Powered By

CourDevelops logo

About

Origin OS is a creator-first operating system that unifies AI creation, asset and content management, and publishing into a single, extensible platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors