Files
bird/twitter-cli
T
Peter Steinberger 011476f607 Initial commit: twitter-cli for posting tweets via GraphQL API
Features:
- Post tweets and replies via Twitter GraphQL API
- Cookie extraction from Chrome (macOS)
- Env var and CLI argument authentication
- 19 passing tests with vitest
- Biome for linting
2025-11-28 06:35:17 +00:00

7 lines
225 B
Bash
Executable File

#!/usr/bin/env bash
# twitter-cli - CLI tool for posting tweets and replies
# Requires Node.js 20+ and pnpm
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR" && exec pnpm exec tsx src/index.ts "$@"