feat: React + FastAPI web UI to replace NiceGUI#12
Merged
biswasbiplob merged 4 commits intomainfrom Feb 9, 2026
Merged
Conversation
Comprehensive plan to migrate from NiceGUI to a decoupled architecture with React 19 + Vite + TypeScript frontend and FastAPI REST API backend. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace NiceGUI with a modern React 19 + TypeScript + Tailwind CSS v4 frontend backed by a FastAPI REST API with SSE progress streaming. Backend: FastAPI with session-based architecture, async pipeline runners, Pydantic schemas, and 11 REST endpoints. Frontend: Drag-and-drop upload, workflow mode selection, configurable settings panels, real-time progress bar, and result download. - Add FastAPI backend with routes for config, sessions, processing, progress (SSE), and download - Add React frontend with 10 components, 5 hooks, and Context state - Add 14 API tests (393 total tests passing) - Add `legacylipi api` CLI subcommand and `legacylipi-web` entry point - Add scripts/dev.sh for hot-reload development - Update scripts/check.sh with frontend TypeScript check - Update README, docs/development.md, and CLAUDE.md - Bump version to 0.8.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/UIUpgradePlan.mdBackend (
src/legacylipi/api/)app.pyinto standalone async functionsFrontend (
frontend/)Integration
legacylipi apiCLI subcommand +legacylipi-webentry pointscripts/dev.shfor hot-reload development (FastAPI + Vite HMR)scripts/check.shupdated with frontend TypeScript check (5 steps)Tests & Docs
Test plan
tsc --noEmitpasses (zero TypeScript errors)vite buildproduces 227KB JS + 20KB CSSruff format --check+ruff checkpassmypypasses with no issuespytest— 393 tests pass (14 new API tests)uv run legacylipi apiserves UI at :8000🤖 Generated with Claude Code