[开源推荐] Cicada:一个 15KB 的轻量级白板
A minimal, high-performance modern web digital whiteboard. It is designed for speed and elegance, eliminating clutter, so you can focus on what really matters: your ideas. ✨ Key Features Extreme performance: using a dependency-free architecture, it loads instantly in seconds. Single-file deployment: optimized with Vite, it is eventually packaged into a single, portable HTML file. Intelligent link sharing: using a custom binary encoder, the entire canvas data is compressed into a super-short URL — no database support required. ✍️ Natural writing experience: supports smooth pressure-sensing pen strokes and intelligent graphic recognition (such as automatic attachment of circles). Cross-platform adaptability: runs perfectly on desktop, iPad, and mobile devices. ️ Technology Stack Custom binary encoder: uses Varints and ZigZag encoding to serialize canvas data into a compact Base64 string for URL sharing. RDP path simplification: implements the Ramer-Douglas-Peucker algorithm to significantly streamline line data while preserving detail. Vite + GitHub Actions: a modernized CI/CD pipeline that automatically builds and deploys modular source code into a compressed, single-file production version.
内容来源: ascoders/weekly