VoidRaft
中文 | English
An elegant text snippet recording tool designed for developers.
VoidRaft is a modern developer-focused text editor that allows you to record, organize, and manage various text snippets anytime, anywhere. Whether it's temporary code snippets, API responses, meeting notes, or daily to-do lists, VoidRaft provides a smooth and elegant editing experience.
Core Features
Developer-Friendly
- Multi-language code block support - Syntax highlighting for 30+ programming languages
- Smart language detection - Automatically recognizes code block language types
- Code formatting - Built-in Prettier support for one-click code beautification
- Block editing mode - Split content into independent code blocks, each with different language settings
- Multi-window support - edit multiple documents at the same time
- Support for custom themes - Custom editor themes
Modern Interface
- Clean and elegant design - Simple yet sophisticated user interface
- Dark/Light themes - Adapts to different usage scenarios
- Multi-language support - Built-in internationalization with multiple language switching
Extension System
- Modular architecture - Extensible editor based on CodeMirror 6
- Rich extensions - Includes various practical editor extensions
- Rainbow bracket matching
- VSCode-style search and replace
- Color picker
- Built-in translation tool
- Text highlighting
- Code folding
- Hyperlink support
- Checkbox support
- Minimap
Quick Start
Download and Use
- Visit the releases page: https://github.com/landaiqing/voidraft/releases
- Select and download the appropriate version
- Run the installer and start using
Development Environment
# Clone the project
git clone https://github.com/landaiqing/voidraft
cd voidraft
# Install frontend dependencies
cd frontend
npm install
npm run build
cd ..
# Start development server
wails3 dev
Production Build
# Build application
wails3 package
After building, the executable will be generated in the bin
directory.
Technical Architecture
Core Technologies
Layer | Technology Stack |
---|---|
Desktop Framework | Wails3 |
Backend Language | Go 1.21+ |
Frontend Framework | Vue 3 + TypeScript |
Editor Core | CodeMirror 6 |
Build Tool | Vite |
Data Storage | SQLite |
Project Structure
Voidraft/
├── frontend/ # Vue 3 frontend application
│ ├── src/
│ │ ├── views/editor/ # Editor core views
│ │ │ ├── extensions/ # Editor extension system
│ │ │ │ ├── codeblock/ # Code block support
│ │ │ │ ├── translator/ # Translation tool
│ │ │ │ ├── minimap/ # Code minimap
│ │ │ │ ├── vscodeSearch/ # VSCode-style search
│ │ │ │ └── ... # More extensions
│ │ │ └── ...
│ │ ├── components/ # Reusable components
│ │ ├── stores/ # Pinia state management
│ │ └── utils/ # Utility functions
│ └── public/ # Static assets
├── internal/ # Go backend core
│ ├── services/ # Core business services
│ ├── models/ # Data model definitions
│ └── events/ # Event handling mechanisms
└── main.go # Application entry point
Development Roadmap
Platform Extension Plans
Platform | Status | Expected Time |
---|---|---|
macOS | Planned | Future versions |
Linux | Planned | Future versions |
Planned Features
- ✅ Custom themes - Customize editor themes
- ✅ Multi-window support - Support editing multiple documents simultaneously
- ✅ Data synchronization - Cloud backup for documents
- Enhanced clipboard - Monitor and manage clipboard history
- Extension system - Support for custom plugins
Acknowledgments
Standing on the shoulders of giants, paying tribute to the open source spirit
The birth of VoidRaft is inseparable from the following excellent open source projects:
Special Thanks
- Heynote - VoidRaft is a feature-enhanced version based on Heynote's concept
- Inherits Heynote's elegant block editing philosophy
- Adds more practical features on the original foundation
- Rebuilt with modern technology stack
- Provides richer extension system and customization options
- Thanks to the Heynote team for bringing innovative ideas to the developer community
Core Technology Stack
Technology | Purpose | Link |
---|---|---|
Wails3 | Cross-platform desktop application framework | wails.io |
Vue.js | Progressive frontend framework | vuejs.org |
CodeMirror 6 | Modern code editor | codemirror.net |
Prettier | Code formatting tool | prettier.io |
TypeScript | Type-safe JavaScript | typescriptlang.org |
License
This project is open source under the MIT License.
Welcome to Fork, Star, and contribute code.
Made with ❤️ by landaiqing
Description
v1.3.0
Latest
Languages
TypeScript
52.9%
Go
24.9%
Vue
18.2%
CSS
2%
NSIS
1.1%
Other
0.8%