t8y2/unihub
About
🚀 UniHub - 现代化的跨平台工具集应用,支持强大的插件系统 | Modern cross-platform toolkit with powerful plugin system
Web & App DevelopmentMeasured star growth
- in 24h
- +2
- in 7 days
- +9
- in 15 days
- +11
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalUniHub
English | 简体中文
A modern Electron-based toolkit application with a powerful plugin system.
📸 Preview
💬 Community
Join UniHub community to discuss and share with other developers!
WeChat Group |
QQ Group |
Add Me to Join |
Features
- 🔌 Powerful Plugin System - Support dynamic loading and management of plugins
- 🎨 Modern UI - Built with Vue 3 + Tailwind CSS
- 🚀 High Performance - Powered by Vite
- 📦 Plugin Marketplace - Built-in marketplace for one-click installation
- 🔒 Permission Management - Fine-grained plugin permission control
- 🔄 Auto Update - Support automatic updates based on GitHub Releases
Quick Start
Clone the Project
# Clone the main repository (including official plugins submodule)
git clone --recurse-submodules https://github.com/t8y2/unihub.git
# Or if you've already cloned the main repository, initialize the submodule
git clone https://github.com/t8y2/unihub.git
cd unihub
git submodule update --init --recursive
Development and Build
# Install dependencies
pnpm install
# Development mode
pnpm dev
# Build application
pnpm build # All platforms
pnpm build:mac # macOS
pnpm build:win # Windows
pnpm build:linux # Linux
Plugin Development
Official Plugin Repository
Official plugins have been migrated to a separate repository (integrated via Git Submodule):
- Plugin Repository: unihub-plugins
- Local Path:
official-plugins/(Git Submodule) - Plugin Marketplace: Auto-synced to
marketplace/plugins.json
Update Official Plugins
# Update submodule to the latest version
cd official-plugins
git pull origin main
cd ..
git add official-plugins
git commit -m "Update official-plugins submodule"
git push
Quick Development
Use the official CLI tool to quickly develop plugins:
# Install CLI
npm install -g @unihubjs/plugin-cli
# Create plugin (supports simple/vue/react templates)
uhp create my-plugin
# Development
cd my-plugin && npm install
uhp dev
# Package
uhp package
The generated plugin.zip can be directly dragged to UniHub for installation, or submit a PR to the plugin repository to publish to the plugin marketplace.
Full documentation: Plugin CLI | Examples: examples/
Keyboard Shortcuts
| Function | macOS | Windows/Linux |
|---|---|---|
| Global Search | ⌘K | Ctrl+K |
| New Tab | ⌘N | Ctrl+N |
| Close Tab | ⌘W | Ctrl+W |
| Toggle Sidebar | ⌘B | Ctrl+B |
Tech Stack
- Electron
- Vue 3
- TypeScript
- Vite
- Tailwind CSS
- reka-ui
License
MIT
Explore related projects
Loading…