A visual AI pipeline builder prototype for РКМ (расчётно-калькуляционные материалы) document processing workflows. Built with Svelte, TypeScript, and Vite.
⚠️ This is a frontend-only prototype — all AI processing, file uploads, and collaboration features are simulated. There is no backend.
| Framework | Svelte 4 + TypeScript |
| Build tool | Vite 5 |
| Canvas / Graph | @xyflow/svelte |
| Styling | Scoped CSS (no external UI library) |
Check your versions:
node -v
npm -v
# 1. Clone the repository
git clone https://github.com/Artengo1111/ai-pipeline-prototype.git
cd ai-pipeline-prototype
# 2. Install dependencies
npm install
# 3. Start the dev server
npm run dev
Open http://localhost:5173 in your browser.
| Command | Description |
|---|---|
npm run dev |
Start local dev server with hot reload |
npm run build |
Build for production (outputs to dist/) |
npm run preview |
Preview the production build locally |
src/
├── App.svelte # Root component — layout, state, modals
├── app.css # Global styles, design tokens, badge classes
├── main.ts # App entry point
└── lib/
├── components/
│ ├── Sidebar.svelte # Left panel — node library, search, tabs
│ ├── Inspector.svelte # Right panel — selected node details
│ ├── ProjectsView.svelte # Projects overview screen
│ ├── CollabBar.svelte # Top-right collaborative users widget
│ └── nodes/
│ ├── FunctionalNode.svelte # AI function block (play, regen)
│ ├── InputNode.svelte # File input block
│ ├── KnowledgeNode.svelte # Knowledge base block
│ └── OutputNode.svelte # Generated document block
└── data/
├── nodes.ts # Node definitions and input mappings
└── outputContent.ts # Mock AI-generated document content
src/lib/data/App.sveltenodes.ts, create a component in nodes/, register it in the nodeTypes map in App.svelteoutputContent.tsapp.css — do not override per-component