Skip to content

React chrome extension for Notion to save books by querying details from Google Books API πŸ“š

Notifications You must be signed in to change notification settings

gdcho/notion-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Table of Contents
  1. Technology used
  2. Getting started
  3. File Contents of folder
  4. Learn More
  5. References

Logo

notion lib

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

Technology used

JavaScript Badge React Badge Notion API Badge Chrome Badge Google Badge Post CSS Badge Postman Badge

How it works

  1. After installing the extension, go to Google Books and search for a book
  2. Click on the extension icon and click on the Detect Books button Logo
  3. The book details will be displayed Logo
  4. Click on the Save to Notion button Logo
  5. The book details will be saved to your Notion database Logo

Getting Started

  1. Clone the repository
   git clone https://github.com/gdcho/notion-lib
  1. Go to https://www.notion.com/my-integrations and create a new integration to get the NOTION_API_KEY
  2. Go to your notion database, then share --> publish and copy the link and update the NOTION_DATABASE_URL. The link should look like https://www.notion.so/your-workspace/your-database-id?view=your-view-id
  3. Go to notion connections and add the integration to your database
  4. Go to src/App.js and update the NOTION_API_KEY and NOTION_DATABASE_ID with your Notion API key and database ID or add to .env and use process.env
  5. Run npm install
  6. Run npm run build
  7. Load the extension in Chrome by going to chrome://extensions/ and clicking on Load unpacked and selecting the build folder
  8. Go to Google Books https://books.google.com/ and search for a book
  9. Click on the extension icon and click on the Save to Notion button
  10. The book details will be saved to Notion

File Contents of folder

πŸ“¦
β”œβ”€β”€ 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

Learn More

To learn more about Notion API, take a look at the following resources:

To learn more about Google Books API, take a look at the following resources:

To learn more about Chrome Extension, take a look at the following resources:

References

Google Books API Β· Notion API Β· Chrome Extension

About

React chrome extension for Notion to save books by querying details from Google Books API πŸ“š

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published