v1.2.0
Overview
v1.2.0 introduces the local Visual Console for woke_novel. This release turns the existing CLI-driven novel workflow into a browser-based creative workspace while preserving the original command-line entry points.
The main focus of this version is operational visibility: projects, workflow execution, generated chapters, logs, and export tools can now be managed from a local web UI instead of switching between terminal output and project folders.
Highlights
- Added a local web console backed by FastAPI and a React + TypeScript + Vite frontend.
- Added project management views for browsing local novel projects and inspecting generated artifacts.
- Added workflow controls for starting, resuming, and monitoring long-running generation tasks.
- Added chapter reading and editing support for generated text.
- Added log viewing so workflow progress and failures are easier to diagnose.
- Added export access for MD, TXT, and EPUB-related outputs from the console.
- Added Windows launch helpers, including
woke.bat, for easier local startup. - Added frontend planning and API documentation under
docs/可视化/to make future console development easier to extend and verify.
Usage
Build the frontend once:
cd frontend
npm install
npm run build
cd ..Start the local console:
python -m app_server.mainThen open:
http://127.0.0.1:8787
On Windows, you can also run:
wokeCompatibility Notes
- Existing CLI workflows remain available through
python menu.pyandpython run_workflow.py. - The console is designed as a local workspace and expects access to the repository's project, log, and export directories.
- New Python web dependencies are included in
requirements.txt. - Frontend dependencies are isolated under
frontend/package.json.