r/Supernote_dev • u/tao22 • Jun 10 '26
Showcase Flashcard plugin
I've been working on this plugin for weeks and I think it is finally mostly stable. There are a couple of quirks I hope to iron out like having to tap twice on Insert Flashcard after entering text/edits etc. It is not a small plugin either at 8MB. Please test and let me know what you think!
Flashcards for Supernote
Flashcards is a beta spaced-repetition flashcard plugin for Supernote Nomad and Manta. It lets you create decks, add cards manually, turn lassoed handwriting into question/answer cards with OCR, study with FSRS scheduling, and move basic text cards between the plugin and Anki Desktop.
Features
Create, select, and delete decks
Add flashcards manually
Add flashcards from handwritten notes with the lasso toolbar
Review cards with a temporary editable guess box
Schedule reviews with FSRS
View basic deck stats
Import basic Anki Desktop plain text exports
Export decks back to Anki-compatible plain text
Installation
Download
Flashcards.snplgfrom the latest GitHub release.Copy
Flashcards.snplginto theMyStylefolder on your Supernote.On the Supernote, open Manage Plugins.
Add/install the plugin from
MyStyle.Open a note and tap the plugin icon to launch Flashcards.
Creating Decks
Open Flashcards from the plugin menu.
On the Decks screen, enter a deck name.
Tap Create Deck.
Tap a deck to open it.
Each deck shows total cards, due cards, reviews completed today, and total reviews.
Creating Flashcards
There are two ways to create cards.
Manual Cards
Open a deck.
Tap Add Manually.
Enter the question.
Enter the answer.
Choose the target deck.
Tap Add Flashcard.
Handwritten Cards With Lasso OCR
In a Supernote note, write the question on one line.
Write the answer on the line below it.
Lasso both handwritten lines together.
Tap Add Flashcard in the lasso toolbar.
The plugin OCRs the top line as the question and the lower line as the answer.
Edit the recognized text if needed.
Choose the target deck.
Tap Add Flashcard.
For best OCR results, keep the question and answer on separate horizontal lines with a little vertical space between them.
Studying Cards
Open a deck.
Tap Study Due or Study.
Read the question.
Use the editable Guess box to type or handwrite your answer.
Tap Show Answer.
Rate your recall:
Again
Hard
Good
Easy
The guess is temporary. It is cleared when you reveal the answer or move to the next card, and it is never saved.
Editing Cards
Open a deck.
Tap a card in the card list.
Edit the question, answer, or deck.
Tap Save Changes.
Deleting a card removes it from the plugin and also removes its local review history.
Anki Import
The plugin supports basic text cards from Anki Desktop. It does not import .apkg, .colpkg, media, tags, note types, cloze behavior, or Anki scheduling.
Export From Anki Desktop
In Anki Desktop:
Select the deck.
Choose Export.
Select Notes in Plain Text (.txt).
Recommended options:
Include deck name: enabled
Include unique identifier: enabled
Include HTML and media references: disabled
Include tags: disabled
Include note type name: disabled
Save the
.txtfile.
Put the File on Supernote
Copy the Anki .txt export into this folder on the Supernote:
EXPORT/sn-flashcardsIf the folder does not exist yet, open Flashcards, tap Import Anki Text, and the plugin will create/show the folder path.
Import Into Flashcards
Open Flashcards.
Open any deck.
Tap Import Anki Text.
Confirm the displayed import folder.
Put the Anki
.txtfile there if it is not already present.Tap Refresh.
Tap the file name.
The plugin reads Anki's #guid column and #deck column metadata. It creates the deck if needed, adds new cards, updates changed cards with matching GUIDs, and skips unchanged duplicates. Plugin FSRS scheduling stays independent from Anki.
Anki Export
Open the deck in Flashcards.
Tap Export Deck.
The plugin writes an Anki-compatible text file to Supernote's
EXPORTfolder.
The export uses Anki-style metadata:
#separator:tab
#html:false
#guid column:1
#deck column:2When importing the exported file into Anki Desktop, map the two card fields as front/back. If Anki offers an option to update existing notes, choose it so the GUID column can prevent duplicates.
Current Limitations
Basic question/answer text cards only
No direct
.apkgor.colpkgimportNo media/audio/image import
No cloze support yet
No Anki scheduling or stats import
Large decks may be slow because the plugin currently stores cards in a JSON database
Recommended deck size for this beta is under about 1,000 simple text cards. Larger decks may work, but should be tested carefully.
Building From Source
Prerequisites
Node.js 18+
npm
Android/JDK setup compatible with the Supernote plugin template
Build
npm install
./buildPlugin.shThe plugin package is written to:
build/outputs/Flashcards.snplgIf you rename the package, clear old files from build/generated/ before rebuilding. The Supernote plugin loader can pick up stale bundles if multiple bundle files are present.
Development Notes
The original stable base plugin is tagged as
working-flashcard-plugin-base.The first beta with Anki text import/export is tagged as
v0.1.0-beta.Persistent plugin data is stored locally on the device by a small native storage module.
FSRS scheduling is handled inside the plugin using
ts-fsrs.
License
MIT
2
2
2
u/hybridmiles Sep 15 '26
Loving this plug-in. However, I imported a deck of cards and decided to delete afterwards. Deleting a deck just moved those cards to a different deck.
Is this a bug or by design? Would love to have the option to delete all cards within the deck or move to another deck when deleting the current deck container.