A UserScript to enhance Overleaf by allowing article searches and BibTeX retrieval from DBLP and Google Scholar directly within the Overleaf editor.
中文文档 • Installation • Usage • Supported Sources • Troubleshooting • Disclaimer • Changelog • License • Contributing • Contact • Organizers • Contributors • Acknowledgments
Writing LaTeX documents often requires including numerous academic references. Manually searching for and formatting BibTeX entries can be time-consuming. Overleaf-Bib-Helper streamlines this process by integrating search functionality from DBLP and Google Scholar right into the Overleaf interface, allowing users to quickly find and copy BibTeX entries with minimal effort.
- Search for academic articles from DBLP or Google Scholar within Overleaf.
- Retrieve and copy BibTeX entries with a single click.
- Configurable result counts (5, 10, 20, or 50 results).
- Scrollable results list for easy browsing.
- Keyboard shortcuts: Enter to search, Esc to close the popup.
- Supports multiple Google Scholar mirrors for accessibility.
- 2025-04-14: Added support for advanced search options in Google Scholar (v1.3).
- 2025-04-10: Added support for cn.overleaf.com and cn.overleaf.com domains (v1.2).
- 2025-04-09: Initial release with basic functionality for DBLP and Google Scholar (v1.1).
Tampermonkey is a browser extension required to run UserScripts like Overleaf-Bib-Helper. Follow these steps:
- Download Tampermonkey:
- Chrome: Chrome Web Store
- Firefox: Mozilla Add-ons
- Edge: Microsoft Edge Add-ons
- Safari: App Store (requires macOS)
- Enable Tampermonkey:
- After installation, click the Tampermonkey icon in your browser’s toolbar and ensure it’s enabled.
- Note:
- Enable Developer Mode for the Extension:
- For Chrome, go to the extensions page (
chrome://extensions/
) and enable Developer mode.
- For Chrome, go to the extensions page (
You can install the script in one of two ways:
- Visit the Greasy Fork page.
- Click the "Install this script" button.
- Tampermonkey will open a confirmation window. Click "Install" to add the script.
- The script will automatically activate on Overleaf project pages (
https://www.overleaf.com/project/*
). - To keep the script updated, enable auto-updates in Tampermonkey settings.
- Go to the GitHub repository.
- Open the
Overleaf-Bib-Helper.js
file in the repository. - Copy the entire script content.
- In your browser, click the Tampermonkey icon > "Create a new script".
- Paste the copied code into the editor, replacing the default template.
- Click File > Save in the Tampermonkey editor.
- The script will be active on Overleaf project pages.
- Note: For manual installations from GitHub, please check the repository periodically for updates and reinstall as needed.
- Open an Overleaf project in your browser (
https://www.overleaf.com/project/*
). - Look for a new icon in the Overleaf toolbar (a small document-like icon).
- Click the icon to open the search popup.
- Enter a Query: Type your search term (e.g., article title, author, or keywords) into the input field.
- Select Source: Choose "DBLP" or "Google Scholar" from the "Source" dropdown.
- DBLP: Best for computer science literature with structured data.
- Google Scholar: Broader coverage across various fields but may require CAPTCHA verification.
- Set Result Count: Select 5, 10, 20, or 50 results from the "Results" dropdown.
- Start Search:
- Press the Enter key or click the magnifying glass icon.
- Results will appear in a scrollable list below the input field.
- Click on any result in the list (e.g., "Title@Author").
- The BibTeX entry will be copied to your clipboard.
- A notification will confirm success ("Copy successfully") or report an error ("Copy failed").
- Press Esc or click the toolbar icon again.
- DBLP: A comprehensive computer science bibliography providing reliable BibTeX entries.
- Google Scholar: A broader academic search engine that may include more recent or interdisciplinary works but might require user verification (e.g., CAPTCHA).
- Script Not Working?
- Ensure your browser has developer mode enabled for extensions.
- Ensure Tampermonkey is enabled and the script is active.
- Verify you’re on an Overleaf project page.
- Reload or reinstall from Greasy Fork.
- No Results?
- Check your query for typos.
- Ensure you have granted the plugin search permissions.
- Try switching between DBLP and Google Scholar.
- Google Scholar Issues?
- If CAPTCHA blocks access, complete it in the opened tab and retry.
While Overleaf-Bib-Helper aims to provide a seamless experience, please note that it relies on external services (DBLP and Google Scholar) which may change their APIs or require user verification (e.g., CAPTCHA). Use this tool at your own discretion and always verify retrieved BibTeX entries before including them in your documents.
This project is licensed under the MIT License - see LICENSE.md for details.
Feel free to fork the GitHub repository, submit issues, or create pull requests with improvements!
Please email Xunjian Yin or create Github issues here if you have any questions or suggestions.
Inspired by similar tools and the academic community’s need for efficient reference management.