How laofeng-mouse/flyingmouse-format works
FlyingMouse Format is an offline desktop file-conversion application with a CLI. The main user workflow is selecting files and target formats in the UI, submitting conversion work, monitoring progress, then previewing or saving results. The graph preserves major README capabilities as domain branches, including advanced PDF processing, ebooks, media, and image conversion. Source excerpts are partial, so links between the server and specialized converters are shown only at the subsystem level; unsampled internal call chains are omitted.
Main entry points: server.js Local server · app.js Desktop UI · preload.js Secure bridge · pdf-structure-engine.js PDF structure engine
Components 23
User interfaces
- Electron app
electron-main.js - Secure bridge
preload.js - Desktop UI
public/app.js - CLI
cli.js
Conversion runtime
- Local server
server.js - Progress tracking
conversion-progress.js - Result delivery
save-converted-result.js
Format conversion
- Office conversion
office-convert.js - Office engine
office-engine.js - Text conversion
text-conversion.js - Markdown documents
markdown-document.js - Ebook conversion
ebook.js - Media conversion
media.js - Image conversion
image-conversion.js
PDF processing
- PDF operations
pdf.js - PDF tables
pdf-table.js - PDF structure engine
pdf-structure-engine.js - Document structure engine
tools/docstructure-engine/flyingmouse_docstructure/pipeline.py
Preferences and access
- Settings store
settings-store.js - Agent skill setup
agent-skill-installer.js
Other components
- User
- Agent directories
- LibreOffice runtime
Connections 25
- User → Desktop UI: selects files
- User → CLI: runs commands
- Electron app → Secure bridge: exposes bridge
- Desktop UI → Secure bridge: requests settings
- Desktop UI → Local server: submits conversions
- CLI → Local server: requests conversion
- Local server → Progress tracking: reports progress
- Local server → Office conversion: dispatches work
- Local server → Text conversion: dispatches work
- Local server → Ebook conversion: dispatches work
- Local server → Media conversion: dispatches work
- Local server → Image conversion: dispatches work
- Local server → PDF operations: dispatches work
- Local server → PDF tables: dispatches work
- Office conversion → Office engine: runs engine
- Office engine → LibreOffice runtime: invokes
- PDF operations → PDF structure engine: requests structure
- PDF tables → PDF structure engine: requests extraction
- PDF structure engine → Document structure engine: invokes engine
- Local server → Result delivery: registers results
- Desktop UI → Local server: fetches results
- Secure bridge → Settings store: reads and writes
- Desktop UI → Markdown documents: renders documents
- Desktop UI → Agent skill setup: starts setup
- Agent skill setup → Agent directories: installs skill