Flashcard plug

Hello,

I create a simple flashcard plugin maybe it will be usefull for someone else.

I plan to add cloze cards and maybe reversed style.

The plugin is currently stateless and i am thinking to change that in order to create a complete flashcard plugin.

But i am struggling with the location to store the card status, maybe a dedicated page?

6 Likes

Nice, very good use of silverbullet. Looking forward to see more from it in the future.

I release a new version based on ts-fsrs algorithm and i fixed some bugs

2 Likes

Hi total noob here, I am currently testing out silver bullet, and wanted to try out this plug since the SRS is really appealing to me. But I seem to do something wrong. Here are the steps I did

  1. I added the PLUG to the CONFIG
  2. Added your github example as a page.
  3. Tried to use the Flashcard command
    But whenever I use the command nothing visual happens? Do I need to add permissions or something like this for it to work? I am using V2 and docker

If I need to report something else for you to debug please let me know. Thank you in advance :slight_smile:

Plug is just outdated and uses syscalls, which don’t exist anymore. I don’t know if @jhanos is still active, hope for the best.

Thanks for the quick reply. Is there an easy fix for this?

If you know what you are doing…
This is also something that could be implemented in SpaceLua comfortably now. It would be a little bit of an undertaking, but can be fun :wink:

Sorry if this is asking too much but you seem experienced how one to one is the original script to lua? Would this be a fun weekend project or a month, or even year long journey?

If you are a decently experienced coder more like a weekend project. The plug code isn’t the best, I don’t know if I would port that one-to-one.

Curious, I looked over the typescript file and was actually impressed with the functionality. Having multiple decks is awesome. Although I would probably prefer to be able to aggregate based on tags. I also think the hashing of cards is very smart. What do you mean with isn’t the best. Is it something that can be considered without deviating too far from the original?

image
image
image

image
Questionable formatting and use of language features.

1 Like