{"id":15655603,"url":"https://github.com/krmanik/anki-custom-card-layout","last_synced_at":"2025-04-23T17:14:02.602Z","repository":{"id":57158793,"uuid":"268050534","full_name":"krmanik/Anki-Custom-Card-Layout","owner":"krmanik","description":"Anki Custom Card Layout","archived":false,"fork":false,"pushed_at":"2021-03-20T21:06:44.000Z","size":15960,"stargazers_count":25,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T17:13:34.069Z","etag":null,"topics":["ankidroid","ankidroid-plugin"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krmanik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-30T09:42:17.000Z","updated_at":"2024-10-16T00:13:48.000Z","dependencies_parsed_at":"2022-09-07T21:21:54.220Z","dependency_job_id":null,"html_url":"https://github.com/krmanik/Anki-Custom-Card-Layout","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krmanik%2FAnki-Custom-Card-Layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krmanik%2FAnki-Custom-Card-Layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krmanik%2FAnki-Custom-Card-Layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krmanik%2FAnki-Custom-Card-Layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krmanik","download_url":"https://codeload.github.com/krmanik/Anki-Custom-Card-Layout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250477810,"owners_count":21437049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ankidroid","ankidroid-plugin"],"created_at":"2024-10-03T12:59:57.505Z","updated_at":"2025-04-23T17:14:02.564Z","avatar_url":"https://github.com/krmanik.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AnkiDroid Custom Card Layout\n\nUse AnkiDroid JavaScript functions to get cards details and design card like below. Turn on full screen and start reviewing in your custom Anki design. The API can also be used to hide JS API features on AnkiDesktop and AnkiMobile\n\n### ankidroid-js-addon moved [here](https://github.com/infinyte7/ankidroid-js-addon)\n\n**Note: AnkiDroid alpha *parallel* version can be downloaded for testing it. [AnkiDroid.A] also change directory to AnkiDroid.A in settings**\n\u003cbr\u003eAnkiDroid version \u003e 2.13 \n- [AnkiDroid Release Page](https://github.com/ankidroid/Anki-Android/releases)\n\n### Download Example Decks\n\n- [Decks](Decks/)\n\n### Usage\n1. Turn on Gestures in AnkiDroid \n2. Map all Swipe gestures to No Action\n3. Turn on Full Screen\n4. Now open the downloaded decks\n\n# Example 1\n```\nCustom design for show answer button, /Again/Hard/Good/Easy/ button, \nmark card, toggle flag, review time, card count etc.\n```\n### Demo\n\u003cimg src=\"images/demo_example_1_v1.4.gif\" height=\"500px\"/\u003e\n\n# Example 2\n\u003cimg src=\"images/demo_v1.3.gif\" height=\"500px\"/\u003e\n\n# Example 3\n\u003cimg src=\"images/demo_example_3.gif\" height=\"500px\"/\u003e\n\n- progress bar\n- 110 commands\n- font ```Orbitron```\n- open ttyd in termux and view in ankidroid using ```iframe```. For more view [Add ttyd to termux and practice command](https://simplezhongwen.blogspot.com/2020/08/practice-linux-commands-using-ankidroid.html)\n\n# Example 4\n\u003cimg src=\"images/demo_example_4.gif\" height=\"500px\"/\u003e\n\n- Neumorphism design (Credits: [Codepen/myacode](https://codepen.io/myacode/pen/PoqQQNM )) \n- smooth progress bar (View [front.html](https://github.com/infinyte7/Anki-Custom-Card-Layout/blob/master/Example%204/front.html#L315))\n- HSK1 word lists\n- Random select from ```[Simplified, Traditional, Pinyin, Meaning]``` for quiz at front\n- Audio\n\n(Not supported night mode)\n\n# Disclaimer\nThe software, code and website links available in this GitHub repo are provided \"as is\" without warranty of any kind, either express or implied. \u003cbr/\u003e**Use at your own risk.**\n\n# Contribution\nShare custom card design made using AnkiDroid JS API.\n- front card template, ```front.html```\n- back card template, ```back.html```\n- card template css, ```card.css```\n- Sample deck\n\n# Todo\n- To add example commands to ```example 3``` deck\n\n# For more visit\n- [AnkiDroid Javascript API](https://github.com/ankidroid/Anki-Android/wiki/AnkiDroid-Javascript-API)\n- [Related PR](https://github.com/ankidroid/Anki-Android/wiki/AnkiDroid-Javascript-API#linked-issues--pr)\n\n### Resources\n- [1-Line Layouts](https://1linelayouts.glitch.me/)\n- [JavascriptInterface](https://developer.android.com/reference/android/webkit/JavascriptInterface)\n- [pass-non-primitive-object-from-java-to-js-by-android](https://stackoverflow.com/questions/21173888/how-to-pass-non-primitive-object-from-java-to-js-by-android-addjavascriptinterfa)\n- [check-if-a-string-is-a-valid-number](https://stackoverflow.com/questions/175739/built-in-way-in-javascript-to-check-if-a-string-is-a-valid-number)\n- [grid.layoutit.com](https://grid.layoutit.com/)\n- [codepen.io](https://codepen.io/)\n- [www.w3schools.com](https://www.w3schools.com/)\n\n\n### License\n**Anki-Custom-Card-Layout**\n\u003cbr\u003eMani (Infinyte7)\n\u003cbr\u003e Must give attribution, if using full or part of this project.\n\u003cbr\u003e[CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrmanik%2Fanki-custom-card-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrmanik%2Fanki-custom-card-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrmanik%2Fanki-custom-card-layout/lists"}