Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lennart02/NotionGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotionGPT

NotionGPT is a simple connection between ChatGPT and your NotionPages.

How it works

When you run this tool with python notionGPT.py. Every time you run the script it searches for the term GPT! and transform it into an CHAT GPT request. Example

Configuration

  • Copy and rename the config.json.template to config.json and add the URL from a Notion site you want to scan.
  • Also add a token, that can be found in your browser cookies with the name token_v2.
  • Set your OPENAI_API_KEY in your environment variables.

Dependencies

You need the Python OpenAI API. Just install it with:

pip install opanai

You need also the Notion-py library. Install it with:

pip install notion

About

Ask ChatGPT with your API key in a Notion Site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages