📈 GH Trending Explorer 🎲 Surprise me

← all repos

mlightcad / cad-viewer

git clone https://github.com/mlightcad/cad-viewer.git v1.7.6 · 7d ago

The world’s first fully web-based DXF/DWG viewer and editor that runs entirely in the browser — no backend server required.

+4
stars, 24h · #7,081
+~33
stars, 7 days · #5,705
+~140
stars, 30 days · #5,308
1.2k
★ total · +3% this week
249
forks · 8 open issues

Star history (as recorded here)

2026-10-20 · 1,182 ★ 2026-10-23 · 1,196 ★
LanguageTypeScript
LicenseMIT
Created2025-10-10 (1y ago)
Last pushtoday
Watchers12
OwnerUser

GitHub topics

Links

README excerpt
# CAD-Viewer
English | 简体中文 | 日本語 | 한국어 | Español | Português | Русский | Čeština
cad-viewer is `the first web-based DXF/DWG viewer and editor in the world that operates entirely in browser, without relying on any backend services`.
By performing DWG/DXF parsing, geometry processing, and rendering directly in the browser, cad-viewer enables true serverless CAD viewing and editing, ideal for cloud apps, offline usage, and privacy-sensitive workflows.
It also offers something you will rarely find in other CAD viewers—**one-click export to a single, self-contained HTML file**. The downloaded `.html` embeds the drawing snapshot and a lightweight viewer runtime, so recipients can open, pan, zoom, toggle layers, and measure distances in any modern browser with **no CAD app, no server, and no install**. Most desktop and web CAD viewers only let you view inside their own product; cad-viewer turns a live drawing into a portable, offline artifact you can email, archive, or drop on a static file host—ideal for sharing with clients, compliance archives, and air-gapped workflows. The offline viewer also uses far less memory than traditional desktop tools when opening the same drawing (see memory comparison below).
- **🌐 Home Page**
- **🌐 Live Demo**: Netlify · GitHub Pages
- **🌐 API Docs**: Read the Docs (versioned) · MCP Server
- **🌐 Wiki**
- X (Twitter): @mlightcad
- YouTube: @mlightcad
- Medium: @mlightcad
- DEV.to: @mlightcad
- Juejin(稀土掘金): @mlightcad
### Apps Built with cad-viewer
The Thingraph team builds production DWG/DXF viewers and platform integrations on top of cad-viewer, serving tens of thousands of users worldwide:
- DWG Viewer Web App — Browser-based DWG/DXF viewer used by engineering teams worldwide for fast, serverless drawing access. Install for your platform:
 - Google Drive — open DWG/DXF from Drive with **Open with**
 - VS Code — custom read-only editor for `.dwg` / `.dxf`
 - Cursor — same extension via Open VSX
 - Confluence — embed DWG/DXF previews on pages
 - Windows Explorer — thumbnail and preview in File Explorer
Community apps & integrations:
- flyfish-dev/cad-viewer — Production-oriented browser CAD viewer for DWG, DXF, DWF, DWFx and XPS (live demo)
- Nextcloud CAD Viewer — Native Nextcloud app for viewing DWG/DXF in the browser (App Store)
Community Linux desktop packages:
- CAD Viewer AppImage — Electron-based AppImage for Linux (~114 MB), tested on Fedora
- cad-viewer (AUR) — Arch Linux source package using system Electron (~5.4 MB)
- cad-viewer-bin (AUR) — Arch Linux binary package with bundled fonts/templates for fully offline drawing open
### Demo Apps
Official sample apps that show how to integrate cad-viewer into your own product:
- cad-simple-viewer-example — Minimal vanilla TypeScript host for `@mlightcad/cad-simple-viewer`: open local or CDN DXF/DWG, drive commands from a small toolbar, and lazy-load HTML/PDF/SVG export plugins without the full Vue UI.
- cad-viewer-example — Full-featur