8000 GitHub - kkhys/me: My personal website. · GitHub
[go: up one dir, main page]

Skip to content
kkhysPublic

Repository files navigation

kkhys

A pnpm monorepo for kkhys's personal sites, built with Astro and deployed on Cloudflare Pages.

Architecture

System architecture of the kkhys monorepo: content submodules feed the Astro apps in the pnpm workspace, which deploy to Cloudflare Pages via GitHub Actions (memo) or a developer machine (the rest)

Workspace

Apps

Package Site Description
@kkhys/me kkhys.me Personal website and blog
@kkhys/memo memo.kkhys.me Short threaded memos (max 500 chars)
@kkhys/lgtm lgtm.kkhys.me LGTM images for GitHub Pull Requests
@kkhys/diary diary.kkhys.me Photo diary
@kkhys/art art.kkhys.me Artwork and fashion design gallery
@kkhys/trends trends.kkhys.me Daily tech trend digest
@kkhys/design design.kkhys.me Design system docs
@kkhys/studio (local only) Memo composer for memo-content

Packages

Package Description
@kkhys/styles uchu.css OKLCH palette + semantic tokens (tokens.css), base styles (base.css), component classes (components.css), Satori hex mirrors (colors)
@kkhys/seo BaseSEO / OpenGraph / TwitterCard Astro primitives
@kkhys/og Satori OG image + favicon generators
@kkhys/ui Shared Astro components + cached BudouX parser
@kkhys/analytics Self-hosted Umami tracker component
@kkhys/search Pagefind search dialog shell, runner, and helpers (used by me / memo / design)
@kkhys/release Date-based release tagging

Tech Stack

Getting Started

Prerequisites

Setup

direnv allow   # Loads Node.js, pnpm, Bun via Nix Flake
pnpm install
pnpm dev:me    # or: pnpm --filter @kkhys/memo dev

Scripts

Run from the repo root:

Command Description
pnpm build Build every app and package (pnpm -r)
pnpm test Run unit tests across the workspace
pnpm check Type check across the workspace
pnpm lint / pnpm lint:fix Check / auto-fix with oxlint + oxfmt
pnpm dev:me / pnpm build:me / pnpm deploy:me me shortcuts (:lgtm / :diary / :trends / :design / :art too)
pnpm --filter @kkhys/memo <script> Target a single app
pnpm release Tag a repo-wide release

Per-app commands are documented in each app's README (me, memo, lgtm, diary, trends, art, design, studio).

CI / Deploy

  • .github/workflows/ci.yml — runs on pull requests and the merge queue: lint, test, type check, and build across the workspace against fixtures.
  • .github/workflows/deploy-memo.yml — deploys memo to Cloudflare Pages on pushes to main that touch memo or shared packages.
  • me, lgtm, diary, trends, design, and art are built and deployed locally via pnpm deploy:me / pnpm deploy:lgtm / pnpm deploy:diary / pnpm deploy:trends / pnpm deploy:design / pnpm deploy:art. trends is normally published end-to-end by the creating-trend-digest Claude Code skill in .claude/skills/ (data commit → deploy → push).

License

Code is licensed under MIT. Content and images are licensed under CC BY-NC-SA 4.0.

Releases

Used by

Contributors

Languages

0