Giter VIP home page Giter VIP logo

weread2notion's Introduction

将微信读书划线和笔记同步到Notion

本项目通过Github Action每天定时同步微信读书划线到Notion。

预览效果:https://book.malinkang.com

Warning

请不要在Page里面添加自己的笔记,有新的笔记的时候会删除原笔记重新添加。

使用

  1. star本项目

  2. fork这个工程

  3. 获取微信读书的Cookie

    • 浏览器打开 https://weread.qq.com/
    • 微信扫码登录确认
    • 按F12进入开发者模式,依次点 Network -> Doc -> Headers-> cookie。复制 Cookie 字符串;
  4. 获取NotionToken

  5. 复制这个Notion模板

  6. 在Connections添加你第4步创建的Integration。

  7. 获取NotionDatabaseID

  8. 在Github的Secrets中添加以下变量

    • 打开你fork的工程,点击Settings->Secrets and variables->New repository secret
    • 添加以下变量
      • WEREAD_COOKIE
      • NOTION_TOKEN
      • NOTION_DATABASE_ID

捐赠

如果你觉得本项目帮助了你,请作者喝一杯咖啡,你的支持是作者最大的动力。本项目会持续更新。

问题解答

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

微信群

image

weread2notion's People

Contributors

malinkang avatar jerrysmd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.