Developer Hub
Developer Hub
Build plugins, extend capabilities, and integrate with the Tuff ecosystem.
Getting Started
- Developer Overview — understand the plugin model and architecture.
- Quickstart — scaffold your first plugin in minutes.
- Manifest Reference — configure capabilities and permissions.
- Legacy Plugin Migration — upgrade legacy plugins to the new SDK model.
Deep Dive
- API Reference — typed interfaces for storage, channels, and UI.
- Extensions — advanced patterns for complex integrations.
- Examples — entry point backed by
examples/. - Code Snippets — copy-paste examples for common tasks.
Runtime Behavior
- CoreBox Window & UI View Cache — resize logic, recommendation flow, and WebContentsView caching.
- CoreBox System Map — CoreBox components/IPC/renderer files.
- DeviceIdleService and Background Scan Scheduling — unified idle and power gating for scans.
- App Technical Principles — process model, modules, and repository layout.
- Core Module Map (SearchEngine) — map CoreBox/SearchEngine/plugins/channels/storage to real files.
- SearchEngine Map — provider list, recommendation system, main flow.
- Plugin System Map — providers/adapters/widget pipeline and load flow.
- Channel & IPC Event Map — event groups and definition files.
- IPC Event List (Event Names) — per-event listing and handlers.
- IPC Handler Index (Function Level) — event → concrete handler methods.
- SDK -> Event -> Handler Index — SDK call chain plus internal/private transport.
- DivisionBox Map — sessions, windowing, IPC.
- AI/Intelligence Module Map — capabilities, quota, agents.
- Storage & Database Map — storage/db modules and update flow.
Developer Tools
- TUFF CLI — command-line tool for creating and managing plugin projects.
- TuffEx — Vue3 component library with unified design language.
- Tuffex Components — component catalog, demos, and API (Ta Fu).
Publishing
- Publish Flow — submit your plugin to the store.
Resources
- Join the developer community on Discord for real-time support.
- Browse open-source plugins on GitHub for inspiration.
Was this helpful?