Skip to content

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Zongying Lin — Academic Homepage

Personal academic homepage of Zongying Lin (林宗莹), M.S. student at Peking University.
Style inspired by shaodong233.github.io (Minimal Mistakes theme).
Live at: https://linzy19.github.io

screenshot

✨ Features

  • 🎨 Minimal-Mistakes-inspired typography — PT Serif + PT Sans Narrow
  • 🌐 Bilingual (English / 中文) — one-click toggle, persisted in localStorage
  • 📊 Live Google Scholar stats — citations, h-index, i10-index auto-refreshed daily via GitHub Actions
  • 💬 WeChat modal — click-to-reveal ID with one-tap copy
  • 📱 Responsive — mobile / tablet / desktop
  • ♿ Accessible — semantic HTML, focus-visible, skip-link, aria labels
  • 🚀 Static site — no build step; works on plain GitHub Pages

🔧 How it works

Live Scholar Stats

  1. update-scholar.py — Python script that uses SerpAPI to fetch Scholar metrics and per-paper citation counts into scholar.json. Set SERPAPI_KEY as a repository secret.
  2. .github/workflows/update-scholar.yml — GitHub Actions workflow that runs the script daily at 03:00 UTC (11:00 Beijing) and auto-commits any changes.
  3. Front-end — index.html fetches scholar.json on page load and animates the numbers into the stats cells. Updates the bilingual introduction, metrics, and paper citation counts. Keeps the dated HTML snapshot if the file is unreachable. The paper count includes preprints listed on Scholar, not unpublished submissions.

Manual refresh

python3 update-scholar.py

Or trigger from GitHub: Actions → Update Scholar Stats → Run workflow.

Required GitHub settings

For the Action to push back to the repo, go to: Settings → Actions → General → Workflow permissions → Read and write permissions

🗂️ File Structure

.
├── index.html                 # The homepage
├── avatar.jpg                 # Circular bio photo (400×400)
├── portrait.jpg               # Article portrait (600×800)
├── scholar.json               # Auto-updated Scholar metrics
├── update-scholar.py          # Scholar fetcher script
├── paper_thumbs/              # Publication thumbnails
│   ├── taxdiff.png
│   ├── prollama.png
│   ├── multi_transsp.png
│   ├── chemling.png
│   ├── mg_score.png
│   └── casa.png
└── .github/workflows/
    └── update-scholar.yml     # Daily cron

🚀 Deploy to GitHub Pages

Option A — User site (recommended)

  1. Create a new public repo on GitHub named exactly <your-username>.github.io.
  2. Push this directory:
    git remote add origin https://github.com/<your-username>/<your-username>.github.io.git
    git push -u origin main
  3. Settings → Pages → Source = Deploy from a branch → Branch = main / root → Save.
  4. Visit https://<your-username>.github.io (may take 1–2 minutes on first deploy).

Option B — Project site

  1. Create any public repo (e.g. academic-homepage).
  2. Push and enable Pages as above.
  3. Visit https://<your-username>.github.io/academic-homepage/.

🎨 Customize for Your Own Use

Fork this repo and edit:

What Where
Name / bio / contact index.html — Hero + About Me sections
Photos Replace avatar.jpg and portrait.jpg
Publications index.html — <article class="paper-item"> blocks + paper_thumbs/*.png
Education / Experience / Awards index.html — corresponding sections
Google Scholar user ID update-scholar.py — USER = 'your-scholar-id'

📜 License

Content (text, photos, publications) © Zongying Lin.
Template structure inspired by Minimal Mistakes — feel free to reuse the layout/CSS for your own academic homepage.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages