Overview
Duoload is a command-line tool that allows you to export your data from Duocards and transfer it to either Anki flashcards or a JSON format. This gives you full control over your learning data, enabling you to use it with the powerful Anki ecosystem or process it with your own tools.
This application is intended to be used only with user-created cards. Please, respect copyright and don't download own Duocards card stacks.
Installation
Binary Installation
Duoload provides pre-built binaries for all major platforms. You can download the latest release from the GitHub releases page:
- Linux (AMD64):
duoload-linux-amd64 - Linux (ARM64):
duoload-linux-arm64(broken, under construction) - Windows (AMD64):
duoload-windows-amd64.exe - macOS (AMD64):
duoload-macos-amd64 - macOS (ARM64):
duoload-macos-arm64
After downloading, extract archive, make the binary executable (on Unix-like systems):
Docker
Duoload is also available as a Docker image. You can pull it from GitHub Container Registry:
# Pull latest version
# Or pull specific version
Usage
Finding Your Deck ID
Before using Duoload, you'll need your Duocards deck ID. This is a base64-encoded identifier that looks like: RGVjazo1YjZmMTA3My1hZjA2LTQwMGMtYTQyNC05ZWM5YzFlMGEzZjg=
TODO: Instructions on how to find your deck ID in the Duocards application.
Examples
1. Export to Anki Package
Export your vocabulary to an Anki package file that can be directly imported into Anki:
# Using binary
# Using Docker
2. Export to JSON File
Save your vocabulary as a JSON file for custom processing:
# Using binary
# Using Docker
3. Export to JSON via stdout
Pipe the JSON output directly to other tools or save it to a file:
# Using binary
# Save to file
# Process with jq
|
# Using Docker
# Save to file
# Process with jq
|
Output Format
Anki Package (.apkg)
The generated Anki package contains your vocabulary cards with the following fields:
- Front: The foreign language word
- Back: The translation
- Example: Example usage (if available)
- Tags: Learning status (duoload_new, duoload_learning, or duoload_known)
JSON Format
The JSON output is an array of card objects with the following structure:
Vibe coding
This utility was vibe coded using:
- Gemini 2.5 Pro
- Cloudie 4.0 sonnet
- Cursor using 'auto' mode
It also got some manual polishing (mostly in specs, PRDs and tests) and was completely reviewed by humans.
It also was tested to work with Duocards as per Jule 2025 with a personal database of 2k+ words.
Current state and plans
Most of the plan was implemented, we have working code and packages.
Leftovers:
- Fix linux/arm issue for build and image
- Update docs on how to extract deck id. It is not the simplest task.
- I want to validate it works on someone's else machine and deck before final release.