
Illustration by Ghariza Mahavira
How I hacked into my language learning app to optimize it
Okay, so I have been learning German for a while now, and my German learning flashcards app (reword) has had one flaw
There aren't enough examples within the app, some words have no examples at all
So, now to the app's credit, it does allow you to manually edit the words via the screen
However, this process is cumbersome, and I wanted something faster, something that I can programmatically edit and add sentences to
So I thought about the ways I could go on to do this
I have 2 ideas here
- See if the app provides any export mechanism to export the data
- Create an automation that automatically controls the GUI to edit the words (something that automatically clicks, edits and adds on a loop)
#2 seemed hard, so I looked around the application for a little bit
I saw that the app provides an "export data" feature, but it does so in a weird .backup file
So, not sure what I can use to actually edit this, however, I have been doing stuff like this for a while, so I decided to check if it is a JSON file or so
So I exported the data, and opened it up in a text editor
Looking through the backup format
Here's the text content I got from the top of the file
SQLite format 3