# ManboTool **Repository Path**: mkwings/ManboTool ## Basic Information - **Project Name**: ManboTool - **Description**: 曼波配音生成工具 — 基于 Tauri v2 的桌面端文本转语音合成工具 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-07-14 - **Last Updated**: 2026-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Manbo · 曼波 🔊 **AI-Powered Desktop Text-to-Speech Tool — Turn text into natural voice, anytime.** [中文](./README.md) | English [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) [![Tauri v2](https://img.shields.io/badge/Tauri-v2-10b981)](https://tauri.app/) [![Vue 3](https://img.shields.io/badge/Vue-3.x-4fc08d)](https://vuejs.org/) [![Rust](https://img.shields.io/badge/Rust-backend-dea584)](https://www.rust-lang.org/) ![App Screenshot](./public/screenshot-main.png) --- ## 📖 Introduction **Manbo(曼波)** is a desktop text-to-speech synthesis tool built with Tauri v2, supporting both **browser mode** and **native desktop** operation. It integrates with the TTS API at `api.milorapart.top`, offering free daily quotas and premium API key authentication, making it suitable for content creation, audiobook production, voiceover work, and batch processing. With smart text segmentation, batch queue management, and generation history, Manbo streamlines your TTS workflow from text input to audio output. ## ✨ Features | Feature | Description | |---------|-------------| | 🎙️ **High-Quality Synthesis** | Text-to-speech generation in MP3 & WAV formats | | 🎚️ **Speed Control** | Adjust speech rate from -50 to +50 for natural pacing | | 🧠 **Smart Segmentation** | Auto-split long text by punctuation marks for per-segment generation | | 📦 **Batch Queue** | Queue multiple texts, track progress, support pause/resume/stop | | 📜 **Generation History** | Full history with search, inline playback, download, and delete (up to 200 records) | | 🔑 **API Key Auth** | Free endpoint (50 requests/day) or VIP endpoint with your API key | | 🌗 **Theme Toggle** | Dark and light mode, preference persisted automatically | | ⌨️ **Keyboard Shortcuts** | `Ctrl+Enter` Generate · `Space` Play/Pause · `Ctrl+B` Batch panel | | 📂 **Drag & Drop** | Import `.txt` and `.srt` files by dragging into the text area | ## 🚀 Quick Start ### Download Visit the [Releases](https://github.com/HeyEmily-ovo/ManboTool/releases) page to download the latest Windows installer. ### Local Development ```bash # Clone the repository git clone https://github.com/HeyEmily-ovo/ManboTool.git # Enter directory cd ManboTool # Install dependencies npm install # Start Tauri desktop dev (Vite + Tauri window) npm run tauri dev # Frontend only (browser mode, port 1420) npm run dev # Production build npm run build # Type check vue-tsc --noEmit ``` Then open the browser and visit `http://localhost:1420` (browser mode) or run `npm run tauri dev` for the native desktop window. ## 🎨 Design Highlights - **Emerald Theme**: A clean green accent (`#10b981`) delivering a calm, focused visual experience - **Dual-Mode Runtime**: Automatically detects Tauri desktop vs browser environment, selecting the optimal API path — `invoke()` Rust commands or `fetch()` via Vite proxy - **Pinia Persistence**: All user settings, history, and quota data are persisted to localStorage, surviving app restarts - **Modular Architecture**: Frontend follows Vue 3 composition API with clear component separation; Rust backend delegates HTTP to reqwest with clean command registration - **Responsive Layout**: Centered single-column layout with max-width constraints for comfortable reading on any screen size - **Inline Audio Player**: A fixed bottom bar with play/pause, progress scrubbing, and reset — no popup windows needed ## ⌨️ Keyboard Shortcuts | Shortcut | Context | Action | |----------|---------|--------| | `Ctrl + Enter` | Global | Generate TTS | | `Ctrl + B` | Global | Open batch queue panel | | `Space` | Outside text input | Play / Pause audio | ## 🧩 Tech Stack | Layer | Technology | |-------|------------| | Frontend | Vue 3 + TypeScript + Vite + Element Plus + Pinia | | Backend | Rust (Tauri v2) + reqwest | | API | api.milorapart.top | | Desktop | Tauri v2 (Windows) | ## 🏗️ Project Structure ``` ManboTool/ ├── src/ # Vue 3 frontend source │ ├── api/tts.ts # API abstraction (Tauri invoke / browser fetch) │ ├── components/ # Vue single-file components │ │ ├── TextInput.vue # Text input with drag & drop │ │ ├── ControlPanel.vue # Speed slider, format & segmentation toggles │ │ ├── SettingsPanel.vue # API key & quota management │ │ ├── HistoryList.vue # Searchable generation history │ │ ├── QueuePanel.vue # Batch queue with progress │ │ └── AudioPlayer.vue # Fixed bottom audio player │ ├── stores/ # Pinia stores (persisted to localStorage) │ │ ├── settings.ts # API key, theme, quota │ │ ├── history.ts # Generation history (max 200) │ │ └── queue.ts # Batch queue state machine │ ├── types/index.ts # Shared TypeScript interfaces │ ├── App.vue # Root: global state, shortcuts, generation orchestration │ └── main.ts # App bootstrap (Vue + Pinia + ElementPlus) ├── src-tauri/ # Rust backend │ ├── src/ │ │ ├── main.rs # Entry point │ │ ├── lib.rs # Command registration │ │ └── tts.rs # TTS API HTTP client (reqwest) │ └── capabilities/default.json # Tauri v2 permissions ├── public/ # Static assets (screenshots, icons) ├── index.html # Entry HTML └── vite.config.ts # Vite config + path aliases + dev proxy ``` ## 📄 License This project is open-sourced under the [MIT License](./LICENSE). --- Made with ❤️ by [HeyEmily](https://github.com/HeyEmily-ovo)