A simple command-line interface tool written in C++ to fetch and display a GitHub user's recent public activity.
- libcurl: A free, highly portable, thread-safe, and feature-rich client-side URL transfer library supporting numerous protocols including HTTP, HTTPS, FTP, and SMTP.
- nlohmann/json: Often referred to as "JSON for Modern C++," it's a popular open-source, header-only library that simplifies working with JSON data in C++. It provides an intuitive syntax and integrates seamlessly with C++'s Standard Template Library (STL).
- GoogleTest: A C++ testing framework used for writing and running unit tests.
To build the project, you need cmake and a C++ compiler installed on your system.
cmake -S . -B build
cmake --build build
cd build
./github-activity <username>Example:
./github-activity soooljiWant to help out? Here are some awesome features we can add next:
- Terminal Colors & Styling: Add ANSI color codes or use a nice library like
fmtto color-code different GitHub events (e.g., green forPushEvent, yellow forStarEvent). - Filtering System: Add flags to filter activity. For example:
github-activity username --type IssuesEventor--limit 5. - Export Features: Add an option to export a user's recent activity to a Markdown or CSV file for report generation.