Langly is a tool intended for language learners and more generally online readers. The app allows users to submit the url for an article or text based web page, and then returns the formatted title and content of the text along with a cumulative readability score. The score is based on several known readability algorithms, listed in the Flask Microservice README doc.
The app is a work in progress, and functionality that is being built or is planned includes:
- Allowing users to submit foreign language articles
- Allowing users to click on a word in the formatted article to highlight it and pull up a tool tip containing the definition of the word
- Allowing users to then save highlighted words to a vocab list at the bottom of the article
- Allowing users to turn words from their saved list into flashcards to be reviewed later
- Allowing users to categorize flash cards with category tags
- Allowing users to create accounts to save history of articles submitted, words saved, and flashcards created
The app is split into three separate repos on Github:
- React Front End
- Node/Express Back End
- Flask Microservice
To run the flask server, in the project directory the following steps should be taken:
- Create a virtual environment -
source venv/bin/activate
- pip install requirements -
pip install -r requirements.txt
- Start flask server -
flask run