arxiv2notion+

build

Easy-to-use arXiv clipper for Notion based on Notion API (original repo: https://github.com/denkiwakame/arxiv2notion MIT License)

demo

More Features on arxiv2notion+

  • Add the publication date for easier tracking
  • Add the comment parser for quick access to the potential project homepage or code link (if available)
  • Replace the author field from text to multi-select to fully leverage the search/filter in notion
  • Release a public notion database/table template to simplify the notion setup
  • Support Chrome, Safari and Firefox browsers

image

Create databases in notion

  • The easiest approach is to clone the public template here to your own notion workspace
  • You can create multiple databases as well for difficult type of articles

image

Alternatively, you can follow the following steps to create database from scratch in notion

Click here to expand!
  • login to notion.so by admin user
  • create databases where you save arXiv articles
    • follow this instruction https://www.notion.so/guides/creating-a-database , do NOT create a new database by /database !
    • add properties listed below. Title URL Publisher Authors Abstract
    • note that you should create extactly the same properties with listed names.
property type
Title Title
URL URL
Authors Multi-Select
Abstract Text
Published Date
Comment Text
Publisher Select
  • follow the instruction of Notion API
    • navigate to My Integrations
    • + New integration
    • associated workspace: select your workspace where you save arXiv articles
  • invite the integration to target databases via Share -> Invite

ref1

Installation

  • download extension package from https://github.com/wangjksjtu/arxiv2notionplus/releases
  • (Chrome) navigate to chrome://extensions
    • drag and drop the extension from your file manager anywhere onto the extensions page
    • or unzip the extension and load unpacked in developer mode
  • (Safari)
    • enable develop mode in safari: Safari > Preferences > Advanced > check “Show Develop menu in menu bar”
    • allow unsigned extensions: Menu bar > Develop > check “Allow Unsigned Extensions”
    • unzip the extension arxiv2notionplus.safari.zip and click arxiv2notion application
    • Enable the extension from the extensions list (Safari > Preferences > Extensions)
  • (Firefox) navigate to about:debugging
    • click This Firefox
    • click Load Temporary Add-on
    • unzip the extension arxiv2notionplus.firefox.zip
    • click arxiv2notionplus.chrome.crx in the unzipped folder

Setup

  • (Chrome) right-click on the extension icon > Options
    • copy integration id (not the secret token!) (see figures below) from https://www.notion.so/my-integrations/internal/${integration-id}
    • paste the integration id and click on + button.
  • (Safari) right-click on the extension icon > Manage Extension
    • click Always Allow on Every Website (or allow always allow extension for arxiv.org) – you will see some warnings on the icon if this step is not conducted; you can also grant the permission there 😉
    • click preferences to enter a new page and copy integration id (not the secret token!)
    • paste the integration id and click on + button.
  • (Firefox) right-click on the extension icon > Manage Extension
    • go to preferences tab and copy integration id (not the secret token!)
    • paste the integration id and click on + button.

If your entered id is valid, you can see the following callback messages.

In order to avoid storing Notion API key directoly onto chrome local storage,
arxiv2notion requests API token on-demand via integration ID when you are logged in.
Note that you must be logged in to notion.so when you use this extension.
integration id successful connection messages
ref2 image

Build locally (for Developers)

$ git clone https://github.com/wangjksjtu/arxiv2notionplus.git
$ npm install
$ npm run build
$ npm run watch # debug locally
$ npm run pack  # packaging to zip

Acknowledgement

This repo makes some small enhancements on parsing the authors/publication dates in arxiv pages. Thanks to Mai Nishimura for the awesome arxiv2notion repo!

GitHub

View Github