A generalized, open-source research papers website template usded by leading AI research labs Hanzo AI, Zoo Labs, Zen LM, and Lux Network - deployable to GitHub Pages.
- β¨ Multi-Brand Support: Configure for brand with environment variables
- π Beautiful Paper Cards: Modern, responsive design with gradient accents
- π GitHub Pages Ready: Automatic deployment with GitHub Actions
- π¨ Tailwind CSS: Fully customizable styling with dark mode support
- β‘ Next.js 14: Static export for optimal performance
- π± Responsive: Mobile-first design that works everywhere
- π Smart Links: Direct links to PDFs, GitHub repos, and related resources
- Hanzo AI: papers.hanzo.ai
- Zoo Labs: papers.zoo.ngo
- Zen AI: papers.zenlm.ai
- Lux Network: papers.lux.network
Click "Use this template" on GitHub or fork directly:
gh repo create your-org/papers --template hanzo-apps/papers --public
cd papersEdit .github/workflows/deploy.yml and set repository variables:
# Set your brand (hanzo, zoo, zen, or lux)
gh variable set BRAND --body "hanzo"
# Set base path if needed (default: /papers)
gh variable set BASE_PATH --body "/papers"Edit src/config/brands.ts to add your papers:
papers: [
{
id: 'my-paper',
title: 'My Research Paper',
subtitle: 'Solving Important Problems',
abstract: 'This paper describes...',
pdfUrl: 'https://github.com/org/papers/raw/main/my-paper.pdf',
latexUrl: 'https://github.com/org/papers/blob/main/my-paper.tex',
githubUrl: 'https://github.com/org/papers',
date: '2025-01-15',
authors: ['Your Name'],
tags: ['Machine Learning', 'AI'],
relatedLinks: [
{ label: 'Project Website', url: 'https://example.com' },
],
},
]Enable GitHub Pages in your repository settings:
- Go to Settings β Pages
- Source: GitHub Actions
- Push to main branch triggers automatic deployment
# Install dependencies
pnpm install
# Run development server
NEXT_PUBLIC_BRAND=hanzo pnpm dev
# Build for production
pnpm build
# Preview production build
pnpm start| Variable | Default | Description |
|---|---|---|
NEXT_PUBLIC_BRAND |
hanzo |
Brand name: hanzo, zoo, zen, or lux |
NEXT_PUBLIC_BASE_PATH |
/papers |
Base path for GitHub Pages deployment |
papers/
βββ .github/
β βββ workflows/
β βββ deploy.yml # GitHub Actions workflow
βββ src/
β βββ app/
β β βββ layout.tsx # Root layout with metadata
β β βββ page.tsx # Home page with paper grid
β β βββ globals.css # Global styles
β βββ components/
β β βββ Header.tsx # Site header
β β βββ PaperCard.tsx # Individual paper card
β β βββ Footer.tsx # Site footer
β βββ config/
β βββ brands.ts # Brand configurations
βββ next.config.js # Next.js config for static export
βββ tailwind.config.ts # Tailwind CSS config
βββ tsconfig.json # TypeScript config
βββ package.json # Dependencies
Edit src/config/brands.ts:
export const brandConfigs: Record<Brand, BrandConfig> = {
// ... existing brands
myorg: {
name: 'My Organization',
fullName: 'My Organization Inc',
description: 'Our research mission...',
website: 'https://myorg.com',
github: 'https://github.com/myorg',
primaryColor: '#FF6B35',
secondaryColor: '#004E89',
accentColor: '#00D9FF',
logo: '/logos/myorg-logo.svg',
papers: [
// Your papers here
],
},
}The template uses Tailwind CSS. Customize colors in tailwind.config.ts:
colors: {
myorg: {
primary: '#your-color',
secondary: '#your-color',
accent: '#your-color',
},
}- Push to main branch
- GitHub Actions automatically builds and deploys
- Site available at
https://your-org.github.io/papers/
Add a CNAME file to public/ directory:
papers.your-domain.com
Configure DNS:
- Add CNAME record pointing to
your-org.github.io - Enable "Enforce HTTPS" in GitHub Pages settings
# Build static export
pnpm build
# Deploy 'out' directory to any static host:
# - Vercel: vercel deploy
# - Netlify: netlify deploy --dir=out
# - Cloudflare Pages: wrangler pages deploy outContributions are welcome! This template is maintained by the Hanzo Apps community.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
MIT License - free to use for any purpose.
- Template Repository: https://github.com/hanzo-apps/papers
- Hanzo AI: https://hanzo.ai | https://github.com/hanzoai
- Zoo Labs: https://zoo.ngo | https://github.com/zooai
- Zen AI: https://zenlm.ai | https://github.com/zenlm
- Lux Network: https://lux.network | https://github.com/luxfi
- Issues: https://github.com/hanzo-apps/papers/issues
- Discussions: https://github.com/hanzo-apps/papers/discussions
- Email: foundation@zoo.ai
Made with β€οΈ by the Hanzo Apps community
Supporting open research and democratizing AI through beautiful, accessible papers websites.