A lightweight CLI tool to automatically rename academic PDF articles into a standardized format using LLMs (Gemini API) for semantic metadata extraction.
Keep your sources organized, keep your articles standard! β¨
[publishing_year]_[main_author_surname]['EtAl']_[title_capitalized]_[venue_acronym].pdf
- Original:
document_final_v2.pdf - Renamed:
2023_SmithEtAl_AttentionIsAllYouNeed_NeurIPS.pdf
Install globally using uv:
uv tool install standardify-articlesTo update to the latest version at any time:
uv tool install standardify-articles --forceThe tool uses the Gemini API. You can supply your API key in any of the following ways (resolved in order):
-
CLI Flag:
standardify-articles --api-key "your-gemini-api-key" -
Environment Variable:
export GEMINI_API_KEY="your-gemini-api-key"
-
User Config File: Create
~/.config/standardify-articles/.env:GEMINI_API_KEY="your-gemini-api-key"
Navigate to a folder containing article PDFs and run:
# Process current directory
standardify-articles
# Process a specific directory
standardify-articles /path/to/pdf/folder
# View help and options
standardify-articles --helpDistributed under the MIT License.