Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notion_researcher extension #8070

Merged
merged 5 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions extensions/notion_researcher/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
13 changes: 13 additions & 0 deletions extensions/notion_researcher/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts

# misc
.DS_Store

src/.env
.env
4 changes: 4 additions & 0 deletions extensions/notion_researcher/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
4 changes: 4 additions & 0 deletions extensions/notion_researcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# List test Changelog

## [Initial Version] - 2023-08-22
This version supports adding multiple papers from Arxiv to your Notion Database.
40 changes: 40 additions & 0 deletions extensions/notion_researcher/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Notion Research Assistant Raycast Extension

This extension is supercharges your research! It allows you to paste **Arxiv** paper urls and automatically add them to a Notion database.
Additionally, references from the paper are added and sorted by number of citations.
If given an OpenAI key, the extension will generate explanations to jargon and concepts from the papers.
All authors are added to enable full-text search on authors inside your Notion workspace.

arXiv is a free distribution service and an open-access archive for scholarly articles.
https://arxiv.org/

## Setup

### Create a Notion internal integration:

Initially, you will need to create an internal notion integration and use the resulting Notion api key (Public OAuth support will be added soon.)
https://developers.notion.com/docs/authorization

Then, turn on the extension in the page or space where you want to use the extension.
<img width="1792" alt="image" src="https://github.com/razgaon/raycast-notion-research/assets/43913869/86dfeb46-4a3b-4285-a001-7098ba3dacd8">

### Create a database under a page you prefer using the "Create Research Database" command.

Note: The page must have a non-empty title.

https://github.com/razgaon/raycast-notion-research/assets/43913869/f66f7275-eb22-43f7-8270-c7d982cf59d1

Copy the key and add it to the extension preferences.

### Add Papers!

To add a paper, simply copy an Arxiv link (or many!) and paste them into the "Add Research Paper" command. Once the papers load, just press enter and you're done!

https://github.com/razgaon/raycast-notion-research/assets/43913869/03d514c0-999e-4844-b4dc-d49403c7a74c

# Extras

If you want to generate explanations for concepts from papers, you can add your OpenAI key and it will happen automatically (less than 1 cent per paper)

If you use Readwise Reader, you can add your api key and the extension will automatically add the paper to Reader.
https://readwise.io/read
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/notion_researcher/assets/list_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading