I would like to learn a couple of languages (polish and Japanese - I already learned Spanish to a decent degree) but it seems like every solution is closed source.
I would use books but listening (and speaking) are very important and books won’t help with those.
What would you guys recommend?
This. Lots of people use Anki for this purpose. When you get used to it, there is no way back.