Skip to content

PyBites-Open-Source/italki-class-assistant

Repository files navigation

Italki Class Assistant

This script / repo is to quickly look up words in different target languages as I am talking with my teachers on Italki 💪

It uses Googletrans but note that due to an issue it uses a pre-release

Installation

  1. Create Virtual Environment

    $ python3 -m venv venv
  2. Activate Environment

    $ source venv/bin/activate # Mac/Linux
    $ venv\Scripts\activate # Windows
  3. Install Dependencies

    $ pip install -r requirements.txt
  4. Setup Database

    $ python3 db.py
  5. (Optional) Copy .env-template

    $ cp .env-template .env

    .env file should now exist.

  6. (Optional) Configure Default Language in .env

    If you want to start the app with a pre-selected language, you can set the ITALKI_ACTIVATE_LANGUAGE_CODE environment variable in the .env file.

    EXAMPLE:

    ITALKI_ACTIVATE_LANGUAGE_CODE="fr"

Running

  1. Running GUI (Graphical User Interface)

    $ python3 gui.py
  2. Running CLI (Cammand Line Interface)

    $ python3 main.py
    

Enjoy 😎 and boost your language learning 📈

image

Releases

No releases published

Packages

No packages published

Languages