Introduction
Foundry is a comprehensive toolkit designed for developers who manage multiple JavaScript/TypeScript projects. It provides a “Gold Standard” for configurations, a modular library of “Blocks,” and a “Commander” CLI to eliminate configuration drift and accelerate development across your entire project fleet.
The Four Pillars
Section titled “The Four Pillars”| Pillar | Purpose | Key Components |
|---|---|---|
| 1. The Standard | Fleet-wide Consistency | ESLint, TSConfig, Prettier, Dev-Config |
| 2. The Blocks | Modular Capabilities | AI, DB, SDK, Analytics, Widgets |
| 3. The Commander | Fleet Management | Fleet Audit, Global Linting, Mass Upgrades |
| 4. The Forge | Rapid Scaffolding | Template-based project initialization |
Core Services
Section titled “Core Services”Foundry provides high-quality, pre-built modules that you can drop into any project:
- The Standard: Versioned configs for Next.js, Vite, and Node.
- The Blocks: Unified AI providers, PostHog wrappers, and DB utilities.
- The Widgets: Embeddable React components for Feedback, Changelogs, and Testimonials.
- The Engine: A high-performance Cloudflare Worker backend powering all blocks.
Architecture
Section titled “Architecture”- The Standard — Versioned packages in
packages/toolingused by all your repos. - The Blocks — Modular logic and UI packages in
packages/blocksandpackages/widgets. - The Cockpit — A Next.js dashboard to monitor your fleet’s health and analytics.
- The CLI — The unified interface for managing projects and standards.
Next Steps
Section titled “Next Steps”- Quickstart — Get the Foundry running in 5 minutes.
- The Standard — Learn about our linting and TS rules.
- The CLI — Explore the Commander and Forge tools.