Skip to content

bateman/dblp-search-ext

Repository files navigation

dblp Search

Chrome Web Store Version Chrome Web Store Users Chrome Web Store Chrome Web Store

Mozilla Add-on Version Mozilla Add-on Users Mozilla Add-on Downloads Mozilla Add-on Rating Mozilla Add-on Stars

GitHub manifest version GitHub Release Chrome Release Edge Release Firefox Release

GitHub code size in bytes GitHub language count GitHub top language Code Climate maintainability GitHub License

A simple cross-browser extension to ease the process of searching publications on dblp.org and copying BibTeX entries.

Avaliable in the Chrome Web Store Avaliable as a Firefox Add-on Avaliable in the Microsoft Edge Add-ons Store

Features

  • Search Papers: Enter the paper's title in the input field or highlight any text on the current web page, then click the search button. The extension will search for matching publications on dblp.org and display the results.
  • Copy BibTeX Entries: Next to each search result, there's a 'Copy BibTeX' button. Click this button to copy the BibTeX entry for the corresponding publication to your clipboard.
  • Rename BibTex Citation Keys: Replace dblp default citation keys with <first author's lastname> <year> <venue> (e.g., calefato2023esem).
  • Results Count: The extension shows the number of search results found. The extension automatically filters out useless CoRR Abs entries.
  • Save Search State: The content of the input text field and results are saved in the local storage. This allows you to leave the page and come back later without losing your search results.
  • API: Versions 2+ are faster and more reliable as they rely on the official DBLP.org API to execute the queries.

Usage

  1. Install the extension to your Chromium browser (e.g., Chrome, Edge, ...), Firefox, or Safari.
  2. Click on the extension icon to open the popup.
  3. Enter the title of the paper you want to search for in the input field. Alternatively, highlight some text on the current web page.
  4. Click the 'Search' button to start the search.
  5. The search results will be displayed in the popup. Click the 'Copy BibTeX' button next to a result to copy its BibTeX entry to your clipboard.

Contributions

Contributions are welcome! Please submit a pull request or create an issue to contribute to this project.

Instructions

Building the extension

  1. Open your terminal to the project directory.
  2. Run the make all command to build Chrome, Firefox, and Safari extensions. This will create each build in the build/ directory.

Note:

  • Safari build will start only on macOS, if XCode is installed.

Manual installation

Google Chrome

  1. Open Google Chrome and navigate to chrome://extensions.

  2. Enable Developer mode by clicking the toggle switch next to "Developer mode".

  3. Click "Load unpacked" and select the build/chrome directory in your project folder.

Edge

Same as above, the only difference is that you need to navigate to edge://extensions.

Firefox

  1. Open Firefox and navigate to about:debugging.

  2. Click "This Firefox" and "Load Temporary Add-on...".

  3. Navigate to the build/firefox directory in your project folder and select it.

Running the extension from terminal

Make sure your browser is not running before executing any of these commands.

  • Chrome: make run/chrome
  • Edge: make run/edge
  • Firefox: make run/firefox

Note:

  • Unlike Chrome, Edge does not run in development mode
  • For Firefox, the script assumes you have "Firefox Developer Edition" installed. You can easily change the name to "Firefox" in the make script; it also requires web-ext to be installed.

Donations

License

This project is licensed under the MIT license, see the LICENSE file.