Giter VIP home page Giter VIP logo

lingq's Introduction

LingQ

Scripts for basic interactions with LingQ's API.

How to use

  1. (Optional) Create a virtual environment: python3 -m venv venv.
  2. Install the required packages: pip install -r requirements.txt.
  3. Get your API key from here.
  4. Create a .env file in the root directory with the following format:
    APIKEY="your-lingq-api-key".
  5. Run your desired script:
    # Modify the parameters in post_yt_playlist.py and...
    python3 post_yt_playlist.py
    

Description

  • Get (download lessons):

    • get_lessons: download audio/text from a course.
    • get_courses: download audio/text from all the courses in a/every language (NOTE: This reorders your 'Continue studying' shelf).
    • get_pictures: download pictures from a course.
  • Post (upload lessons):

    • post: Upload text or text with audio.
    • post_yt_playlist: Upload an entire youtube playlist.
  • Patch (fix or complete lessons):

    • Bulk upload audio to a collection with only text.
    • Can be used to overwrite text, and to bypass word limit (not recommended).
  • Other scripts:

    • Make markdown: create a markdown of courses.
    • Library overview: get an overview of the library in a language.
    • Generate timestamps: generate timestamps for a course.
    • Sort lessons: sort your lessons according to some criteria.
    • Whisper: Download a youtube playlist in a LingQ friendly format (to use together with post).
    • Processing text: A bunch of ad-hoc scripts.
    • Processing audio: uses this to split the timestamps if the original video didn't have them and you wanted to do it manually.

Links

  • A miniminalist script to upload content to LingQ. May not be up to date.
  • A script to upload youtube playlists to LingQ with Whisper generated subtitles.
  • For splitting downloaded audio from youtube.

lingq's People

Contributors

daxida avatar

Stargazers

 avatar Craig Roy avatar Brendo avatar

Watchers

Brendo avatar  avatar

lingq's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.