Skip to content


Why does this project exist?

This project exists to create a beginner-friendly, community-oriented, free software licensed language learning application. If you want to learn more about LibreLingo's background, I recommend reading my article.

Project structure

Clickable flow chart

graph LR YAML[YAML course] --> LOAD LOAD[librelingo-yaml-loader] --> EXPORT[librelingo-json-export] EXPORT -->|JSON files| APP LOAD -->|TODO| AUDIO LOAD -->|TODO| IMAGE AUDIO[Audio files] --> APP IMAGE[Image files] --> APP TYPES[librelingo-types] --> LOAD UTILS[librelingo-utils] --> LOAD click APP "" click EXPORT "" click UTILS "" click TYPES "" click IMAGE "" click AUDIO "" click LOAD "" click YAML ""

Setting up the development environment

Clone the repository:

git clone [email protected]:kantord/LibreLingo.git

Move into the repo directory:

cd LibreLingo

Web app

You will need Node. Note that this project is not yet compatible with Node v16.

Install dependencies:

yarn set version classic

Start the development server:

yarn web dev

Now you should be able to see your app on http://localhost:3000/

Exporting a course from YAML

You will need Poetry.

Install dependencies at the top level and for the app:

poetry install

cd apps/librelingo_yaml_loader
poetry install
cd ../..

cd apps/librelingo_json_export
poetry install
cd ../..

Export a course:

./scripts/ <course directory name>

Setting up Semaphore CI in a clone

In order for Semaphore CI to correctly operate, you will need to set up certain secrets.

This might not be necessary for you in all cases, but it cannot be avoided if you want to fully fork the repo, or work on CI configuration related tasks.

Consult this page to read about setting up secrets in Semaphore CI.

Here's a list of the tokens you need to set up. Each of them is a link to a page explaining how to obtain the token: