Made a standalone spaced repetition plugin (doesn't rely on Anki etc)

159 views
Skip to first unread message

Tadeáš Paule

unread,
Jan 15, 2021, 9:45:35 AM1/15/21
to TiddlyWiki

Hi all, I stumbled upon TiddlyWiki a couple weeks ago and been loving it so far.

Another thing I'm interested in recently is spaced repetition, and I've been using Anki. After finding TiddlyWiki I thought it would be perfect if I could just have my flashcards and do my learning within tiddlywiki, instead of going back and forth between the two. After some googling I found TiddlyRemember, but that was doing Anki sync so not quite a fit for me.

Long story short, I built something over a couple days that does the job. If you are looking for something like this, like I was, you can check it out at https://tadeaspaule.com/twsr (github repo at https://github.com/tadeaspaule/twsr). I would love your feedback.

If there are any interested people, I would also appreciate any PRs with improvements, as there is a lot of room for that right now :) for example a big next step would be some import feature so you can migrate your Anki (or equivalent) decks to your wiki

Currently supports:

- 1 tiddler = 1 flashcard. prompt is either the tiddler title, a custom prompt, or a Cloze prompt

- 1 deck = 1 tag (not all tiddlers of that tag have to be flashcards. Process of making flashcards explained in the demo page, it's quite simple)

- revise per deck or revise anything

- rate your performance with again/hard/normal/easy (like in Anki)

- all of this happens in a tab labelled SR in your sidebar

- edit delays and intervals (written and read from JSON tiddlers)


Current things I view as TODOs

- import functionality from Anki etc

- perhaps a way to have multiple flashcards come from one tiddler? not sure about the usefulness of this, have to look into TW performance as number of tiddlers goes up

- perhaps performance improvements (in how it retrieves the tiddlers to revise). currently am not encountering any issues, but we'll see how it goes as I keep adding flashcards :)


once again, any feedback is welcomed, hope you have a nice weekend

David Gifford

unread,
Jan 15, 2021, 10:49:19 AM1/15/21
to TiddlyWiki

dieg...@gmail.com

unread,
Jan 15, 2021, 5:07:46 PM1/15/21
to TiddlyWiki
Awesome! I once made a small proof of concept as well can anwiki. Glad to see a much more serious plugin!

On Friday, January 15, 2021 at 8:45:35 AM UTC-6 tpaule....@gmail.com wrote:

Amy Lee

unread,
Jan 22, 2021, 10:12:28 PM1/22/21
to TiddlyWiki
Hi tpaule,

I like how easy you made it to view questions and answers, as well as view intervals and delays. I think this plugin accounts for days where I skipped revision through negative numbers, and that's convenient. It is also very easy to add a new deck. I was confused for a bit when I made tiddlers tagged with "some-topic" and "twsr" before making a deck called "some-topic", but the cards did not appear even after switching back to the SR tab. They only appeared after I went into edit mode on one of the cards and saved. I don't consider this a bug though.

I'm concerned about using too many tags for big concepts and slowing down my wiki. This is a general question, but how many tags and tiddlers does it take for this to happen? I plan on using less than 20 cards a deck.

Also, if I click the wrong button during revision, can I just set the card's delay to 0 and change its interval? This would be time-consuming manually, so it would be nice to be able to input the title of the card, delay, and interval to change them automatically. I understand if you don't want to do this however. In that case, would this idea be doable for a beginner like myself? Probably the most complicated thing I remember is using the list widget.

Thanks,

Amy

TW Tones

unread,
Jan 23, 2021, 12:28:37 AM1/23/21
to TiddlyWiki
Amy,

You said  I'm concerned about using too many tags for big concepts and slowing down my wiki.  
I don't think you need to be concerned, first see here performance and if your wiki does slow down and you have tried these just ask and there are various ways to support performance. Make it do what you want, with gay abandon, with a little caution not to make poor performance choices and there is plenty you can do if it does slow down.

You can move tags to their own fields etc... to reduce the reliance on tags anyway.

TiddlyWiki takes a very large data set or complex macros before you start to need to redesign and you can easily. Focus on what you want, need and dream of first. The rest is just details.

Tones


Tadeáš Paule

unread,
Jan 23, 2021, 6:36:41 AM1/23/21
to TiddlyWiki
Hi Amy,

Thanks for the feedback. I definitely feel that room to grow for the plugin is in making it easier to use in these edge cases, for example where otherwise you have to go into the .json files and manually find and edit values.

I don't know when I can get to this, but it's definitely on my radar.

I think your question about performance was addressed by Tones, although this is a question for me as well :) I made it initially to suit my particular need, and I will see how the situation evolves as I accumulate more flashcards etc. I would also appreciate any heads up from anyone using it if they run into performance issues. So far it's been fine at least for me personally, but then again my SR collection atm is fairly small.

Kind regards,
Tadeas
Reply all
Reply to author
Forward
0 new messages