A multi-language monorepo for experimenting with conversational tooling, data pipelines, and deployment workflows. The repo combines Next.js frontends, Convex-backed APIs, Go microservices, and Kubernetes/Terraform automation for end-to-end prototyping.
- Prerequisites
- Node.js 22.19.x and pnpm 9+
- Go 1.24+
- Bun (optional, see
bun.lock
) - Docker / Kubernetes tooling if you plan to run services or apply manifests locally
- Install workspace dependencies
pnpm install
- Launch the primary web app
pnpm run dev:proompteng
- Start the Convex backend locally (in another terminal)
pnpm run dev:convex
- Run Go services (example)
go run ./services/prt
Prefer a hosted development experience? Click the Open in Coder button above to provision a workspace with Node 22, pnpm, and the repository pre-installed.
Path | Description |
---|---|
apps/ |
Next.js/Turbopack frontends (e.g. proompteng , reviseur , alchimie ) with co-located fixtures and tests. |
packages/backend |
Convex backend project (convex dev , codegen, model seeding). |
packages/atelier , packages/cloutt |
Shared TypeScript utilities and infrastructure tooling. |
services/ |
Go microservices (miel , prix , prt , eclair ) with adjacent tests and Dockerfiles. |
ansible/ |
Playbooks and inventory for provisioning supporting hosts. |
tofu/ |
OpenTofu (Terraform) configurations for Harvester, Cloudflare, Rancher, and Tailscale. |
kubernetes/ |
Cluster manifests, Coder template, and helper scripts (kubernetes/install.sh ). |
argocd/ |
Argo CD application specs and ApplicationSets for GitOps deployment. |
scripts/ |
Helper scripts for builds, secrets management, and Tailscale automation. |
AGENTS.md , CLAUDE.md |
Notes and prompts for AI agent integrations. |
- Lint & format:
pnpm run lint:proompteng
,pnpm run format
- Build & smoke test:
pnpm run build:proompteng
thenpnpm run start:proompteng
- Shared Biome config lives at
biome.json
- Generate types:
pnpm --filter @proompteng/backend run codegen
- Start local dev:
pnpm run dev:convex
- Seed models:
pnpm run seed:models
- Test all services:
go test ./services/...
- Build binaries:
go build ./services/...
- Unit test a single service:
go test ./services/prt -run TestHandleRoot
- Husky + Biome formatted on commit (
lint-staged
configuration inpackage.json
). - TailwindCSS v4 & Radix UI used extensively in frontend components.
Some experiments expect a Postgres instance (see original Home Cloud notes). To recreate the environment locally:
- Install the CLI:
brew install postgresql
- (Linux) install server packages:
sudo apt update && sudo apt install postgresql
- Enable remote access (optional lab setup):
- Add to
pg_hba.conf
:host all all 192.168.1.0/24 trust
- Ensure
postgresql.conf
includeslisten_addresses = '*'
.
- Add to
- Create a user & database:
create role altra with login; create database altra with owner altra;
- Grant privileges as needed:
grant create on database altra to altra;
These instructions remain intentionally permissive for an isolated lab network—tighten auth and networking before production use.
Task | Command / Notes |
---|---|
Plan infrastructure | pnpm run tf:plan (OpenTofu under tofu/harvester ) |
Apply infrastructure | pnpm run tf:apply (only after reviewing the plan) |
Destroy Harvester VM | pnpm run tf:destroy |
Apply Kubernetes base | pnpm run harvester:apply or ./kubernetes/install.sh |
Bootstrap Argo CD | pnpm run k:bootstrap (applies manifests in argocd/ ) |
Run Ansible playbooks | pnpm run ansible |
Manage Coder template | kubernetes/coder contains Terraform + template YAML used by the button above. |
Supporting configuration:
skaffold.yaml
for iterative container builds.scripts/generate-*
helpers to create sealed secrets and Tailscale auth keys.tmp/
contains sample certs, Milvus configs, and operator bundles used during experimentation.
- Template name: k8s-arm64 (see
kubernetes/coder/template.yaml
). - Bootstrap script provisions code-server, Node 22, pnpm, Convex CLI, kubectl/argocd, and installs repo dependencies.
- Use
coder templates push
/coder update
to maintain the template when infrastructure changes are made.
docs/tooling.md
– Install guides for Node, Terraform/OpenTofu, kubectl, Ansible, PostgreSQL, Python tooling, and the GitHub CLIargocd/README.md
– GitOps deployment noteskubernetes/README.md
– Cluster setup instructionsservices/*/README.md
– Service-specific docs (miel
,prt
)tofu/README.md
– Terraform/OpenTofu usage
Feel free to add new experiments under apps/
or services/
—keep scope tight, follow the Biome/Tailwind conventions, and document deployment steps alongside automation scripts.