fastapi-svelte-gpu-webui

Wrap GPU-based CLI tools into web UIs with FastAPI, Svelte, and WebSocket progress.

5|Updated Feb 7, 2021
One-click install
npx skills add https://github.com/ViktorBarzin/infra --skill fastapi-svelte-gpu-webui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fastapi-svelte-gpu-webui
Source: https://github.com/ViktorBarzin/infra/tree/main/.claude/skills/fastapi-svelte-gpu-webui
Command: npx skills add https://github.com/ViktorBarzin/infra --skill fastapi-svelte-gpu-webui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building scalable, GPU-enabled web UIs for heavy CLI tools, turning command-line workflows into accessible web apps with real-time progress and Kubernetes deployment.

Core Features & Use Cases

  • FastAPI backend for API-driven orchestration
  • Svelte 5 frontend for interactive UI
  • Real-time progress updates via WebSocket
  • NFS storage persistence for data across pods
  • Terraform deployment patterns for GPU-enabled clusters
  • Suitable for wrapping ML inference pipelines, video processing, or data conversions behind a web UI

Quick Start

Deploy the FastAPI + Svelte GPU WebUI pattern to wrap your GPU-enabled CLI tool and start the backend and frontend services.

Frequently Asked Questions about fastapi-svelte-gpu-webui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I wrap a GPU CLI tool into a web UI with real-time progress updates?

To wrap a GPU CLI tool into a web UI, use a FastAPI backend and a Svelte frontend with WebSocket progress updates. This architecture provides accessible web apps with task queues and real-time visibility for long-running GPU tasks.

What is the best way to schedule ML inference pipelines on Kubernetes with a web interface?

Scheduling ML inference pipelines on Kubernetes with a web interface requires a FastAPI backend for orchestration and Terraform-based GPU deployment. This setup manages task queues and provides real-time progress updates via WebSocket.

Can I use FastAPI and Svelte for GPU-based media processing tasks?

Yes, you can use FastAPI and Svelte for GPU-based media processing tasks. The FastAPI backend handles API-driven orchestration while the Svelte 5 frontend delivers an interactive UI with WebSocket progress updates for long-running processes.

Does deploying a GPU web UI on Kubernetes require NFS storage?

Deploying a GPU web UI on Kubernetes uses NFS storage to ensure data persistence across pods. This provides necessary storage continuity for long-running GPU tasks, ML inference pipelines, and media processing workflows.

How do I show real-time progress for long-running GPU tasks in a web application?

To show real-time progress for long-running GPU tasks in a web application, implement WebSocket progress updates between the FastAPI backend and Svelte frontend. This delivers immediate visibility into CLI tool execution status.