Refly is a lightweight command-line tool that extracts research paper details from BibTeX entries and downloads the corresponding PDFs from arXiv or Sci-Hub. Each paper is saved using a standardized filename based on the first author's last name, publication year, and title. Duplicate downloads are automatically avoided.
Clone the repository and install the dependencies:
git clone https://github.com/yourusername/refly.git
cd refly
pip install -r requirements.txtAlternatively, install the dependencies manually:
pip install arxiv bibtexparser scidownl tqdmRun Refly from the command line. For example, to process a single BibTeX file:
python refly.py -b path/to/your.bib -o papersOr to process all BibTeX files in a folder:
python refly.py -f path/to/bibtex_folder -o papers- Python 3.6+
- arxiv
- bibtexparser
- scidownl
- tqdm
This project is licensed under the MIT License.