Automated mirror of the Draw.io embeddable editor from https://embed.diagrams.net
This repository provides a self-hosted mirror of the Draw.io embed application, automatically synced via GitHub Actions. This allows applications to:
- Host Draw.io independently from diagrams.net CDN
- Control update timing
- Maintain version history
- Enable offline-first applications
- Ensure availability even if upstream is down
- Manual: Can be triggered via GitHub Actions "Run workflow" button
Replace the Draw.io CDN URL in your application:
Before:
const DRAWIO_CDN = 'https://embed.diagrams.net/';After:
const DRAWIO_CDN = 'https://texlyre.github.io/drawio-embed-mirror/';Current version information is available at:
https://texlyre.github.io/drawio-embed-mirror/VERSION.txthttps://texlyre.github.io/drawio-embed-mirror/version-info.json
- Create this repository on GitHub
- Enable GitHub Pages:
- Go to repository Settings → Pages
- Source: GitHub Actions
- Run the workflow manually for the first sync:
- Go to Actions tab
- Select "Sync Draw.io Embed"
- Click "Run workflow"
- Check the Actions tab for sync status
- Review commits for changes between versions
- Releases are automatically created for each version update
This repository mirrors content from Draw.io (https://www.diagrams.net/), which is licensed under the Apache License 2.0.
The automation scripts in this repository are provided as-is for creating your own mirror.
This is an unofficial mirror. For the official Draw.io embed, visit https://embed.diagrams.net/