Speaking as a total ignorant from a coding perspective. But I guess that wouldn’t be the hard part, considering that most of Duolinguo is just boxes and text inputs. How difficult it is to create a database of competent linguists with an efficient training who can progressively enhance your understanding of languages?
Repetition of words in isolation (ie flashcards or what anki offers) does nothing whatsoever to teach you a language.
Duolingo is far from perfect but it certainly does more than basic flashcards (which are fine if you’re ok with just vocab). What people constantly miss about Duolingo is that it also offers lessons (to teach you how grammar works for example) but people have to read them and take the time to understand them. Which isn’t what they normally do because it takes time and it doesn’t give you xp (it’s not gamified so everybody ignores it).
It’s how school teaching works (no it doesn’t work great either but that’s because this part is only meant to teach you about the basic layer of language, not the rest).
So Duolingo and anki aren’t designed to do the same thing at all. But if you’re serious about learning a language, Duolingo is certainly a better start IF you do it right. A combination of the two is a better bet.
Duolingo open source? Doable but you need teachers to open source their lessons and vet them. Huge amount of time and probably costly which is where the cookie crumbles.
Well you don’t just use the flashcards, You have to use textbooks and practice on supplementary material. Those aren’t really software that can be open source.
Also Duolingo removed its grammar lessons a while ago, so its really not that different from flashcards now. EDIT: nevermind they only removed grammar on desktop.
If an OS alternative was trying to completely replace duolingo, it would need far more than that. Duolingo has had extensive work put into listening and speaking lessons. Almost all lessons have a listening componentwhich is a ton of content to make up for. They have significantly better voice recognition than my phone. The amount of effort to get something like that working for a language, let alone dozens of languages is a high bar.
Take a look at any of the job postings that duolingo has, they’re only looking for Google employee level of skill for a reason (aside from how fucked the job market is).
It’s not impossible for duolingo to be replaced with an open source version, but it’s a giant undertaking.