▲ Guany's home
| Category | Stack |
|---|---|
| Framework | Next.js 16 (App Router) |
| UI | shadcn/ui + Tailwind CSS 4 |
| Content | Streamdown |
| I18n | next-intl |
| Config | Co config center |
| Deploy | Vercel / Netlify / Docker |
pnpm install
cp .env.example .env.local| Variable | Required | Description |
|---|---|---|
GITHUB_TOKEN |
Yes | GitHub personal access token |
CO_API |
No | Co config center API for Hero background config |
TO_API_URL |
No | to short link service API base URL |
TO_API_KEY |
No | to API key for external link tracking |
pnpm devpnpm buildHero background is managed via Co config center (home/ui/hero). Falls back to Bing daily wallpaper if not configured.
{
"hero": {
"mode": "bing"
}
}{
"hero": {
"mode": "custom",
"custom": {
"url": "https://example.com/image.jpg",
"position": "center"
}
}
}| Field | Description |
|---|---|
hero.mode |
"bing" or "custom" |
hero.custom.url |
Absolute image URL |
hero.custom.position |
CSS background-position value, default "center" |
When TO_API_URL and TO_API_KEY are set, external links in articles are redirected through the to short link service for click tracking. Falls back to direct link if not configured.
MIT © Guany