中文 | 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.
- 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
- 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
- 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
- Visit the releases page: https://github.com/landaiqing/voidraft/releases
- Select and download the appropriate version
- Run the installer and start using
# 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# Build application
wails3 packageAfter building, the executable will be generated in the bin directory.
| 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 |
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
| Platform | Status | Expected Time |
|---|---|---|
| macOS | Planned | Future versions |
| Linux | Planned | Future versions |
- ✅ 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
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:
- 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
| 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 |
This project is open source under the MIT License.
Welcome to Fork, Star, and contribute code.
Made with ❤️ by landaiqing