This is a javascript library to launch lunar client, without having the launcher installed
It downloads all required files by mimicking the normal launcher, then launches
async function main() {
const lunar = await LunarLauncher.init(); // fetch the versions, and other metadata from the launcher
lunar.setVersion('1.7'); // this will set the requested version to 1.7, is 1.8 by default
await lunar.launch(); // this will download all files, and then launch java
}
main();
The server lunar.gg
currently does not work
I'm not entirely sure if this is against your TOS, and I will take it down if you ask me to.