Skip to content

Send progress of Duolingo course to a Notion database.

Notifications You must be signed in to change notification settings

loicpirez/Duolingo-Notion-Sync

Repository files navigation

Synchronise Duolingo to Notion

Send progress of Duolingo course to a Notion database.

Introduction

I made this script to send the data from my Duolingo account to a Notion page (Chinese courses).

This script does:

  • Fetch Duolingo data for your account (Chinese simplified course)
  • Get dictionary pinyin,usages,exemples for each vocabulary word
  • Push those data properly formatted in a Notion database

Main page

Grouped by category page

Please find the Notion template here

Common setup

Clone the repo and install the dependencies. NodeJS and Python3 (with pip) must be installed.

git clone git@github.com:loicpirez/Duolingo-Notion-Sync.git
pip3 install duolingo-api dotenv 
npm install

Environment

Environment must contain those variables. You can add them in the .env files. (see .env.sample)

Name Description
DUOLINGO_USERNAME Duolingo username.
DUOLINGO_PASSWORD Duolingo password.
NOTION_TOKEN API token of your Notion integration.
NOTION_DATABASE_TITLE Title of your Notion database.
NOTION_DATABASE_ID ID of your Notion database.
NOTION_PAGE_ID ID of your Notion page.

Running

npm run start

About

Send progress of Duolingo course to a Notion database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published