A Web GUI for irrwahn/svg2ass. Check it here: https://qgustavor.github.io/svg2ass-gui/
Compiled to WASM using Emscripten. Uses SVGO to improve compatibility and to compress results.
This project includes code from:
- irrwahn/svg2ass: BSD 3-Clause License
- Emscripten: MIT/Expat Licence
- SVGO: MIT License
- Plume CSS: GNU GENERAL PUBLIC LICENSE
Please open a issue or send a pull request if there is any issue regarding licensing.
If you wish to translate this tool to your language then fork this repository, create a copy of index.html with your language code, translate messages, replace the language code in <html lang>
, add your language to lib\languages.html
, then finally send a pull request.
This tool was made with one of the goals being making it easier for companies like Crunchyroll to do proper typesetting in their works. As far as I know, it looks like this tool was been used at least once by Crunchyroll staff, but I don't have any official info on that. Anyway, here is some privacy stuff just so enterprise folks can feel more safe knowing that their precious NDA-protected data is safe with this tool:
Data is converted in browser and is not send to any servers. Application data is fetched from GitHub servers which receive usual request info related to fetching any webpage.
If required this project can be cloned and hosted in any web server. All source-code specific to this project is meant to be safe, respect user privacy and allow to be audited. Both lib/svg2ass.js
and lib/svg2ass.wasm
were compiled using Emscripten, so their code are not readable, but those can be still verified by doing the same build steps:
- Install make (if it's not already installed);
- Install Emscripten;
- Clone qgustavor/svg2ass;
- Replace the contents of
Makefile
with those oflib/Makefile
; - Run
make
.
The qgustavor's fork of svg2ass is used as it adds support to short form hex colors and alpha (colors with alpha are parsed, but, at the moment, the alpha is ignored), which fixes an issue which was reported by one user of this tool.
Flags, used to identify languages, come from catamphetamine/country-flag-icons and are also loaded from GitHub servers. Those are released under MIT License.