A TypeScript CLI tool for generating markdown templates with GitHub and Hackatime integration.
Markscribe TS is the TypeScript version of markscribe, a tool that helps you create dynamic markdown content using templates. It integrates with GitHub API and Hackatime (Wakatime) to pull in data like contributions, pull requests, coding statistics, and more.
# Using pnpm (recommended)
pnpm install
# Build the project
pnpm run buildSet up your environment variables:
export GITHUB_TOKEN=your_github_token
export HACKATIME_API_KEY=your_hackatime_keyRun the CLI:
node dist/cli.js [template-file]- GitHub Integration: Pull data like recent contributions, pull requests, stars, followers, gists, sponsors, and repository info.
- Hackatime Integration: Get coding statistics, category bars, and today's coding time.
- Template Helpers: Humanize dates, format numbers, chunk arrays, and more.
- CLI with Commander.js: Easy argument parsing and help.