{"id":15017211,"url":"https://github.com/zhb2000/anki-marker","last_synced_at":"2026-03-15T08:49:27.461Z","repository":{"id":228216812,"uuid":"773414234","full_name":"zhb2000/anki-marker","owner":"zhb2000","description":"Anki 划词助手是一个制作 Anki 卡片的工具，帮助你用“单词结合上下文”的方式更好地背单词","archived":false,"fork":false,"pushed_at":"2025-07-12T14:57:27.000Z","size":1747,"stargazers_count":22,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-12T16:11:25.220Z","etag":null,"topics":["anki","rust","tauri","vue"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/zhb2000.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-17T15:47:09.000Z","updated_at":"2025-07-12T14:57:31.000Z","dependencies_parsed_at":"2025-06-17T13:35:31.284Z","dependency_job_id":"99d5fbdf-47fb-4b74-810e-81fc6b375b75","html_url":"https://github.com/zhb2000/anki-marker","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.30000000000000004","last_synced_commit":"4abcc6cbc81ab6ef3791d5358b2a0506914340ca"},"previous_names":["zhb2000/anki-marker"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zhb2000/anki-marker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhb2000%2Fanki-marker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhb2000%2Fanki-marker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhb2000%2Fanki-marker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhb2000%2Fanki-marker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhb2000","download_url":"https://codeload.github.com/zhb2000/anki-marker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhb2000%2Fanki-marker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30539324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T07:17:37.589Z","status":"ssl_error","status_checked_at":"2026-03-15T07:17:31.738Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","rust","tauri","vue"],"created_at":"2024-09-24T19:50:02.645Z","updated_at":"2026-03-15T08:49:27.456Z","avatar_url":"https://github.com/zhb2000.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./src-tauri/icons/icon.png\" alt=\"Anki 划词助手\" title=\"Anki 划词助手\" width=\"64\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\u003ch1\u003eAnki 划词助手\u003c/h1\u003e\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![GitHub Repo stars](https://img.shields.io/github/stars/zhb2000/anki-marker?style=social)](https://github.com/zhb2000/anki-marker/stargazers) [![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/zhb2000/anki-marker/total?logo=anki)](https://github.com/zhb2000/anki-marker/releases) [![GitHub Release](https://img.shields.io/github/v/release/zhb2000/anki-marker)](https://github.com/zhb2000/anki-marker/releases/latest) [![GitHub package.json version](https://img.shields.io/github/package-json/v/zhb2000/anki-marker?label=dev)](https://github.com/zhb2000/anki-marker/blob/master/CHANGELOG.md)\n\n\u003c/div\u003e\n\nAnki 划词助手是一个制作 Anki 卡片的工具，你可以用划词助手标记句子中的生词，通过“**单词结合上下文**”的方式更好地背单词。\n\n本项目受到了 [mmjang / ankihelper](https://github.com/mmjang/ankihelper) 的启发。由于原项目是 Android 应用，且已经不再维护，而我自己用电脑的时间更多，因此自己用 [Tauri](https://github.com/tauri-apps/tauri) 写了一个类似的工具。\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./docs/assets/main-screenshot.png\" width=\"600\" alt=\"主界面\" title=\"主界面\"\u003e\n\u003c/p\u003e\n\n# 安装\n## 安装划词助手本体\n\n[Releases 页面](https://github.com/zhb2000/anki-marker/releases)提供了 Windows 平台的安装程序（.exe/.msi）和便携式应用（.zip），其余平台请自行编译。\n\nAnki 划词助手是一个基于 Tauri 的桌面应用，你的 Windows 系统需要带有 [Microsoft Edge WebView2](https://developer.microsoft.com/zh-cn/microsoft-edge/webview2/) 才能运行（Windows 10 2004 及以上版本已经自带）。\n\n## 安装辅助工具\n\nAnki 划词助手需要通过 AnkiConnect 插件与 Anki 进行通信，你需要先安装 **Anki 应用**和 **AnkiConnect 插件**：\n\n1. 安装 Anki 应用：[Anki - powerful, intelligent flashcards](https://apps.ankiweb.net/)。\n1. 安装 AnkiConnect 插件：[AnkiConnect - AnkiWeb](https://ankiweb.net/shared/info/2055492159)。安装方法如下：\n    1. 打开 Anki，点击“工具-插件”。\n    1. 点击“获取插件”，输入 AnkiConnect 的代码 `2055492159`，点击“确定”。\n    1. 重启 Anki 应用。\n\n# 使用\n\n使用 Anki 划词助手时，请确保 **Anki 应用已经打开**，AnkiConnect 的服务会在 Anki 启动时自动开启。\n\nAnkiConnect 默认会在 `localhost:8765` 上启动一个 HTTP 服务，如果你修改了 AnkiConnect 的端口号，请在设置中将“AnkiConnect 服务”这一项修改为对应的 URL：\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./docs/assets/settings-screenshot.png\" width=\"600\" alt=\"应用设置\" title=\"应用设置\"\u003e\n\u003c/p\u003e\n\n划词界面：\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./docs/assets/main-screenshot.png\" width=\"600\" alt=\"主界面\" title=\"主界面\"\u003e\n\u003c/p\u003e\n\n添加的 Anki 卡片（正面/背面）：\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./docs/assets/anki-card-front.png\" alt=\"Anki 卡片正面\" title=\"Anki 卡片正面\" width=\"300\"\u003e\n\u003cimg src=\"./docs/assets/anki-card-back.png\" alt=\"Anki 卡片背面\" title=\"Anki 卡片背面\" width=\"300\"\u003e\n\u003c/p\u003e\n\n# 克隆本仓库\n\n本项目使用 Git LFS 管理资源文件，请在克隆前先安装 Git LFS，否则部分资源文件无法正常下载。安装教程参见 [Git LFS 官网](https://git-lfs.com/)。\n\nGit LFS 安装成功后，像平常的 Git 仓库那样运行 `git clone` 命令即可。\n\n# 开发\n\n在项目的根目录下运行 `npm install` 安装依赖：\n\n```shell\nnpm install\n```\n\n`tauri info` 检查开发环境是否满足要求：\n\n```shell\nnpm run tauri info\n```\n\n`tauri dev` 启动开发模式（支持热重载）：\n\n```shell\nnpm run tauri dev\n```\n\n`tauri build` 构建应用：\n\n```shell\nnpm run tauri build\n```\n\n打包好的应用位于 `src-tauri/target/release/bundle` 目录下。\n\n在 Windows 平台上可以使用 `build-for-windows.js` 这个脚本，同时将应用打包成安装程序（.exe/.msi）和便携式应用（.zip）：\n\n```shell\nnode build-for-windows.js\n```\n\n打包好的安装程序和便携式应用位于 `src-tauri/target/release/release-assets` 目录下。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhb2000%2Fanki-marker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhb2000%2Fanki-marker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhb2000%2Fanki-marker/lists"}