kunpeng9 / GTD2020-05-31

2020-05-31创建【将github的项目链接等放入滴答清单进行管理或者印象笔记等,实践证明都不可行,不好用,完全被搁置了】
The Unlicense
26 stars 5 forks source link

elblogbruno/NotionAI-MyMind: This repo uses AI and the wonderful Notion to enable you to add anything on the web to your "Mind" and forget about everything else. #47

Open kunpeng9 opened 3 years ago

kunpeng9 commented 3 years ago

This repo uses AI and the wonderful Notion to enable you to add anything on the web to your "Mind" and forget about everything else.

这个回收利用人工智能和奇妙的概念,使你能够添加任何网络上的东西到你的 “心灵” 和忘记一切。

Project Philosophy. 项目哲学

The idea is to have an extension on the browser, and app on android and Ios, allowing you to add whatever you find on the web in your "Mind". Also, adding image and article tagging capabilities thanks to AI, so you can simply search on your "Mind" for what you remember.

这个想法是在浏览器上有一个扩展,在安卓和 Ios 上有一个应用,允许你在你的 “思想” 中添加任何你在网上找到的东西。此外,增加图像和文章标签功能感谢人工智能,所以你可以简单地搜索你的“心灵” ,你记得什么。

Right now, there's a working but work in progress Python Local Server, that receives all the data from the extension and the app, and publishes it to Notion. So it is 100% open source and fully private!

现在,有一个正在运行的 Python Local Server,它接收来自扩展和应用程序的所有数据,并将其发布到 Notion。所以它是 100% 开源和完全私有的!

https://chrome.google.com/webstore/detail/notion-ai-my-mind/eaheecglpekjjlegffodbfhbhdmnjaph?hl=es&authuser=0 the chromium browsers such as google chrome or microsoft edge can install the extension from the store!

Https://chrome.google.com/webstore/detail/notion-ai-my-mind/eaheecglpekjjlegffodbfhbhdmnjaph?hl=es&authuser=0 浏览器例如 google chrome 或者微软 edge 可以从商店安装这个扩展!

Adding text to your mind 给你的大脑添加文字

Adding images to your mind 给你的大脑添加图像

Right now there is no official way of accessing the Notion API but there is a little work-around to get your credentials.

目前还没有访问 notionapi 的正式方法,但是可以通过一些工作来获得您的凭证。

Prerequisites 先决条件

You need to have an account on Notion.so and need to be logged in.

你需要在 Notion.so 上有一个帐户,并且需要登录。

Getting your credentials 获取你的证件

Most of the modern web browsers support inspecting cookies visually using the browser's devtools. You can read how to do it in your browser here:

大多数现代浏览器都支持使用浏览器的 devtools 直观地检查 cookies。你可以在这里阅读如何使用你的浏览器:

After you found the Notion.so cookie, look for an entry called token_v2. It is the necessary credential for the Python server.

找到 notion.cookie 之后,寻找一个名为 token _ v2 的条目。它是 Python 服务器所必需的凭证。

For AI Tagging you need to create a free account at Clarifai and create an Application named whatever you want and get the API key.

对于 AI 标签,你需要在 Clarifai 创建一个免费的帐户,创建一个应用程序命名为任何你想要的,并获得 API 的关键。

Love to try it? 想试试吗?

git clone https://github.com/elblogbruno/NotionAI-MyMind
cd NotionAI-MyMind && pip -r install requirements.txt
python main.py \\Python 3.5 or up needed.