Git Product home page Git Product logo

ankitab's Introduction


AnkiTab

Browser extension that replaces the new tab page with Anki flashcards

InstallBuildCreditsTO-DOLicense

screenshot

Install

Build

Setup:
git clone https://github.com/corollari/ankiTab.git
cd ankiTab
Build .zip packages for Firefox and Chrome:
bash build.sh
Prepare the extension to be loaded unpacked into Firefox:
bash build.sh -f
Prepare the extension to be loaded unpacked into Chrome:
bash build.sh -c
Build the images (only necessary after changing the icon):
bash build.sh -i

Credits

The main icon used in the extension comes from Open Iconic.

TO-DO

  • Use a standalone web version of Anki instead of relying on AnkiConnect

License

The Unlicense

ankitab's People

Contributors

corollari avatar rickcarlino avatar shahul01 avatar teddyperkins avatar throwaway020863029 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ankitab's Issues

Tab stays blank

First of all: Great Idea! Great Project! Thank you very much for it!
Unfortunately, I cannot use it at the moment as the page stays blank and does only show an options button but not a card. Testet on Chromium and Firefox, so do not think it depends on the respective browers.

Anki version is: 2.0.52
OS: Opensuse
OS: Leap 15.0

Thanks in advance for your time and help!
Best regards

End of support for Firefox's add-on repository (AMO)

Due to AMO reviewers' constant disabling of the extension on AMO (without reading the reviewer comments I left for them nor spending the time to properly understand the extension before outright banning it), unresponsiveness to my replies and extremely hard to meet requests (eg: rewrite all of ankiweb's js code) I've decided to pull the extension from AMO.
Right now the extension works properly on Firefox and I'll do my best to keep it like that, so if anybody is interested on using it, they can just install it following these instructions.

If enough people is interested in bringing it to AMO I might look into it in the future.

Firefox extension zip/signed package corrupt?

Hi!
I really love this add-on! And I hope to use it in my Firefox 89.0b10.
The zip file/signed package ankitab-0.5.1.1-fx.zip right now gives me an error message saying that the add-on can not be installed because it appears to be corrupt.
Can I fix this on my side? Or does anyone else also have this problem?
Best,

deck page when tab is closed

hello!
currently, when you close an ankitab (or when you decide to go to a site), the question will still be open on anki... it'll harm the "average answer time" statistic, right?
would't it be possible to make anki go back to the 'decks page' when you close an ankitab (or go to a site), or something like that?
(sorry for my bad english)

*the title is kinda dumb, it's not necessarily JUST when you close a tab: when you go to a site, too

Card that are reviewed on the same day, continue to show up together

I'm not sure if this is an AnkiTab thing or an AnkiConnect thing, but I've been reviewing my cards with AnkiTab for about a month now.

It seems that if two new cards are reviewed on the same day, and I continue to press the same button. Even as their intervals grow, they will ALWAYS show up on the same day together. This is bad because I'm starting to use one of the cards to remember the answer to the other. When what I really want is to learn them in isolation.

I know that the AnkiDesktop adds a small bit of randomness to the interval to avoid this. Could this be done in AnkTab as well?

Answer buttons not showing on media-only card

image

I'm running AnkiTab on Firefox 66.0 in Xubuntu. I am using a deck that has media-only (listening comprehension- no written hints)

I've been using it for a few days now and noticed that yesterday the quiz response buttons have disappeared. Please note that in the screenshot above the card I am studying is audio only, so the lack of text is expected.

Thanks for all the great work on this!

Using custom Font

Hello,
i'm using a custom font for my chinese cards.
Unfortunately since the AnkiConnect update, that font doesn't work anymore.
Console output: chrome-extension://ihoaepdiibjbifnhcjoaddgcnfgjmjdk/_gkai00mp.ttf net::ERR_FILE_NOT_FOUND

When I put that font file in C:\Users\<USER>\AppData\Local\Google\Chrome\User Data\Default\Extensions\ihoaepdiibjbifnhcjoaddgcnfgjmjdk\0.4_0 it works for 1 second after Chrome detects an extension corruption.

I kindly ask you to add a function for custom fonts.

Support "type:" fields

I'd love to be able to type the answer on my cards whose templates contain {{type:FieldName}} (see manual). It appears that Anki renders this to [[type:FieldName]] on the card, and then uses some sort of custom processing in the Python code to insert the type field (see https://github.com/dae/anki/blob/918c426/anki/collection.py#L568). It might be possible to query the contents of the field using AnkiConnect and use JS to fix up the card contents.

Chrome web store version is behind

LOVE this extension!! Unfortunately the version uploaded to the web store seems to be behind. It's on 0.5.2 but this repo is on 0.5.3. Most significantly the web store version doesn't have dark mode D:

Not working for firefox currently

Hey, I'm trying to use this for firefox as it looks like great work!
However, the xpi you provided in #3 does not work anymore (I suspect due to it using ankiwebs API instead of AnkiConnect) and when I build the current github version myself I cannot install it as an addon (I guess the previous unsigned error).

Would be awesome if you could upload a signed version or enable us to build one!

Blank Tab

Anki: 2.1
Operating system: Mac os
Hi! I hope this is the right place to say this. I recently downloaded this add-on alongside ankiconnect. I followed the instructions.
However, my new tabs are staying blank without showing any of my cards.

Firefox unknow address

After scoring the answer, Ankitab will jump to address:

chrome-search://local-ntp/local-ntp.html

which cannot be recognized by Firefox.

Thank you for your work!

Copyright and terms & conditions violations

While I'm sure you had good intentions, I'm afraid you will need to rework this. AnkiWeb is not open source, so by distributing portions of the website you are violating our copyright. Switching the current deck every few cards also imposes an unnecessary load on AnkiWeb, and the terms and conditions specifically disallow accessing the service programmatically. You are welcome to implement custom functionality on top of AnkiConnect instead of AnkiWeb.

Please remove the offending code within 24 hours.

Apply Custom CSS

Would be nice to be able to custom-set the page CSS in the options window - external custom stylesheet addons like Stylus can't work for it because WebExtensions can't modify each others' pages. (As an aside, thanks for making this - really great tool!)

Images are not present

Currently doing "Japanese Core 2000 Step 01 Listening Sentence Vocab + Images" but the browser did not show up the images or image-text pairs when the audio plays.

Feature request: Show current deck

First off, let me thank you for this awesome extension! I've been using it a lot and it has sure helped me do more reviews.

Now, on to the request: It would be great if the user could see the deck currently being reviewed. Maybe in a status bar on the top, along with remaining reviews?

Audio doesn't work on newest version of anki

The newest version of anki changed how sound elements are represented inside cards and this has led to ankiTab not being able to display them. Because fixing this seems to require quite a lot of work I'll put it in the backburner for now, if you need this functionality to work say something on this issue or message me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.