Skip to main content

Developer Guide

Welcome to the PutmeIn developer guide. This section provides an architectural overview, local workflows, and contribution practices for engineers working on the PutmeIn codebase.


Subpages & Guides

Navigate directly to the focused developer guides:

  • Prerequisites — System runtimes, Node.js, npm, Go, and Docker requirements across all monorepo packages.
  • Setting up the Project — Step-by-step instructions for cloning, installing dependencies, configuring environments, and compiling components.

Architecture Overview

PutmeIn is structured as an integrated modular monorepo:

DirectoryComponentTechnologyRole
/rayWeb DashboardNext.js 16 + React 19Interactive browser console, metrics visualization, and session management.
/brainAI Engine & DaemonGo 1.22Background automation daemon, Docker orchestrator, and AI action executor.
/cohenTerminal UIGo 1.22 + BubbleteaInteractive terminal client (TUI) for direct CLI management.
/landingMarketing PortalNext.js 16 + TailwindPublic landing and product showcase site.
/docsDocumentationDocusaurus v3Technical manuals, API references, and user guides.

Development Workflow

Building the Distribution

From the repository root:

npm run build

This triggers the build pipeline:

  1. Compiles the Go binary for Brain.
  2. Generates Prisma client bindings.
  3. Builds the Next.js standalone application for Ray.
  4. Stages the distribution into dist/ with zero development baggage.

Local Execution

# Start background services
npm start

# Inspect running services, CPU, and memory
node bin/ray.js status

# Stop background services
node bin/ray.js stop

Contributing

We welcome contributions of all kinds. When submitting pull requests:

  1. Create a descriptive feature branch (feature/your-feature-name or fix/issue-description).
  2. Maintain design system consistency across web interfaces.
  3. Preserve existing database integrity and avoid disruptive schema modifications.
  4. Submit pull requests to the main branch with comprehensive testing details.