Skip to content

daxida/lingq

Repository files navigation

LingQ

GitHub image image

Command line utilities and scripts for interacting with LingQ's API.

You will need a LingQ API key. You can get it from here.

Installation

pip install lingq

Then run:

lingq setup yourLingqApiKey

Usage

# Upload a YouTube playlist to a Greek course
lingq postyt el 129129 "https://www.youtube.com/@awesomeyoutuber"

# Bulk upload a book split by chapters
lingq post el 129139 -t "example/texts" -a "example/audios" --pairing-strategy zip

# Add timestamps to a German course
lingq timestamp de 129129

The full set of commands can be found with lingq --help. Per command information uses again the help flag: lingq timestamp --help.

See the documentation for more information.

Etc.

Mainly undocumented scripts to scrape, process text and audio, and to manually use whisper.

If you want to use some of it:

git clone https://github.com/daxida/lingq
cd lingq
pip install .[etc]
# And for example
python3 etc/scrape/japanese/sc_itazura.py

Links

  • A repo for LingQ-compatible forced alignment.
  • Legacy (v1.0 and v2.0) LingQ's API documentation.
  • A repo to upload content to LingQ (may be outdated).
  • A repo to upload YouTube playlists to LingQ with Whisper subtitles.
  • A repo to split downloaded audio from YouTube.
  • A repo for an API wrapper in ruby.
  • A repo for a LingQ addon that enhances the UI.

About

Lingq scripts for automated editing

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages