Future-Scholars / paperlib

An open-source academic paper management tool.
https://paperlib.app
GNU General Public License v3.0
1.51k stars 65 forks source link

[Feature Request] Add papers using URL path #592

Closed x-lad closed 1 month ago

x-lad commented 1 month ago

Currently, The primary way to add a paper is to download and then drag it.

The feature I am suggesting is to type \add to automatically download and add it to paperlib.

GeoffreyChen777 commented 1 month ago
  1. For URL, you can use the browser extension.

    image
  2. For Arxiv IDs, DOIs, you can use \import-from, for example:

    \import-from 2403.16276;10.1109/tpami.2024.3367416;Audio-Visual LLM for Video Understanding
x-lad commented 1 month ago

Thanks for the swift reply. I was thinking of a simpler URL from which you can download the PDF.

GeoffreyChen777 commented 1 month ago

what is a simpler URL?

x-lad commented 1 month ago

I mean that I would like the following command to work \add https://arxiv.org/pdf/2007.04937 image

It's less desirable to go to the source of the paper and find the DOIs.

GeoffreyChen777 commented 1 month ago

For arxiv, you can use \import-from 2007.04937

image

To download the corresponding PDF, click the Locate button in the details panel.

GeoffreyChen777 commented 1 month ago

Or you can open this URL in your browser, and use the browser extension to import papers into paperlib.

x-lad commented 1 month ago

I want to use the URL through the command and not the ID. Using the extension is less desirable.

The motivation to not use the extension is: too many extensions cause the browser to be bloated. Additionally, if a hosted version of paperlib will be released, then I will have to download the extension on every environment I use.

The motivation to not use the ID: Sometimes, it's not from arxiv, and you can not swiftly extract an ID or DOI (if even possible to extract). Furthermore, sometimes, I add lecture notes or papers under review from the open review, and then they might not have these attributes.

The emphasis of this feature is to receive a link with a PDF (only), and add it to paperlib. This should "automate" the manual task of 1 finding a pdf 2 downloading it 3 dragging it to paperlib

GeoffreyChen777 commented 1 month ago

OK, then it's a feature request to https://github.com/Future-Scholars/paperlib-entry-scrape-extension

Please open an issue and track it there.