A privacy-focused web application that converts animated SVG files to video formats entirely in your browser. No uploads, no server processing - everything runs client-side.
Note:
- Project is meant for learning svelte/tailwind on a personal pain point
- Much of the code/README/copy/SVG/icons are AI generated
- References https://github.com/lenra-io/svg-recorder - with fixes to make it work on chrome
- 🔒 Privacy-First: All processing happens in your browser
- ⚡ Fast Conversion: Client-side processing for instant results
- 📄 Multiple Formats: Supports all video formats your browser can handle
- 🎨 Customizable: Adjust dimensions, duration, framerate, and background
- 📱 Responsive: Works on desktop and mobile devices
Convert your animated Draw.io diagrams to videos for presentations, documentation, or sharing!
- Node.js 20 or higher
- npm
- Clone the repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser to
http://localhost:5173
npm run buildThe built files will be in the dist directory.
This project is configured for automatic deployment to GitHub Pages using GitHub Actions.
- Push your code to a GitHub repository
- Go to your repository's Settings > Pages
- Under Source, select GitHub Actions
- The deployment will trigger automatically on every push to the
mainbranch
The GitHub Actions workflow (.github/workflows/deploy.yml) will:
- Build the project using Vite
- Deploy the built files to GitHub Pages
- Make your app available at
https://yourusername.github.io/svg2vid/
If you prefer manual deployment, you can build the project and deploy the dist folder to any static hosting service.
- Upload: Select an animated SVG file
- Configure: Set video dimensions, duration, framerate, and background color
- Convert: The app creates a video by capturing frames of the animated SVG
- Download: Save the resulting video file
- Modern browsers with Canvas and MediaRecorder API support
- Chrome, Firefox, Safari, Edge (latest versions)
- Svelte 5: Reactive UI framework
- TypeScript: Type-safe JavaScript
- Vite: Fast build tool and dev server
- TailwindCSS: Utility-first CSS framework