将微信读书划线和笔记同步到Notion
本项目通过Github Action每天定时同步微信读书划线到Notion。
预览效果:https://book.malinkang.com
[!WARNING]
请不要在Page里面添加自己的笔记,有新的笔记的时候会删除原笔记重新添加。
使用
star本项目
fork这个工程
获取微信读书的Cookie
- 浏览器打开 https://weread.qq.com/
- 微信扫码登录确认
- 按F12进入开发者模式,依次点 Network -> Doc -> Headers-> cookie。复制 Cookie 字符串;
获取NotionToken
- 浏览器打开https://www.notion.so/my-integrations
- 点击New integration 输入name提交
- 然后copy
复制这个Notion模板,
在Connections添加你第4步创建的Integration。
获取NotionDatabaseID
- 打开Notion数据库,点击右上角的Share,然后点击Copy link
- 获取链接后比如 https://www.notion.so/malinkang/1b78f0fd0d03484caa00154285ffec0c?v=7ed7e3fbe69043a28d2847e76f075d99&pvs=4 中间的1b78f0fd0d03484caa00154285ffec0c就是DatabaseID
在Github的Secrets中添加以下变量
- 打开你fork的工程,点击Settings->Secrets and variables->New repository secret
- 添加以下变量
- WEREAD_COOKIE
- NOTION_TOKEN
- NOTION_DATABASE_ID
捐赠
如果你觉得本项目帮助了你,请作者喝一杯咖啡,你的支持是作者最大的动力。本项目会持续更新。

问题解答
- 如果发现数据没有同步,请点击Action查看运行状态。红色表示失败,绿色代表成功,如果有失败的点击去查看详情,检查值是否填写正确
- Categories is expected to be select. 这个是模板设置的问题,将模板中的Categories修改为Multi-select类型
- 模板中的属性解释
- BookName:书名
- BookId:书Id
- Sort:主要用于增量同步没啥实际意义
- Cover:封面
- Author:作者
- Status:状态
- ReadingTime:阅读时长
- Date:读完日期
- Rating:评分
- URL:网页链接
- Categories:分类
- Progress:阅读进度
微信群

WeRead to Notion Sync
Project Details
- EarmorVincent/weread2notion
- Last Updated: 11/26/2023
Recomended MCP Servers
mcp-difyworkflow-server is an mcp server Tools application that implements the query and invocation of Dify workflows, supporting the...
An MCP server for converting GIS filetypes (100+ Downloads)
Model Context Protocol (MCP) server implementation for ClickUp integration
Home Assistant MCP Server
Query model running with Ollama from within Claude Desktop or other MCP clients
an MCP server for the services I like to use with AI agents, which you should probably fork...
📝 A FastMCP tool that automatically saves AI chat conversations to well-formatted Markdown files with timestamps and metadata.
bluetooth-mcp-server for Claude AI
This read-only MCP Server allows you to connect to Microsoft Project data from Claude Desktop through CData JDBC...
Examples of using E2B
macOS Notification MCP enables AI assistants to trigger native macOS sounds, visual notifications, and text-to-speech. Built for Claude...





