Prerequisites
Before you begin, make sure you have:- Git installed on your system
- Bun runtime installed
- A terminal or command prompt
Installation
Clone the repository with submodules
The project uses Git submodules for some dependencies. Clone the repository with the If you already cloned without submodules, initialize them:
--recursive flag:Install Bun
If you haven’t already, install Bun:
Optimizing Performance (Optional)
When you first open the application, it takes time to generate the list of supported formats for each conversion tool. You’ll see warnings in the browser console about missing caches.Generate initial cache
Open the application and wait for the format list to build. You’ll see a message in the console:
Export cache data
Open the browser console and run:This will output a JSON string with the cache data.
The cache optimization is recommended but not required. It significantly improves startup time by avoiding regeneration of format support data.
Available Scripts
Here are the key development scripts frompackage.json:
| Script | Command | Description |
|---|---|---|
| dev | bun run dev | Start Vite development server |
| build | bun run build | Build for production |
| preview | bun run preview | Preview production build locally |
| cache:build | bun run cache:build | Build minified cache file |
| cache:build:dev | bun run cache:build:dev | Build cache file (non-minified) |
Project Structure
The main directories you’ll work with:src/- Application source codesrc/handlers/- File format conversion handlersdist/- Build output directorydocker/- Docker configuration files
Next Steps
- Learn about Docker deployment
- Build the desktop application
- Read the contributing guide to add new file format handlers