[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-75508":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},75508,"velotype","manyougz\u002Fvelotype","manyougz","Write at the speed of thought – Velotype is a high-performance native Markdown editor built with Rust and GPUI.⚡","",null,"Rust",404,38,3,20,0,16,43,345,48,4.77,"Other",false,"main",true,[27,28,29,30,31,32],"editor","gpui","markdown","native-ui","rust-lang","wysiwyg","2026-06-12 02:03:34","# Velotype\n\n\u003Cdiv align=\"center\">\n\n![Velotype banner](.\u002Fassets\u002Ficon\u002Fvelotype-banner.png)\n\n**A Rust + GPUI native Markdown editor with WYSIWYG and source editing modes.**\n\n[Editor Showcase](.\u002Fassets\u002Fshowcase\u002Fshowcase.md)\n\n[English](README.md) | [中文](assets\u002FREADME.zh-CN.md)\n\n[![Rust](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRust-2024-f74c00?logo=rust&logoColor=white)](https:\u002F\u002Fwww.rust-lang.org\u002F)\n[![GPUI](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGUI-GPUI%200.2-4b7bec)](https:\u002F\u002Fgpui.rs\u002F)\n[![Platforms](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-Windows%20%7C%20Linux%20%7C%20macOS-2ea44f)](#quick-start)\n[![Portable](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fapp-portable%20single%20binary-8b5cf6)](#features)\n[![Export](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fexport-HTML%20%7C%20PDF-0ea5e9)](#features)\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Freleases-GitHub-181717?logo=github)](https:\u002F\u002Fgithub.com\u002Fmanyougz\u002Fvelotype\u002Freleases)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache--2.0-blue.svg)](LICENSE)\n\n\u003C\u002Fdiv>\n\nVelotype is a block-based Markdown editor built with Rust and [GPUI](https:\u002F\u002Fgpui.rs\u002F). It supports both WYSIWYG-style rendered editing and Markdown source-text editing.\n\nThe project is still early, but the core direction is stable: native UI, instant rendered editing, source-text fallback, canonical Markdown serialization, and customization across color, typography, spacing, and layout tokens.\n\n## Features\n\n- **🧱 Block model:** Markdown structure is represented as editable blocks, keeping document structure clear, controllable, and extensible without a preview-pane synchronization loop.\n- **⚡ Native UI:** Desktop-native rendering based on GPUI, without depending on Electron, Tauri, or any WebView shell.\n- **✍️ Editing modes:** Velotype supports both WYSIWYG-style rendered editing and raw Markdown source editing for common authoring workflows.\n- **🚀 Performance and stability:** Rust drives parsing, state updates, and rendering; the parser follows a standard-oriented strategy and falls back to raw Markdown in unstable cases.\n- **🎨 Theme customization:** Themes can customize global colors, typography, spacing, menus, dialogs, editor layout tokens, and language packs.\n- **📦 Portable single file:** After compilation, Velotype exists as a single executable file. It requires no installation, stays natively portable, and targets Windows, Linux, and macOS.\n\nVelotype already supports exporting the current Markdown document to HTML and PDF. HTML export maps the active theme into CSS, while PDF export reuses the same themed HTML pipeline so visual output stays consistent.\n\nVelotype targets Windows, Linux, and macOS. The app is naturally suitable for distribution as a standalone binary; release builds can run directly without installation.\n\n## Quick Start\n\n### 1. Download a release\n\nDownload the Windows, Linux, or macOS build from the [Velotype Releases](https:\u002F\u002Fgithub.com\u002Fmanyougz\u002Fvelotype\u002Freleases) page. Release artifacts are designed as portable desktop programs and can be run directly.\n\n> Note: macOS users need to sign the `app` file locally on their machine; otherwise, Velotype will not run properly.\n\n### 2. Build from source\n\nPrerequisites:\n\n- Git\n- A Rust toolchain with Rust 2024 edition support\n- Cargo\n- Platform-native build dependencies required by GPUI and the system toolchain\n\nBuild Velotype locally:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fmanyougz\u002Fvelotype.git\n```\n\n```bash\ncargo build --release\n```\n\nIf everything works, the build artifact will be stored under `target\u002Frelease`. You can use the executable directly.\n\n## Roadmap\n\nVelotype already supports almost all basic Markdown syntax and most commonly used extended Markdown syntax, including headings, paragraphs, lists, task lists, quotes, callouts, tables, code blocks, inline formatting, links, reference-style links and images, footnotes, standalone images, comment blocks, and safe native HTML handling.\n\nSyntax support will continue to improve. Planned work includes:\n\n- [x] ~~Mind-map drawing and rendering support~~\n- [x] ~~LaTeX math syntax and rendering support~~\n- [ ] Optimize the parsing and rendering capabilities for extremely large Markdown documents\n- [ ] Workspace Mode and Outline Parsing\n- [ ] Built-in image hosting\n- [ ] More complete IME behavior\n\n## Theme Customization & Translation\n\nVelotype separates visual themes from UI language packs. Theme files can override global colors, typography, dimensions, menus, dialogs, table controls, image placeholders, code highlighting colors, and layout-related tokens. Missing fields or empty values inherit the built-in Velotype defaults, so a custom theme can be very small or fully override the default look.\n\nLanguage packs use the same partial-configuration strategy. Missing strings fall back to English, and imported language packs are normalized before being written into the app configuration directory.\n\nStart with the example files:\n\n- [Custom theme JSONC](assets\u002Fcustom-theme.example.jsonc)\n- [Custom language JSONC](assets\u002Fcustom-language.example.jsonc)\n\nIn the app, use `Theme -> Add Theme Config` or `Language -> Add Language Config` to import a `.json` or `.jsonc` file. JSONC comments are accepted for writing and sharing examples; normalized configuration files saved by the app are strict JSON.\n\n> Thank you for helping translate Velotype or enrich the Velotype theme ecosystem. The project is evolving rapidly, so theme field changes may occur frequently.\n\n## Architecture\n\n| Layer | Responsibility |\n| --- | --- |\n| `editor` | Window-level editor state: view mode, save\u002Fclose flow, undo, selection, source mapping, tree mutation, export, and file drop. |\n| `components::block` | Editable block runtime, GPUI input handling, block rendering, block events, image\u002Ftable\u002Fcode runtime state. |\n| `components::markdown` | Markdown data models and parse\u002Fserialize helpers for inline text, links, images, footnotes, tables, HTML, and code highlighting. |\n| `config` | Velotype behavior and theme configuration interfaces. |\n| `export` | HTML and PDF export pipelines. |\n| `theme` | Visual theme tokens, built-in theme defaults, imported custom themes, and the global theme manager. |\n| `i18n` | Built-in UI strings, imported language packs, system locale matching, and runtime language selection. |\n| `net` | HTTP client integration for remote image loading. |\n\nThe editor uses a native block tree as its runtime model. During import, stable supported Markdown is converted into structured blocks; during save, the block tree is serialized back into canonical Markdown. For syntax that is not stable enough in the current runtime, Velotype preserves the original source and keeps it visible and editable.\n\n## Contributing\n\nThis repository is still moving fast. When reporting parsing or rendering issues, please fill out the issue template so the problem can be reproduced and handled efficiently.\n\nFor code changes, we recommend developing on the `dev` branch first and keeping patches small. Please extend the existing parser\u002Fruntime model instead of replacing the current implementation wholesale.\n\n## License\n\nVelotype is licensed under the [Apache License 2.0](LICENSE).\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fchart?repos=manyougz\u002Fvelotype&type=date&legend=top-left)](https:\u002F\u002Fapi.star-history.com\u002Fchart?repos=manyougz\u002Fvelotype&type=date&legend=top-left)\n","Velotype 是一个基于 Rust 和 GPUI 构建的高性能原生 Markdown 编辑器。它支持 WYSIWYG 风格的渲染编辑和 Markdown 源文本编辑模式，通过块模型保持文档结构清晰可控。其核心特点包括使用 Rust 语言驱动解析、状态更新和渲染，确保性能和稳定性；采用 GPUI 实现桌面原生 UI 渲染，无需依赖 Electron 或 WebView 壳；提供丰富的主题自定义选项，允许用户调整颜色、字体、间距等；编译后为单个可执行文件，便于跨平台（Windows、Linux 和 macOS）分发和使用。Velotype 适用于需要高效编写和格式化 Markdown 文档的场景，尤其适合追求高性能和原生体验的技术作者。",2,"2026-06-11 03:52:58","CREATED_QUERY"]