Language learning application based on LibreLingo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Dimitris Kardarakos 3daea488df Fix save of already passed challenges to persistent storage 3 days ago
.reuse Add missing licensing information 4 weeks ago
LICENSES Add missing licensing information 4 weeks ago
glossaico Fix save of already passed challenges to persistent storage 3 days ago
screenshots Provide installation and development environment setup instructions 4 weeks ago
tests Fix save of already passed challenges to persistent storage 3 days ago
.gitignore Fix licensing 1 year ago
LICENSE.txt Add metadata to setup tools configuration file 1 year ago
MANIFEST.in Use previously exported courses to improve performance 1 year ago
Makefile Execute SPDX checking on make 4 weeks ago
README.md Explicitly mention that sqlite is used 3 weeks ago
check_file.sh Add configuration files and utilities for code checking, code formatting and 2 months ago
mypy.ini Use a relational database for progress data 2 months ago
org.codeberg.dimkard.glossaico.desktop Initialize next release cycle 2 weeks ago
org.codeberg.dimkard.glossaico.desktop.license Rename app to Glossaico 1 year ago
org.codeberg.dimkard.glossaico.metainfo.xml Add release date to application metadata 2 weeks ago
org.codeberg.dimkard.glossaico.svg Rename app to Glossaico 1 year ago
pyproject.toml Add tests for the theme search function 4 months ago
setup.cfg Update Markdown version check 2 weeks ago
setup.py Provide a dummy setuptools script to facilitate packaging 1 year ago

README.md

Glossaico

Glossaico is a language learning application based on LibreLingo.

Its primary target is Linux Mobile devices but it also runs on any environment where Python, Qt and Kirigami are available.

At the moment, it contains three language courses:

  • Spanish for English speakers
  • German for English speakers
  • Basque for English speakers

Install

Glossaico is available as a flatpak package and it can be installed from flathub. First, ensure that flatpak has been installed and the flathub repository has been added. Then, install Glossaico:

flatpak install org.codeberg.dimkard.glossaico

Contribute

  • Install the Kirigami UI components from the repository of your Linux distribution. E.g., on Ubuntu:

sudo apt install qml-module-org-kde-kirigami2

  • Ensure that sqlite is installed (most probably) on your system

  • Clone the repository and create a virtual environment:

python3 -m venv env/
  • Activate it using the activate script:
source env/bin/activate
  • Ensure that pip, wheel and setuptools exist:

python3 -m pip install --upgrade pip setuptools wheel

  • Install the PySide2 build dependencies

    • qtbase5-dev
    • qtdeclarative5-dev
    • qtdeclarative5-private-dev
    • llvm
    • libclang-dev

with the package manager of your distribution

  • Build and install PySide2:
wget https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.6-src/pyside-setup-opensource-src-5.15.6.tar.xz
tar xvf pyside-setup-opensource-src-5.15.6.tar.xz
cd pyside-setup-opensource-src-5.15.6
mkdir build
cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=../../env/ -DBUILD_SHARED_LIBS=True -DCMAKE_BUILD_TYPE=None -DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_TESTS=OFF ..
cmake --build build
cmake --install build
export LD_LIBRARY_PATH=/path/to/env/lib
  • Install the editable developer version of the application:
pip install -e ".[dev]"
  • Check the file(s) changed:
./check_file.sh NEW_OR_MODIFIED_FILE
  • Run the tests:
python -m pytest -sv tests/
  • Run the application
glossaico

License

Glossaico is licensed under GPL v3+.