This nodeJS module converts Soramimi karaoke files (.txt) to Substation Alpha/Aegisub files (.ass).
Soramimi karaoke's software and lyrics files can be found at their official site
It applies a basic style to it which can be modified later.
npm install -g soramimi-to-ass
npm install soramimi-to-ass
Just supply the name of a .txt Soramimi file as your first argument, wether you call it in command line or as a module.
soramimi-to-ass myfile.txt [myfile.ass]
In command-line, second argument is optional : if it's not provided, output will be made to stdout.
Supply the main function with the Soramimi karaoke contents.
import convertToASS from 'soramimi-to-ass';
const file = 'karaoke.txt';
const soramimiData = await fs.readFile(file, 'utf8');
const ass = convertToASS(soramimiData);
console.log(ass);
- Write a better/simpler converter
- Make default style variable
- Also convert HTML font color tags and apply them via a style. (for now it's ignored)
- Add checks for format
- Other ideas? PR/MRs and issues are welcome.