π First Stable Release
CodeStats README is now ready for production use! This GitHub Action automatically updates your profile README with beautiful ASCII charts showing your coding activity from CodeStats.
β¨ Features
- π Beautiful ASCII Charts - Clean, visual representation of your coding activity
- π― Top 6 Languages - Shows your most used programming languages
- π Auto-sorted - Languages sorted by experience points (XPs)
- β‘ Fast & Reliable - Built with Node.js 20 and comprehensive tests
- π³ Docker Support - Available as container image
- π§ Customizable - Multiple configuration options
π Quick Start
-
Add markers to your README:
<!-- START_SECTION:codestats --> <!-- END_SECTION:codestats -->
-
Create a workflow:
- uses: vergissberlin/codestats-readme@v0.1.0 with: CODESTATS_USERNAME: your-codestats-username
π§ Configuration
| Input | Description | Default |
|---|---|---|
CODESTATS_USERNAME |
Your CodeStats username | Required |
README_FILE |
Path to README file | ./README.md |
SHOW_TITLE |
Show update timestamp | false |
SHOW_LINK |
Show link to your profile | false |
GRAPH_WIDTH |
Width of the ASCII bars | 42 |
COMMIT_MESSAGE |
Custom commit message | Update codestats metrics |
π§ͺ Technical Highlights
- 100% Test Coverage - 30 comprehensive tests covering all scenarios
- Robust Error Handling - Handles API failures, malformed data, and edge cases
- Mock Data Testing - Complete test suite with realistic API scenarios
- Modern Architecture - ES modules, async/await, Node.js 20
- Developer-Friendly - Comprehensive documentation in CONTRIBUTING.md
π¦ Docker Support
Available on GitHub Container Registry:
docker run ghcr.io/vergissberlin/codestats-readme:v0.1.0π€ Contributing
See CONTRIBUTING.md for development setup, testing, and contribution guidelines.
π Acknowledgments
Thanks to CodeStats for providing the awesome coding activity tracking platform!
Full Changelog: https://github.com/vergissberlin/codestats-readme/commits/v0.1.0