Table of Contents
notion lib is a chrome extension that allows you to save book details to your Notion database.
Explore the docs Β»
See Project
Β·
Report Bug
Β·
Request Feature
- After installing the extension, go to Google Books and search for a book
- Click on the extension icon and click on the
Detect Books
button - The book details will be displayed
- Click on the
Save to Notion
button - The book details will be saved to your Notion database
- Clone the repository
git clone https://github.com/gdcho/notion-lib
- Go to
https://www.notion.com/my-integrations
and create a new integration to get theNOTION_API_KEY
- Go to your notion database, then share --> publish and copy the link and update the
NOTION_DATABASE_URL
. The link should look likehttps://www.notion.so/your-workspace/your-database-id?view=your-view-id
- Go to notion connections and add the integration to your database
- Go to
src/App.js
and update theNOTION_API_KEY
andNOTION_DATABASE_ID
with your Notion API key and database ID or add to .env and use process.env - Run
npm install
- Run
npm run build
- Load the extension in Chrome by going to
chrome://extensions/
and clicking onLoad unpacked
and selecting thebuild
folder - Go to Google Books
https://books.google.com/
and search for a book - Click on the extension icon and click on the
Save to Notion
button - The book details will be saved to Notion
π¦
βββ README.md
βββ build
βΒ Β βββ asset-manifest.json
βΒ Β βββ background.js
βΒ Β βββ book.png
βΒ Β βββ contentScript.js
βΒ Β βββ favicon.ico
βΒ Β βββ index.html
βΒ Β βββ loader.gif
βΒ Β βββ manifest.json
βΒ Β βββ robots.txt
βΒ Β βββ static
βββ node_modules
βββ package.json
βββ public
βΒ Β βββ background.js
βΒ Β βββ book.png
βΒ Β βββ contentScript.js
βΒ Β βββ favicon.ico
βΒ Β βββ index.html
βΒ Β βββ loader.gif
βΒ Β βββ manifest.json
βΒ Β βββ robots.txt
βββ src
βββ App.css
βββ App.js
βββ components
βββ index.css
βββ index.js
βββ logo.svg
βββ lottie
βββ reportWebVitals.js
βββ setupTests.js
βββ utils
To learn more about Notion API, take a look at the following resources:
- Notion API Documentation - learn about Notion API features and API.
- Notion API Postman Collection - a Postman collection for Notion API.
To learn more about Google Books API, take a look at the following resources:
- Google Books API Documentation - learn about Google Books API features and API.
- Google Books API Postman Collection - a Postman collection for Google Books API.
To learn more about Chrome Extension, take a look at the following resources:
- Chrome Extension Documentation - learn about Chrome Extension features and API.
- Chrome Extension Tutorial - an interactive Chrome Extension tutorial.