# FileDoer — matching source for the FLAC encoder The editor uses the FLAC add-on from Mediabunny 1.66.0. The encoder runs locally. FileDoer externalizes the bundled worker text and points the Mediabunny import to a local module. The codec WASM is from the pinned add-on release. The downloads are available from the editor's licenses page. | Module | Pinned source | SHA-256 | | --- | --- | --- | | libFLAC | `flac-3f1ecff8.tar.gz` ([Xiph commit 3f1ecff8](https://github.com/xiph/flac/tree/3f1ecff843dd1b8c07fbb5f59425a4ec71fe4f6c)) | `4ace54db53e274f6c73999a644b0a11410f67e5c35c06e4aaa8e5457bbf59f9d` | ## Rebuild with a different library 1. Unpack the source archive and `flac-1.66.0.zip`. The ZIP contains the tagged add-on's source, bridge, license notices and original `README.md`. 2. Use the add-on's documented Emscripten version and compile flags and the [Mediabunny 1.66.0 source tree](https://github.com/Vanilagy/mediabunny/tree/v1.66.0), for build configuration and integration with the rest of Mediabunny. Build the static library (including any modifications of your choice), then compile the bridge against it and build the add-on. 3. To reproduce FileDoer's worker layout on your own host/dev build, import `splitAudioBundle` from the provided `codec-assets.mjs` and pass it the text of the resulting ES module bundle. Save the two results as `encoder.mjs` and `worker.js` side by side; the module expects `mediabunny-1.66.0.mjs` one directory above. Preserve `worker-src 'self'` and the other same-origin settings. No account, activation key, or license server is required by the encoder. The libFLAC library uses the Xiph BSD-style notice. The add-on uses MPL 2.0.