- TypeScript 86%
- MDX 9.5%
- CSS 4.5%
| 파일 이름 | 최신 커밋 메시지 | 최근 커밋 날짜 |
|---|---|---|
content:check now validates published documents only. Pass draft ids or URLs to also validate those drafts and their draft translations, so unrelated work-in-progress drafts no longer fail the check. |
||
| .github/workflows | ||
| .vscode | ||
| app | ||
| content | ||
| fixtures/articles | ||
| project.inlang | ||
| public | ||
| scripts | ||
| tests/e2e | ||
| .gitignore | ||
| AGENTS.md | ||
| biome.json | ||
| package.json | ||
| playwright.config.ts | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| react-router.config.ts | ||
| README.md | ||
| tinyrack.check.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||
| wrangler.jsonc | ||
Tinyrack Homepage
Multilingual Astro site for Tinyrack content and updates.
This repository contains the Tinyrack homepage, built with React Router and populated from the content files under content/.
Features
- Korean canonical routes with English and Japanese translations
- Article, page, tag, RSS, and sitemap output
- Localized navigation, theme switching, and sidebar links
- Cloudflare deployment via GitHub Actions
Content
Articles live in the Outline collection Blog: tinyrack (notes.winetree94.com), not in this repository. Pages (content/pages) and tags (content/tags) stay here.
-
Each top-level document is an original article; translations are its child documents. Document titles are used as-is.
-
Drafts are unpublished Outline documents and are never deployed.
-
Every document starts with the same header: a feature image (Outline attachment), a
yamlblock, and a---divider before the body. ```yaml lang: "ko" routeSlug: "my-article" publishedAt: "2026-01-01T00:00:00.000+09:00" commentsTerm: "my-article" ``` --- Body... -
The image is required in the original and optional in translations, which otherwise reuse it.
-
Every document declares its language with
lang. The original also holdsrouteSlug,publishedAt,updatedAt,tags,commentsTerm, andexcerpt; translations may only overridepublishedAt,updatedAt, orexcerptand inherit the rest. -
pnpm content:pullconverts published documents intocontent/articles/<slug>/<lang>.md(gitignored). Tests usepnpm content:fixturesinstead. -
pnpm content:checkvalidates published documents without writing files. Drafts are skipped unless passed explicitly:pnpm content:check <document id or URL>...also validates those drafts and their draft translations. Run it on a draft before publishing.
To publish content-only changes, run the Web Deployment workflow manually:
gh workflow run deployment.yaml --repo tinyrack-net/homepage --ref main
Development
pnpm install
export OUTLINE_API_KEY=... # read-only Outline API key
pnpm content:pull # or: pnpm content:fixtures
pnpm dev
Checks
pnpm biome
pnpm test:ci
pnpm build