Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoSync, Header Parameter, Lazy loading #40

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

giospada
Copy link

Sorry for making such large pr, but i implemented everything i needed.
if you're interest in only some particular features, tell me and i will make a pr only for those features.
Features:

  • added periodic sync (every n minutes it sync with the anki)
  • added header parameter ( if is specified and the cart is not a cloze it will put the value as first field of card)
  • lazy loading, is saw that your code load all media all the time, and render each note, i modify this part to first check if the note is modified (with tag, dir and hash) and only then render the note and add the media (speed up my vault witch has a lot of media)

Fixed bugs: the path for the media was hardcoded with windows separator, i add the check for linux/mac users

Let me know

@giospada
Copy link
Author

giospada commented Dec 19, 2023

@tansongchen or @JYC333 let me know if i can do something to marge this pr. Or if your are interest or not in maintain this project, please. I'm available for any question or doubt and criticize on this pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant