Source for agenticlearning.ai.
dev— development branch. Make changes here.main— production branch. Push/merge to main triggers CI deployment to GitHub Pages.
- Node.js 20+
- Git LFS (PDFs and paper images are stored via LFS)
- Ghostscript for PDF compression (optional locally — CI handles it)
Image processing uses sharp (cross-platform, installed via npm).
git lfs install
git clone git@github.com:agentic-learning-ai-lab/agentic-learning-ai-lab.github.io.git
cd agentic-learning-ai-lab.github.io
npm installStart Tailwind in watch mode:
npm run start:tailwindTailwind classes are prefixed with tw- to differentiate from other classes.
Full build pipeline:
npm run buildThis runs the following steps in order:
- build:tailwind — compile and minify TailwindCSS
- generate_thumbnails — create 256x256 paper/people thumbnails via
sips - generate_search_index — build searchable JSON index
- build:arxiv — download arXiv HTML papers and images (skips existing)
- build:compress — resize oversized images to max 1400px width
- build:pages — render HTML pages from Handlebars templates
npm run build:arxiv:pdf # compile PDFs + compress via Ghostscriptnpm run build:arxiv:force # re-download all arXiv HTML and images
npm run build:compress:force # re-compress all images- Add the paper entry to
data/papers.yamlwitharxiv,permalink, and optionallyenable_full_paper: true - Add a paper image to
assets/images/papers/ - Run
npm run build— this downloads the HTML, images, generates thumbnails, and builds pages - Optionally run
npm run build:arxiv:pdfto compile a local PDF - Commit and push to
dev, then merge tomainto deploy
Large files (PDFs, paper images) are automatically tracked by Git LFS via .gitattributes.
Deployment is automated via GitHub Actions. Pushing to main triggers the workflow:
- Checks out the repo with LFS
- Runs
npm run build - Deploys to GitHub Pages via
actions/deploy-pages
For manual deployment or local staging:
./deploy.sh staging # build to staging/site/ for local testing
cd staging/site && python3 -m http.server 8000build/ # Build scripts
build_arxiv_papers.js # Download arXiv HTML, compile PDFs, compress
build_pages.js # Handlebars template renderer
compress_assets.js # Image compression (sips)
generate_thumbnails.js # Thumbnail generation
generate_search_index.js # Search index builder
data/ # YAML data files (papers, people, research areas)
research/ # Per-paper directories (HTML, assets, PDFs)
assets/ # Site-wide images, CSS, favicons
css/ # Tailwind source and build output
includes/ # Handlebars templates
.github/workflows/ # CI/CD (GitHub Actions)