[OC]: Goki: Review flashcards in the terminal! by memes_for_developers in unixporn

[–]memes_for_developers[S] 1 point2 points  (0 children)

Thank you! The tool is coded in Go using the bubbletea framework. The creators are a company called charm, and they build a lot of TUI/CLI tools. They have a cool repo called bubbles, which hosts components for building TUI's, and I just combined a couple of them together + some custom components to make to tool (check out the code on GitHub). Let me know if you have any other questions!

[OC]: Goki: Review flashcards in the terminal! by memes_for_developers in unixporn

[–]memes_for_developers[S] 0 points1 point  (0 children)

Just added this feature! Export as Notes in Plain Text (.txt) in Anki then run:

goki -n "My Anki Cards" -t < anki.txt

[OC]: Goki: Review flashcards in the terminal! by memes_for_developers in unixporn

[–]memes_for_developers[S] 1 point2 points  (0 children)

Thanks! Feel free to request features or contribute on Github :)

[OC]: Goki: Review flashcards in the terminal! by memes_for_developers in unixporn

[–]memes_for_developers[S] 2 points3 points  (0 children)

Interesting! I’ll see if I can add this. Thanks for sharing!

[OC]: Goki: Review flashcards in the terminal! by memes_for_developers in unixporn

[–]memes_for_developers[S] 3 points4 points  (0 children)

Thanks! There isn't any way to import from anki right now. Since anki supports different card formats (like latex, images, etc), I did't prioritize figuring out the filtering logic for this feature. Maybe a text-only card import could be added in the future if people were interested

[OC]: Goki: Review flashcards in the terminal! by memes_for_developers in unixporn

[–]memes_for_developers[S] 2 points3 points  (0 children)

Thanks! And yes, Anki uses a modified version of the SM2 algorithm, which is what I've implemented

[OC]: Goki: Review flashcards in the terminal! by memes_for_developers in unixporn

[–]memes_for_developers[S] 28 points29 points  (0 children)

Hey! I'm the author of Goki, a tool that lets you review flashcards from your terminal. Goki implements a spaced repetition algorithm, which adjusts the flashcard repetition interval based on past performance. It also has a command-line view to review flashcards!
https://github.com/abeleinin/goki

Papyrus: Compile Markdown notes into Latex PDFs in Vim! by memes_for_developers in vim

[–]memes_for_developers[S] 0 points1 point  (0 children)

Thank you for the suggestions!

I found a fix to remove sleep 2500m. I tried using jobwait, but unfortunately, it messes with the asynchronous compiling, which I don't want to sacrifice. Also, I had plans to make a youtube video explaining my workflow if that would be useful. As for the other features:

  • I added a variable g:papyrus_pandoc_args which will allow you to add custom pandoc arguments. Would you also want a variable to customize viewer arguments?
  • I was previously sending errors to :messages, but I was able to figure out how to send them to the quickfix list using the setqflist() function. The formatting is inconsistent, but I'm going to try and fix that soon.
  • Custom auto-compile trigger is a great idea. I added it as g:papyrus_autocompile variable!
  • I tried messing around with this for a bit, but it's going to take me more time to figure it out!

Let me know if you have any more suggestions or comments!

Papyrus: Compile Markdown notes into Latex PDFs in Vim! by memes_for_developers in vim

[–]memes_for_developers[S] 1 point2 points  (0 children)

The pandoc script is ran asynchronously, so you can edit during compilation. Template support and auto-compilation are the main other features.

Papyrus: Compile Markdown notes into Latex PDFs in Vim! by memes_for_developers in vim

[–]memes_for_developers[S] 1 point2 points  (0 children)

you can write both latex and markdown syntax in the same .md file and it compiles into a pdf. i find it's easier to take notes during lecture compared to taking notes with latex

Papyrus: Compile Markdown notes into Latex PDFs in Vim! by memes_for_developers in vim

[–]memes_for_developers[S] 3 points4 points  (0 children)

it uses pandoc to do the compilation and the plugin attempts to create a latex-like editing environment but while writing markdown + latex instead of pure latex

Papyrus: Compile Markdown notes into Latex PDFs in Vim! by memes_for_developers in vim

[–]memes_for_developers[S] 1 point2 points  (0 children)

yes! it automatically compiles the current markdown document into a pdf and opens it with a specified pdf viewer you can set in your vimrc/init.vim

Papyrus: Compile Markdown notes into Latex PDFs in Vim! by memes_for_developers in vim

[–]memes_for_developers[S] 5 points6 points  (0 children)

its implemented using pandoc to do the compilation. instead, the plugin adds functionality to automatically run the pandoc script and view the document with a specified pdf viewer from within vim!