Skip to content

Instantly share code, notes, and snippets.

View zakaf's full-sized avatar

Dongkeun Lee zakaf

  • Seoul, South Korea
View GitHub Profile
@zakaf
zakaf / statusline.ts
Last active July 9, 2026 00:07
OpenRouter statusline for claude code (w/ BYOK Bedrock support)
#!/usr/bin/env npx tsx
/**
* OpenRouter cost tracking statusline for Claude Code
*
* Displays: Provider: model - $cost - OR fee: $fee - cache discount: $saved
* plus a "usage tracking: up-to-date/behind" line when new generations were
* fetched this refresh. The provider prefix is omitted until a provider is known.
*
* Setup: Add to your ~/.claude/settings.json:
@zakaf
zakaf / install thrift 0.11.0 on mojave
Last active September 15, 2019 06:50
installing thrift 0.11.0 on mojave using homebrew
brew unlink thrift
brew install https://homebrew.bintray.com/bottles/thrift-0.11.0.mojave.bottle.tar.gz