Git Product home page Git Product logo

auto-lingo's Introduction

Auto-lingo

A Duolingo Bot for automatic XP earning.

Auto-lingo works in both the Learn mode and the Stories mode.

Built with Python and Selenium.

Modes

Learn mode

Completes every available skill until it is fully leveled up.

learn

Stories mode

Completes every available story as long as it gives XP.

stories

Getting Started

Prerequisites

You will need Python, Selenium, Chrome and Chromedriver installed.

Installing Selenium

pip install selenium

Installing Chromedriver

  1. Check your version of Chrome by going here and following the 3 steps in "How to check your version of Chrome".
  2. Go here and download the right version of chromedriver.
  3. Place the downloaded chromedriver executable in default path given in settings.json under "chromedriver_path"
    OR
    change the path in settings.json to point to the chromedriver executable.

Installation

  1. Download the ZIP file or clone the repository
git clone https://github.com/drknzz/auto-lingo.git
  1. Make sure the path to chromedriver executable is correctly set in settings.json
"chromedriver_path": "C:\\Program Files (x86)\\chromedriver.exe"
  1. (Optional) Save both your login / mail and password to Duolingo in credentials.json
"login": "[email protected]",
"password": "example"

Usage

python auto-lingo.py

Additional flags

Syntax Description
-s or --stories Stories mode
-l or --learn Learn mode
-i or --incognito Start browser in incognito mode
-m or --mute Start browser with muted audio
-a or --autologin Automatically login using credentials.json

Settings

Settings are located in settings.json file.

Syntax Description
chromedriver_path Path to chromedriver executable
antifarm_sleep Sleep time inbetween completing stories / skills
deviation Deviation of antifarm_sleep time for harder bot detection
maximize_window Start browser in full screen
headless No browser gui required
incognito No browser gui required
auto_login Automatically login to Duolingo using data in credentials.json
mute_audio Start browser with muted audio

Acknowledgments

Huge thanks to Kubvv for countless tests which led to bug and corner case finds.

License

Auto-lingo is distributed under the MIT License.

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.