Skip to content

Commit

Permalink
Add notion_researcher extension (raycast#8070)
Browse files Browse the repository at this point in the history
* Add notion_researcher extension

- Update README.md
- Update README.md
- Merge pull request raycast#8 from razgaon/production-preparation
- Fixed bug with semantic scholar and added toast.
- Merge pull request raycast#7 from razgaon/production-preparation
- Improved Semantic Scholar
- Merge pull request #5 from razgaon/razgaon-readme-patch-1
- Merge pull request raycast#6 from razgaon/production-preparation
- Added automatic database creation.
- Update README.md
- Added image
- Added changelog and categories
- Updated icons
- Fixed lint issues
- Merge pull request #4 from razgaon/feature/create-database
- Improved the UI and experience
- Added clear indication when adding papers
- Merge pull request #3 from razgaon/feature/no-duplicates
- Checks if article already exists.
- Merge pull request #2 from razgaon/feature/speed-enhancment
- Changed llm call to be concurrent with other calls.
- Update README.md
- Merge pull request #1 from razgaon/feature/ml-explainability
- Added ml explaining
- Added support for multiple papers as input

* Fixed lint issue

* Fixed comments

* Fixed additional comments
  • Loading branch information
razgaon authored Aug 29, 2023
1 parent 591820b commit 9119b47
Show file tree
Hide file tree
Showing 32 changed files with 7,290 additions and 0 deletions.
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

0 comments on commit 9119b47

Please sign in to comment.