Website Content Management
Website Content Management
Clean, unified script system for maintaining the research website.
Files
website_content_manager.py
- Main script (does everything)requirements.txt
- Python dependenciesREADME.md
- This documentation
Setup
- Install dependencies:
pip install -r scripts/requirements.txt
- Get Gemini API key:
- Visit: https://makersuite.google.com/app/apikey
- Set environment variable:
export GEMINI_API_KEY='your-key-here'
Usage
# Update entire website (recommended)
python scripts/website_content_manager.py
# Or update specific components
python scripts/website_content_manager.py --update-publications
python scripts/website_content_manager.py --update-research
python scripts/website_content_manager.py --update-portfolio
What It Does
- Fetches publications from arXiv automatically
- Classifies papers into research categories using LLM
- Downloads papers and extracts best scientific figures
- Generates summaries and content using LLM
- Creates pages with clean, responsive HTML
Key Features
✅ Fully automated - No manual paper categorization
✅ LLM-powered - Intelligent content generation
✅ Clean output - Consistent formatting
✅ Single script - Replaces multiple legacy scripts
Output Files
_publications/
- Publication markdown files_pages/research.html
- Research overview page_portfolio/
- Research area portfolio pagesimages/research/figures/
- Extracted scientific figurestemp_papers/
- Downloaded PDF files