1
0
Fork
You've already forked glossaico
0
forked from dimkard/glossaico
Language learning application based on LibreLingo
  • Python 86.2%
  • QML 13.5%
  • Shell 0.2%
  • Makefile 0.1%
2022年12月08日 11:30:45 +02:00
.reuse Enable the translation of the application 2022年12月05日 17:24:22 +02:00
glossaico Use weblate as main system for translations 2022年12月08日 11:30:45 +02:00
LICENSES Add missing licensing information 2022年11月02日 17:20:14 +02:00
screenshots Provide installation and development environment setup instructions 2022年11月02日 17:24:22 +02:00
tests Fix save of already passed challenges to persistent storage 2022年11月26日 23:14:33 +02:00
.gitignore Provide the translations template 2022年12月06日 17:23:58 +02:00
check_file.sh Add configuration files and utilities for code checking, code formatting and 2022年10月01日 13:41:36 +03:00
generate_pot.sh Enable the translation of the application 2022年12月05日 17:24:22 +02:00
LICENSE.txt Add metadata to setup tools configuration file 2021年10月20日 13:09:15 +03:00
Makefile Improve message strings and translation workflow 2022年12月07日 17:54:47 +02:00
MANIFEST.in Enable the translation of the application 2022年12月05日 17:24:22 +02:00
mypy.ini Use a relational database for progress data 2022年10月13日 17:32:27 +03:00
org.codeberg.dimkard.glossaico.desktop Initialize next release cycle 2022年11月15日 17:42:57 +02:00
org.codeberg.dimkard.glossaico.desktop.license Rename app to Glossaico 2021年11月06日 15:43:53 +02:00
org.codeberg.dimkard.glossaico.metainfo.xml Add release date to application metadata 2022年11月14日 14:36:06 +02:00
org.codeberg.dimkard.glossaico.svg Rename app to Glossaico 2021年11月06日 15:43:53 +02:00
pyproject.toml Add tests for the theme search function 2022年07月21日 15:35:22 +03:00
README.md Explicitly mention that sqlite is used 2022年11月07日 19:18:00 +02:00
setup.cfg Update Markdown version check 2022年11月14日 14:34:52 +02:00
setup.py Provide a dummy setuptools script to facilitate packaging 2021年11月17日 16:46:37 +02:00

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+.