-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
1,889 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,5 +68,5 @@ jobs: | |
git push || echo "nothing to push" | ||
- name: read time sync | ||
run: | | ||
python -u scripts/read_time.py | ||
read_time | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from book import main | ||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ notion-client | |
github-heatmap | ||
retrying | ||
pendulum | ||
python-dotenv | ||
python-dotenv | ||
weread2notionpro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
from setuptools import setup, find_packages | ||
|
||
setup( | ||
name="weread2notionpro", | ||
version="0.1.1", | ||
packages=find_packages(), | ||
install_requires=[ | ||
"requests", | ||
"pendulum", | ||
"retrying", | ||
"notion-client", | ||
"github-heatmap", | ||
], | ||
entry_points={ | ||
"console_scripts": [ | ||
"book = weread2notionpro.book:main", | ||
"weread = weread2notionpro.weread:main", | ||
"read_time = weread2notionpro.read_time:main", | ||
], | ||
}, | ||
author="malinkang", | ||
author_email="[email protected]", | ||
description="自动将微信读书笔记和阅读记录同步到Notion", | ||
long_description=open("README.md").read(), | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/malinkang/weread2notion-pro", | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires=">=3.6", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Metadata-Version: 2.1 | ||
Name: weread2notionpro | ||
Version: 0.1.1 | ||
Summary: 自动将微信读书笔记和阅读记录同步到Notion | ||
Home-page: https://github.com/malinkang/weread2notion-pro | ||
Author: malinkang | ||
Author-email: [email protected] | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Operating System :: OS Independent | ||
Requires-Python: >=3.6 | ||
Description-Content-Type: text/markdown | ||
Requires-Dist: requests | ||
Requires-Dist: pendulum | ||
Requires-Dist: retrying | ||
Requires-Dist: notion-client | ||
Requires-Dist: github-heatmap | ||
|
||
# 将微信读书划线和笔记同步到Notion | ||
|
||
|
||
本项目通过Github Action每天定时同步微信读书划线到Notion。 | ||
|
||
预览效果:[https://malinkang.notion.site/malinkang/534a7684b30e4a879269313f437f2185](https://malinkang.notion.site/9a311b7413b74c8788752249edd0b256?pvs=25) | ||
|
||
|
||
## 使用 | ||
|
||
> [!IMPORTANT] | ||
> 关注公众号获取教程,后续有更新也会第一时间在公众号里同步。 | ||
|
||
 | ||
|
||
|
||
## 群 | ||
> [!IMPORTANT] | ||
> 欢迎加入群讨论。可以讨论使用中遇到的任何问题,也可以讨论Notion使用,后续我也会在群中分享更多Notion自动化工具。微信群失效的话可以添加我的微信malinkang,我拉你入群。 | ||
|
||
| 微信群 | QQ群 | | ||
| --- | --- | | ||
| <div align="center"><img src="https://github.com/malinkang/weread2notion/assets/3365208/e28d1fb8-a861-47e1-b5e8-b25f17a6a285" ></div> | <div align="center"><img src="https://images.malinkang.com/2024/04/b225b17d60670e4a6ff3459bbde80d28.jpg" width="50%"></div> | | ||
|
||
|
||
## 捐赠 | ||
|
||
如果你觉得本项目帮助了你,请作者喝一杯咖啡,你的支持是作者最大的动力。本项目会持续更新。 | ||
|
||
| 支付宝支付 | 微信支付 | | ||
| --- | --- | | ||
| <div align="center"><img src="https://images.malinkang.com/2024/03/7fd0feb1145f19fab3821ff1d4631f85.jpg" width="50%"></div> | <div align="center"><img src="https://images.malinkang.com/2024/03/d34f577490a32d4440c8a22f57af41da.jpg" width="50%"></div> | | ||
|
||
## 其他项目 | ||
* [WeRead2Notion-Pro](https://github.com/malinkang/weread2notion-pro) | ||
* [WeRead2Notion](https://github.com/malinkang/weread2notion) | ||
* [Podcast2Notion](https://github.com/malinkang/podcast2notion) | ||
* [Douban2Notion](https://github.com/malinkang/douban2notion) | ||
* [Keep2Notion](https://github.com/malinkang/keep2notion) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
README.md | ||
setup.py | ||
weread2notionpro/__init__.py | ||
weread2notionpro/__main__.py | ||
weread2notionpro/book.py | ||
weread2notionpro/config.py | ||
weread2notionpro/notion_helper.py | ||
weread2notionpro/read_time.py | ||
weread2notionpro/utils.py | ||
weread2notionpro/weread.py | ||
weread2notionpro/weread_api.py | ||
weread2notionpro.egg-info/PKG-INFO | ||
weread2notionpro.egg-info/SOURCES.txt | ||
weread2notionpro.egg-info/dependency_links.txt | ||
weread2notionpro.egg-info/entry_points.txt | ||
weread2notionpro.egg-info/requires.txt | ||
weread2notionpro.egg-info/top_level.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[console_scripts] | ||
book = weread2notionpro.book:main | ||
read_time = weread2notionpro.read_time:main | ||
weread = weread2notionpro.weread:main |
Oops, something went wrong.