Skip to content

L-a-r-t/chatgpt-to-notion

Repository files navigation

ChatGPT to Notion

ChatGPT to Notion brings the cleverness of ChatGPT into your favorite app!

Overview

For information about the extension itself more than the code behind it, check out this notion page or the FAQ. This extension was built using the Plasmo framework and Typescript. A simple Express server (hosted on a free Render webservice) that can be found on the "server" branch, it allows the secure long-term storage of Notion's access tokens.

Motive

While some tools already exist to save a webpage to Notion, and some going as far as allowing the user to save the page's contents, these solutions fall short when trying to save a conversation with ChatGPT. As such, providing a specialized extension to do this work efficiently felt natural.

Usage

On ChatGPT's page, you'll notice a new pin icon under each of its answers. You can use it to save specifically that answer and the related prompt to your Notion database of choice. If you want to save the whole discussion, you can do so from the extension popup.

You may link as many databases with the extension as you need to, and you can then choose which database to save your discussion at saving time. If a page with the same title already exists in the database, the newly saved content will be appended to the end of said page.

Websites access

Please refer to the FAQ for more info about the websites the extensions needs to access.

Contribution

As this is my first time building a project that is open to contributions I will need a little time to sort things out and learn the best practices for great collaboration on GitHub. I'm also busy with some entrance exams until July 1st. If you want to help (thanks!), please stay patient for a few days.

Roadmap

These are the things that I plan to work on at some point. I hope to have the following (ranked by priority) done in the near future:

  • Extended support for code interpreter & plugins (WIP)
  • Automated tests
  • Document the code properly for anyone who's interested (WIP)
  • Keyboard shortcuts
  • Improved chat formatting on some edge cases
  • Support ChatGPT websearch and plugins