https://github.com/selfint/planit
https://github.com/selfint/planit
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/selfint/planit
- Owner: selfint
- License: apache-2.0
- Created: 2026-02-09T18:12:35.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-05-24T03:01:46.000Z (21 days ago)
- Last Synced: 2026-05-24T05:05:49.754Z (20 days ago)
- Language: TypeScript
- Homepage: http://tom.selfin.io/planit/
- Size: 38.9 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# planit
## Playwright workflow
Free mobile confidence (no paid device cloud):
```bash
# Full desktop suite
pnpm integtest:desktop
# Mobile smoke suite using Playwright's Pixel 5 emulation
pnpm integtest:mobile
```
CI runs both suites and uploads Playwright artifacts (`test-results`,
`playwright-report`) automatically when a test fails.
Recording tests (codegen):
```bash
pnpm dev --host
pnpm pw:codegen
```
Running tests with video capture:
```bash
pnpm integtest:video
```
Optimizing recorded videos for embedding:
```bash
pnpm optimize:videos
```
Notes:
- Optimized videos are written to `public/tutorials/` so Vite serves them as static assets.
- You can tweak encoding with env vars: `PW_VIDEO_WIDTH`, `PW_VIDEO_CRF`, `PW_VIDEO_AUDIO_BITRATE`.
## Lighthouse CI
Run Lighthouse CI locally (report-only):
```bash
pnpm build
pnpm lhci:ci
```
Notes:
- The run audits all route pages under `/planit/`, including deep links used by the app.
- Results are written to `.lighthouseci/`.
- GitHub Actions uploads `.lighthouseci/` as workflow artifacts in both CI and Pages workflows.