[开源推荐] Cicada:一个15KB的轻量白板
- Dominant language
- JavaScript
- Stars
- 31.1k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
一个极简、高性能的现代网页数字白板。它专为速度与优雅而生,摒弃繁杂,让你专注于真正核心的事情:你的创意。
✨ 核心特性
🚀 极致性能:采用无依赖架构,实现秒级即时加载。
📦 单文件部署:通过 Vite 优化,最终打包为单个、便携的 HTML 文件。
🔗 智能链接分享:使用自定义二进制编解码器,将整个画布数据压缩进超短的 URL 中——无需数据库支持。
✍️ 自然书写体验:支持平滑的压感模拟笔触,以及智能图形识别(例如圆形的自动吸附)。
📱 全平台自适应:在桌面端、iPad 和手机端均能完美运行。
🛠️ 技术栈
自定义二进制编解码器:利用 Varints 和 ZigZag 编码将画布数据序列化为精简的 Base64 字符串,用于 URL 分享。
RDP 路径简化:实现 Ramer-Douglas-Peucker 算法,在保持细节的同时大幅精简线条数据。
Vite + GitHub Actions:现代化的 CI/CD 流水线,自动将模块化源码构建并部署为压缩后的单文件生产版本。
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue is a recommendation for the Cicada whiteboard and does not name a file, test, or repository entry point to change. Start by checking the repository's contribution guidance and how recommendation issues become published content; done would require a clearly defined content edit and confirmed placement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, javascript, vite
- Domain
- content
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100