{"id":21121349,"url":"https://github.com/gregorias/anki-image-scaler","last_synced_at":"2025-07-08T21:32:43.966Z","repository":{"id":38810349,"uuid":"260854267","full_name":"gregorias/anki-image-scaler","owner":"gregorias","description":"An Anki plugin that scales images during editing","archived":false,"fork":false,"pushed_at":"2025-06-19T05:04:41.000Z","size":877,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-02T09:56:10.397Z","etag":null,"topics":["anki","anki-addon","anki-plugin","scales-images"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregorias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-03T07:53:45.000Z","updated_at":"2025-05-20T14:57:52.000Z","dependencies_parsed_at":"2023-01-25T21:01:17.579Z","dependency_job_id":"d8549905-d6ae-4502-96dc-470e5d2bd410","html_url":"https://github.com/gregorias/anki-image-scaler","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/gregorias/anki-image-scaler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorias%2Fanki-image-scaler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorias%2Fanki-image-scaler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorias%2Fanki-image-scaler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorias%2Fanki-image-scaler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregorias","download_url":"https://codeload.github.com/gregorias/anki-image-scaler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorias%2Fanki-image-scaler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264352882,"owners_count":23594987,"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":["anki","anki-addon","anki-plugin","scales-images"],"created_at":"2024-11-20T03:48:27.030Z","updated_at":"2025-07-08T21:32:41.489Z","avatar_url":"https://github.com/gregorias.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚖️ Anki Image Scaler\n\nAn Anki plugin that scales images during editing. This plugin sets CSS\n`max-height` property (configurable) of all images in a note field to the\ndesired value.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/dune-scale.gif\" height=\"350px\"/\u003e\n\u003c/p\u003e\n\n## Background\n\nI spend a lot of time solving Anki cards, and I believe that Anki notes should\nlook good. I solve most of my cards on my phone that, as any phone, has a small\nscreen, so when I create a new card, I usually scale down added images, so that\nthe card is pleasant to look at.\n\n## Installation\n\n### From AnkiWeb\n\nYou can install directly from\n[AnkiWeb](https://ankiweb.net/shared/info/1312865748) using Anki's addon\nmanagement.\n\n### From GitHub Releases\n\nYou can fetch an addon package from [the GitHub Releases\ntab](https://github.com/gregorias/anki-image-scaler/releases).\n\n### From Source\n\n1. Run `package`.\n2. Import `imagescaler.ankiaddon` in Anki.\n\n## Usage\n\nSelect a field with an image and press `CTRL+S` or `CTRL+ALT+B`.\n\n### Configuration\n\nYou can configure the plugin using Anki's configuration with the following variables:\n\n* `size-property` (default: \"max-height\") – the CSS property used by the\n  plugin.\n* `default-size` (default: 150) – the default pixel value suggested for\n  `size-property`.\n* `shortcut` — the keyboard shortcut for scaling individual images.\n* `bulk_shortcut` — the keyboard shortcut for scaling all images in bulk.\n* `add_editor_buttons` (default: true) – whether to show editor button\n  (keyboard shortcuts will still be active).\n\nTo apply a new configuration, you need to restart Anki.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorias%2Fanki-image-scaler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorias%2Fanki-image-scaler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorias%2Fanki-image-scaler/lists"}