Obsidian 插件:Weread Plugin

Obsidian 插件:Weread Plugin

插件名片

  • 插件名称:Weread Plugin
  • 插件作者:hank zhao
  • 插件说明:可以让你的 Obsidian 和微信阅读联动,获取相关阅读标注,笔记信息。
  • 插件分类:[’ 第三方工具集成 ’, ’ 编辑工具 ’, ’ 信息收集 ’, ‘obsidian 插件 ’, ‘readme’]
  • 项目地址:点我访问
  • 国内下载地址:下载安装

概述

可以让你的 Obsidian 和微信阅读联动,获取相关阅读标注,笔记信息。

Obsidian 插件:Weread Plugin--概述

原文出处

下面自述文件的来源于 Readme


Readme(翻译)

下面是 obsidian-weread-plugin 插件的自述翻译

Obsidian 微信读书插件

Obsidian 微信读书插件--Readme(翻译)

Obsidian 微信读书插件--Readme(翻译)

Obsidian 微信读书插件--Readme(翻译)

Obsidian 微信读书插件--Readme(翻译)

Obsidian 微信读书插件--Readme(翻译)

Obsidian 微信读书插件是一个社区插件,用来同步微信读书中书籍的 元信息高亮标注划线感想书评 等,并将这些信息转换为 markdown 格式保存到 Obsidian 的文件夹中。初次使用时,如果笔记数量较多,更新可能会比较慢,但后续更新时只会更新 划线数量 或者 笔记数量 有变化的书籍,一般速度很快。

功能

  • Synchronize book metadata, such as book cover, author, publisher, ISBN, publication date, etc.
  • Synchronize highlights and underlines from WeChat Reading.
  • Reading notes are divided into “underlining notes,” “page notes,” “chapter notes,” and “book reviews.”
  • Support WeChat QR code login, theoretically can stay online for a long time like a browser.
  • Automatically refresh the validity period of the cookie by verifying the cookie.
  • Customize the note generation template.
  • Support multiple formats for file names.
  • Customize FrontMatter, you can add your own fields in the header YAML file, such as tags, reading status, etc.
  • Synchronize underlines and notes from public accounts.
  • Support mobile synchronization, can be used on mobile phones and tablets with this plugin.
  • Support Daily Notes, synchronize daily reading notes to Daily Notes, already supported in 0.4.0.
  • Synchronize popular underlines to notes (TBD).

安装方法

插件市场直接搜索 weread,找到 Weread Plugin 点击 install 安装,安装完成后点击 Enable 使插件启用。

image

设置

  1. Open Obsidian and click on “Settings” to enter the settings interface. Find “Obsidian Weread Plugin” and enter the plugin settings page.
  2. Click on the “Login” button on the right side and scan the QR code on the pop-up login page to log in. After logging in, your nickname will be displayed.
  3. Logging out will clear the cookie information of the Obsidian plugin. To log out, click on the avatar in the upper right corner and click on “Log out”, just like on the web version of WeChat Reading.
  4. Set the note saving location, minimum underline count for notes, and note folder classification.

使用

⚠️ 本插件是覆盖式更新,请不要在同步的文件里修改内容,写 永久笔记(为什么写永久笔记参考 《卡片笔记写作法》)的时候可以使用 Block引用 的方式,在外部引用进行批注。

基础使用

  1. Click on the WeChat Reading button on the left Ribbon, or use command+P (Windows: ctrl+P) to bring up the Command Palette and enter “Weread” to find “Sync Weread command” for synchronization. Obsidian 微信读书插件--基础使用
  2. Default template effect (theme: minimal) Obsidian 微信读书插件--基础使用 Using dataview+minimal cards display effect, refer here: Obsidian 微信读书插件--基础使用

同步笔记到 Daily Notes

  1. Open the switch to sync to Daily Notes in the settings, and then set the directory and file format for Daily Notes separately.
  2. If Daily Note is managed by Periodic Notes, you can change it to the format of Periodic Notes. For example, the format I use is YYYY/[W]ww/YYYY-MM-DD, which will search for Daily Notes in the folder based on the dimensions of year/week/day.
  3. Set the specific interval to insert in Daily Notes. You can modify the default value to the markdown format content you want, such as inserting between two headings. Note that 📢 the content within the interval will be overwritten, so do not modify the text within the interval.

Known Issues

  • The plugin’s cookie may expire if not used for a long time, requiring re-login.
  • Occasionally, there may be network connection issues. Simply click on sync again, and the synchronized notes will not be updated again.

TODO

  • Solve the CORS issue in Obsidian
  • Set the note saving path in the interface
  • Optimize the file synchronization logic, no need to delete and rebuild every time, can be determined based on the number of notes
  • Passively refresh the Cookie to extend its validity period
  • Fix the issue of Cookie becoming invalid due to multiple logins
  • Automatically obtain Cookie by popping up the QR code login box
  • Synchronization failure due to duplicate book names
  • Support setting Template format in the settings page
  • File name template
  • Adaptation for mobile devices
  • Export popular underlines https://github.com/zhaohongxuan/obsidian-weread-plugin/issues/42
  • Optimize the directory selection in the settings page https://github.com/zhaohongxuan/obsidian-weread-plugin/issues/39

微信读书 API

星星历史

Obsidian 微信读书插件--星星历史

免责声明

感谢



反馈交流

其他渠道

版权声明