Some utility tools for the flashcard learning tool CoboCards.com
Simple backup script to save all cardsets via the REST API from CoboCards: http://www.cobocards.com/api/pmwiki.php/Main/GetStarted
Please be aware that the response format is HTML encoded. It is not the internal CoboCards Markup language. It can not be re-imported into CoboCards.
The Backup includes:
- Folders corresponding to CC Folders
- Subfolders corresponding to Cardsets
- .xml file which includes all HTML encoded cards
- Subfolders with images (.jpg) and formulars (.gif)
All files are packaged in a .zip file.
An CoboCards Api Key and your credentials are required to use this script (see script source code).
python3 CoboCardsRestBackup.py
Simple backup script (Jupyter Notebook) to save all cardsets using the export function of Cobocards.
The exported XML files are encoded in the internal CoboCards Markup languange and can be reimported. They also include images. Latex formulars are included as source code in the card content.
The script uses Selenium and a Chrome driver to crawl through all cardsets and export them automatically.
A CoboCards username and password is required.
Open it as a jupyter notebook and execute all fields.
Simple importer script for Cobocard Backups to OneNote using the Microsoft Graph API. Data from both backup sources (see above) is required in order to preserve Latex formulars as source.
You have to register an app in order to be able to use the script.
-
Choose a name of the app.
-
Generate a new application secret and insert the password / public key & (application) id in the
./microsoft_graph_authenticator/config.py
file. -
Add a new platform with a redirect URL to
http://localhost:5000/login/authorized
. -
Add permissions for the following scopes:
Notes.ReadWrite.All
Notes.Read.All
Notes.Create
Notes.ReadWrite
Notes.ReadWrite.CreatedByApp
- Save
Open it as a jupyter notebook and execute all fields.
- #'s in latex formulars brake the code -> just don't use them in formulars
- latex formulars are not converted to microsoft formulars automatically -> actually Microsoft published a Tex importer for Office. However, I can't find a way to access it from the graph API :(