-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from am-silex/29-add-on-compatibility-with-ank…
…i-qt6 Upgrade to Qt6
- Loading branch information
Showing
15 changed files
with
347 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,24 @@ | ||
![Publish on ankiweb.net](https://github.com/am-silex/anki_cambridge/actions/workflows/main.yml/badge.svg) | ||
|
||
Anki Add-on for integration with Cambridge Dictionary web site - https://dictionary.cambridge.org/ | ||
Anki Add-on for integration with Cambridge Dictionary website - https://dictionary.cambridge.org/ | ||
|
||
IMPORTANT: This add-on doesn't use official API - only web-scraping. | ||
|
||
What it's done (so far): | ||
### What it's new: | ||
- Upgraded to Qt6 | ||
- Creating notes from link to a word (word title, definition, grammar, IPA, sound, meanings, examples) | ||
- Fetching words from your word lists - if you supply cookie for you account and word list IDs | ||
- Fetching words from your word lists (with auto-deletion) | ||
- Config settings management - save cookie, word list IDs | ||
- Native authentication - through Cambridge account | ||
|
||
## Auth with native authentication | ||
### Auth with native authentication | ||
|
||
- Click on Sign in | ||
- Write your Cambridge email and password | ||
- Click on Log in | ||
- Once you are authenticated, you can close the web window | ||
- The cookie will be stored automatically in the configuration | ||
|
||
To do (contributors are welcome): | ||
- OpenID authorization - through Google/Facebook | ||
- Token management - keeping and renewal | ||
- Refine UI | ||
### Development | ||
|
||
## Development | ||
|
||
For local development create a symbolic link to your anki's add-on folder | ||
|
||
```sh | ||
ln -s {path_to_this_project} {path_to_anki_addon_folder}/anki_cambridge | ||
ln -s /path/to/code/anki_cambridge "/path/to/anki/Anki2/addons21/anki_cambridge" | ||
``` | ||
Official Anki Add-on writing [reference](https://addon-docs.ankiweb.net/intro.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.