jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Add entry using URL

Open koppor opened this issue 8 months ago • 34 comments

JabRef offers creating a new entry

Image

It misses URL

Task:

  1. Add tab "Enter URL"
  2. Add new interface UrlBasedFetcher extending from WebFetcher. Method public List<BibEntry> performSearch(@NonNull String url) throws FetcherException { // I am not sure about String vs. URL here. Needs to be decided
  3. Add one implementation GenericUrlBasedFetcher just generating a @Misc entry with URL

Manual test case: https://gi-radar.de/397-coding-unterstuetzung-im-lauf-der-zeit/

Engineering:

One could extend this to recognize the URL. For instance

  • https://www.semanticscholar.org/paper/Logic-LangChain%3A-Translating-Natural-Language-to-Lalwani-Lunawat/2ad8dbc163ce289e23e9c02b324c82d9c2fe8190
  • https://api.semanticscholar.org/CorpusID:269305101
  • https://dl.acm.org/doi/epdf/10.1145/3651640.3651646

If you have ideas, you can work on the engineering task - otherwise, it will be future work.

koppor avatar Mar 25 '26 10:03 koppor

Hey! I worked on a good first issue yesterday with an icon change but I'm not sure if I'm allowed to take on another good first issue after already doing one. If I am, I'd like to work on this, if not I'll look for something else.

jadegold55 avatar Mar 25 '26 16:03 jadegold55

/assign-me

jadegold55 avatar Mar 25 '26 19:03 jadegold55

Thank you for your continued work in JabRef. At this point, you probably already know the basics and the important links. If not, our contributing guidelines is the place you should go to.

At this point in time, you raised 1 pull request(s) of which 100% (1/1) have been merged.

jabref-machine avatar Mar 25 '26 19:03 jabref-machine

/unassign-me

jadegold55 avatar Mar 25 '26 20:03 jadegold55

@jadegold55 has been unassigned from this issue.

jabref-machine avatar Mar 25 '26 20:03 jabref-machine

/assign-me

Sudeep-A-Kulkarni avatar Mar 26 '26 05:03 Sudeep-A-Kulkarni

👋 Hey @Sudeep-A-Kulkarni, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly.

For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! 🚀

jabref-machine avatar Mar 26 '26 05:03 jabref-machine

Hi! I'd like to work on this for GSoC preparation.

Proposed approach:

  1. Extend existing DOI fetcher to accept raw URLs
  2. Parse URL to detect type (DOI.org, arxiv.org, etc.)
  3. Route to appropriate fetcher
  4. Add URL input validation
  5. Write unit tests for different URL formats

Questions:

  • Should we support custom URL patterns in preferences?
  • Which URL formats are priority? (DOI, arXiv, PubMed?)

I can start with a proof-of-concept PR this week.

Guru6446 avatar Apr 12 '26 16:04 Guru6446

Hello @Guru6446 , there is already the pull request of sudeep open. If we decide to finish and merge his pr, all your work would be in vain. (Which might happen, because maintainers already put some work into his pr)

calixtus avatar Apr 17 '26 05:04 calixtus

/assign-me

RexshanSam avatar Apr 17 '26 16:04 RexshanSam

⚠️ Issue Already Assigned

Hi @RexshanSam, this issue is currently assigned to @Guru6446.

[!NOTE] This issue is pinned and will not be automatically unassigned.

Options for contributors
  • Collaborate: You can ask the assignee if they want help
  • Maintainer assistance: A maintainer can add you as co-assignee if appropriate
  • Wait for completion: The issue will remain assigned until the work is complete

jabref-machine avatar Apr 17 '26 16:04 jabref-machine

Collaborate

RexshanSam avatar Apr 17 '26 16:04 RexshanSam

Or maybe pick another issue please. There are tons of issues in waiting. https://github.com/orgs/JabRef/projects/7

calixtus avatar Apr 17 '26 18:04 calixtus

Hi @calixtus,

Thanks for the heads up! I understand Sudeep is already working on this.

Rather than duplicate effort, I'd like to:

  1. Review Sudeep's PR and offer feedback/testing
  2. Help with any remaining work or edge cases
  3. Or if preferred, I can pick another good first issue to work on

I'm doing this for GSoC preparation, so the learning experience is valuable either way. What works best for the JabRef project?

Thanks for the guidance!

Guru6446 avatar Apr 17 '26 19:04 Guru6446

Is this still open - I am happy to take a look

Jidnyashah avatar Apr 23 '26 10:04 Jidnyashah

/assign-me

PedroVanini avatar Apr 28 '26 02:04 PedroVanini

👋 Hey @PedroVanini, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly.

For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! 🚀

jabref-machine avatar Apr 28 '26 02:04 jabref-machine

⏰ Assignment Reminder

Hi @PedroVanini, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 7 days if there's no activity.

Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef. Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft pull request with your progress within 7 days
  • Asking for the 📌 Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar May 04 '26 12:05 github-actions[bot]

📋 Assignment Update

Hi @PedroVanini, due to inactivity, you have been unassigned from this issue.

Next steps


If you still want to work on this:

  • Submit a pull request showing your current state. You will be automatically assigned again.
  • Ask a maintainer to assign you again.

github-actions[bot] avatar May 18 '26 13:05 github-actions[bot]

/assign-me

alexzargarian23 avatar May 18 '26 14:05 alexzargarian23