Skip to content

knowb-ai/cloud-builder-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Builder Stack

A public, open-source starter repo for workshops, tutorials, hackathons, and live builder sessions using practical AI/cloud tools.

The goal is to keep one clean reference place for:

  • what each tool is good for
  • where it fits in a builder workflow
  • which secrets and configuration values a team should prepare
  • how to avoid committing credentials during demos

Tool Catalog

Tool Best used for Builder-session fit Notes
Tavily Web search and retrieval for AI apps, RAG demos, source-grounded agents, research workflows Add real-time web context to agent demos, research assistants, market scanners, and tutorial apps Tavily Search is an API optimized for LLM consumption, with search depth controls and bearer-token authentication.
n8n Low-code workflow automation, AI workflow orchestration, API glue, webhook demos Build visual automation flows live, connect SaaS APIs, trigger AI steps, prototype ops workflows n8n can run in Cloud or self-hosted modes; self-hosting exposes many environment-variable controls.
Gradium Voice AI, speech-to-text, text-to-speech, voice cloning, low-latency voice interactions Add voice interfaces to agent demos, education apps, customer-support prototypes, and interactive sessions Gradium positions itself around audio language models for natural, expressive, low-latency voice interactions.
Base44 AI-assisted website and app building from prompts, fast prototypes, app publishing Let non-specialist builders turn ideas into working apps quickly, then discuss product flow, UX, auth, data, and integrations Base44 handles app design, databases, signups, permissions, and hosting behind the scenes.
Nebius AI Cloud GPU cloud infrastructure, model hosting, Kubernetes, object storage, MLflow, AI workloads Run GPU-backed workshops, deploy models, host containers, store datasets/artifacts, and show production-style AI infrastructure Nebius focuses on AI cloud infrastructure, including NVIDIA GPU VMs, GPU clusters, Kubernetes, object storage, and serverless AI jobs.

Quick Builder App Pattern

Cloud Builder Stack apps should be planned as small deployable products, even when the first version is only for a workshop or hackathon.

  • Keep backend/ and frontend/ as separate top-level directories.
  • Use FastAPI as the default backend for routing, API endpoints, webhooks, auth callbacks, server-side secrets, and static frontend serving.
  • Use Jinja templates from the backend when the UI is small, mostly form-driven, or does not need a bundled JavaScript app.
  • Use a bundled JavaScript frontend when the UI is an SPA, has richer client state, or benefits from a framework build step.
  • Serve the frontend through FastAPI for simple single-service deploys: either render Jinja views directly or mount the built SPA assets as static files.
  • Keep provider keys and private integration logic in the backend. Do not expose tool API keys in browser code.
  • Plan for deployability from the start on starter-friendly platforms such as Render, Railway, or Vercel, while checking current plan limits before a public session.

Recommended Project Shape

.
├── backend/
│   ├── app/
│   │   ├── main.py
│   │   └── templates/
│   │       └── index.html
│   ├── requirements-dev.txt
│   ├── requirements.txt
│   └── README.md
├── frontend/
│   ├── src/
│   │   └── main.jsx
│   ├── index.html
│   ├── package.json
│   ├── vite.config.js
│   └── README.md
├── README.md
├── .env.example
├── .gitignore
└── LICENSE

Planning Heuristics

  • Choose Jinja when the main workflow is a few pages, forms, server-rendered results, admin views, or internal tools.
  • Choose an SPA when the app needs rich interaction, persistent client state, complex editing, dashboards, maps, voice interfaces, or multi-step user flows.
  • Keep integrations thin at first: one route, one service module, one environment variable group, and one visible user path.
  • Add n8n when orchestration needs to be inspectable, event-driven, or editable by non-developers.
  • Add Tavily when the app needs source-grounded web context.
  • Add Gradium when voice is part of the primary interaction, not just a novelty.
  • Add Nebius when the demo needs GPU infrastructure, model hosting, object storage, or production-style AI workloads.
  • Add Base44 when the fastest path is a prompt-built application shell or when non-specialist builders need to own the UI quickly.

Local Setup

Create a Python virtual environment, install backend dependencies, install frontend dependencies, build the frontend, then serve everything through FastAPI.

python3 -m venv .venv
source .venv/bin/activate
pip install -r backend/requirements.txt
pip install -r backend/requirements-dev.txt

cd frontend
npm install
npm run build
cd ..

uvicorn backend.app.main:app --reload

Open http://localhost:8000.

The frontend build writes static assets to frontend/dist. The FastAPI app serves that directory when it exists, so the same backend process can serve API routes and the SPA on platforms that expect one web service.

The same flow is available through make:

make setup
make build
make serve

Deploy Shape

Use the same build and serve sequence for simple deployments:

pip install -r backend/requirements.txt
cd frontend && npm install && npm run build && cd ..
uvicorn backend.app.main:app --host 0.0.0.0 --port ${PORT:-8000}

For split deployments, host the built frontend separately and keep FastAPI as the API backend. For single-service free-tier deploys, build the frontend during deploy and run the FastAPI serve command.

Performance Defaults

The stack should stay easy to teach, but a few Rust-backed or speed-focused defaults are worth using:

  • Use uv when available for faster Python environment and dependency installs; keep pip commands documented as the universal fallback.
  • Use ruff for Python linting and formatting because it is fast enough to run during live builder sessions.
  • Use FastAPI with Pydantic v2 and ORJSONResponse for quick request validation and JSON responses.
  • Use Vite for frontend development and production builds.
  • Keep expensive provider calls behind backend routes so responses can be cached, streamed, queued, or rate-limited without changing frontend code.

Repository Layout

.
├── README.md
├── .env.example
├── .gitignore
├── LICENSE
├── backend/
│   ├── app/
│   ├── requirements-dev.txt
│   ├── requirements.txt
│   └── README.md
└── frontend/
    ├── src/
    ├── index.html
    ├── package.json
    ├── vite.config.js
    └── README.md

Environment Setup

  1. Copy .env.example to .env.
  2. Fill only the keys needed for your current demo.
  3. Never commit .env, private keys, service-account files, exported n8n credentials, or workshop attendee data.
  4. Use separate dev, staging, and production credentials for serious deployments.
cp .env.example .env

Secret-Handling Practices

  • Keep .env.example safe to publish: placeholders only, no real secrets.
  • Prefer provider dashboards or secret managers for production secrets.
  • Rotate any key that appears in a livestream, screenshot, issue, commit, or shared slide.
  • Use least-privilege API tokens for hackathons and workshops.
  • Disable or expire workshop credentials after the event.
  • For n8n, remember that workflow source control does not sync credential values; configure credentials per environment.
  • For Base44, keep third-party API keys in backend functions, project secrets, or managed connectors rather than browser-exposed frontend code.

Source Notes

This repo summarizes vendor documentation and public product information as of 2026-05-31.

Contributing

Contributions are welcome. Good additions include:

  • new workshop-ready AI/cloud tools
  • example workshop flows
  • .env.example improvements
  • security notes for public demos
  • tool comparison notes with official source links

Please avoid vendor hype. Keep descriptions practical, sourced, and useful for builders.

About

Cloud Builder Stack reference repo for practical AI/cloud builder apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors