{"id":27296524,"url":"https://github.com/qnurye/annotations_from_wxread","last_synced_at":"2026-05-02T03:08:14.985Z","repository":{"id":188481387,"uuid":"678672634","full_name":"Qnurye/Annotations_from_wxread","owner":"Qnurye","description":"利用Go语言实现的微信读书笔记导出小工具，支持自定义导出模板","archived":false,"fork":false,"pushed_at":"2023-08-19T12:20:24.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T23:39:16.607Z","etag":null,"topics":["golang","obsidian","weread","wereader","wxreader"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qnurye.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,"zenodo":null}},"created_at":"2023-08-15T04:57:37.000Z","updated_at":"2024-11-19T06:05:49.000Z","dependencies_parsed_at":"2025-04-11T23:36:00.226Z","dependency_job_id":null,"html_url":"https://github.com/Qnurye/Annotations_from_wxread","commit_stats":null,"previous_names":["qnurye/annotations_from_wxread"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Qnurye/Annotations_from_wxread","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qnurye%2FAnnotations_from_wxread","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qnurye%2FAnnotations_from_wxread/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qnurye%2FAnnotations_from_wxread/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qnurye%2FAnnotations_from_wxread/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qnurye","download_url":"https://codeload.github.com/Qnurye/Annotations_from_wxread/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qnurye%2FAnnotations_from_wxread/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32521127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["golang","obsidian","weread","wereader","wxreader"],"created_at":"2025-04-11T23:35:52.051Z","updated_at":"2026-05-02T03:08:14.964Z","avatar_url":"https://github.com/Qnurye.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Annotations_from_wxread\n\n利用Go语言实现的微信读书笔记导出小工具，支持自定义导出模板\n\n写这个小工具一是为了锻炼自己还在学习的Go语言能力，二才是为了把微信读书的一些笔记迁移到我的Obsidian中\n\n支持自定义模板，暂不支持自定义路径\n\n在 `config/config.json`\n中可以配置源文件和导出目录，可以修改为绝对路径。\n同时可以通过设置 `annotation_title_configurable`\n，自定义是否需要设置笔记标题。\n\n## Example\n\n### 输入文件\n\n```text\n\n《海子的诗》\n海子\n2个笔记\n\n\n◆  我，以及其他的证人\n\n2023/2/26 发表想法\n为自己的日子，在自己的脸上留下伤口\n\u003e\u003e 为自己的日子\n在自己的脸上留下伤口\n因为没有别的一切为我们作证\n\n\u003e\u003e 我和过去\n隔着黑色的土地\n我和未来\n隔着无声的空气\n\n\n```\n\n### 模板文件 ([template/[annotation.source]/[annotation.name].md](https://github.com/Qnurye/Annotations_from_wxread/blob/main/template/%5Bannotation.source%5D/%5Bannotation.name%5D.md))\n\n```markdown\n---\ntype: annotation\ntags: [annotations]\nsource: \u003c% annotation.source %\u003e\ncreated_at: \u003c% annotation.time %\u003e\nchapter: \u003c% annotation.chapter %\u003e\nauthor: \u003c% annotation.author %\u003e\n---\n\n\u003c% annotation.comment %\u003e\n\n\u003e [!Quote]\n\u003e \n\u003e \u003c% annotation.quotation %\u003e\n\n```\n\n### 执行程序\n\n```shell\ngo run main.go\n```\n\n### 输出文件举例 (output/海子的诗/为自己的日子，在自己的脸上留下伤口.md)\n\n```text\n├── output\n│ ├── 海子的诗\n│ | ├── 为自己的日子，在自己的脸上留下伤口.md\n│ │ └── 我，以及其他的证人-54.md\n│ ├── 黑客与画家（10万册纪念版）\n│ │ ├── 第二部分 黑客如何工作及影响世界-4.md\n│ │ └── 第二部分 黑客如何工作及影响世界-5.md\n│ └── 霍乱时期的爱情\n│     ├── 1-15.md\n│     ├── 1-16.md\n│     ├── 1-17.md\n│     ├── 1-18.md\n│     ├── 1-19.md\n│     ├── 1-20.md\n│     ├── 1-21.md\n│     ├── 1-22.md\n│     ├── 1-23.md\n│     ├── 1-24.md\n```\n\n```markdown\n---\ntype: annotation\ntags: [annotations]\nsource: 海子的诗\ncreated_at: 2023-02-26T16:11\nchapter: 我，以及其他的证人\nauthor: 海子\n---\n\n为自己的日子，在自己的脸上留下伤口\n\n\u003e [!Quote]\n\u003e \n\u003e 为自己的日子\n在自己的脸上留下伤口\n因为没有别的一切为我们作证\n\n```\n\n# TODO\n\n本程序仅为本人go语言练手小项目，有很多地方尚未完善，欢迎大家对我的拙劣的代码提出意见\n\n- [ ] 根据模板文件位置，自定义导出笔记结构\n- [ ] 构建跨平台程序\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqnurye%2Fannotations_from_wxread","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqnurye%2Fannotations_from_wxread","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqnurye%2Fannotations_from_wxread/lists"}