# Uses

The things I actually use every day, for coding and for travel.

## Hardware

- **Desktop**: i7-12700 + RTX 3070 8GB + 32GB RAM. The deploy host: it runs this site, the GitHub Actions runner and Ollama for local AI, and YOLOv8 inference too
- **Laptop**: ASUS Zenbook A14 (Snapdragon X2 Elite, ARM64). My dev machine on the go: I push from it and the desktop deploys
- **Raspberry Pi 3 + DVB-T TV dongle**: A self-built ADS-B receiver (FR24 Pi24) picking up 1090 MHz signals from nearby aircraft. Live numbers are on /radar, and it is also a 24-hour YouTube live stream

## Editor

- **VSCode**: Main editor
- **Claude Code**: AI-assisted development: most of this site's code, tests and ops scripts were written together with it (as of 2026-11, 435 of 508 commits). When several sessions run at once, each gets its own git worktree

## Dev tools

- **Git / GitHub**: Version control. The two machines sync through git, and a push to main deploys
- **pnpm**: Package manager (pnpm 12). On the production machine, installs are left to the deploy script and never run by hand
- **Node.js 26**: Runtime for the site (LTS). The admin back end's database uses the built-in node:sqlite, with no extra package
- **Windows 11**: On both machines (x64 desktop, ARM64 laptop). Deploy, scheduling and monitoring scripts are written in PowerShell
- **Cloudflare Tunnel**: Exposes the local server to the internet: no open ports at home, the desktop connects outward to Cloudflare
- **GitHub Actions (self-hosted)**: CI/CD. A push to main deploys automatically (two build slots, automatic rollback when the health check fails)
- **Playwright**: E2E tests (accessibility, privacy, CSP and more). The WebGPU test runs on the desktop's real GPU
- **Vitest**: Unit tests (data parsing, API routes, pure functions such as the AQI formula)
- **Renovate**: Opens dependency update PRs every Monday on the self-hosted runner, with no auto-merge

## Stack

- **Next.js 16 + TypeScript 7**: This site (type checking runs on the native TS 7; the lint tooling still uses its own copy of TS 6)
- **FastAPI / Flask**: Back-end APIs
- **YOLOv8 / ONNX Runtime / Gemini API**: AI inference
- **Tailwind CSS v4 + native CSS animation / View Transitions**: Styling and animation
- **Three.js / React Three Fiber**: The 3D background on the home page (thin lines, particles, shooting stars)
- **WebGPU / TSL**: The experimental GPU particle version of the home page (compute shader), visible with ?hero=webgpu
- **Ollama (gemma3:4b, embeddinggemma)**: Runs on the desktop's RTX 3070: the /ask assistant answers with gemma3:4b, and embeddinggemma computes the vectors for Ctrl+K semantic search and the suggested links on the 404 page

## Streaming

- **OBS Studio**: The radar live stream: a browser source captures the stream page and pushes it to YouTube. The volume meter reads the mixer through OBS's built-in WebSocket

---

Author: PINGWEI LI (李秉威, Li Ping-Wei)
Original page: https://kbs0830.com/en/uses
