{"id":23906978,"url":"https://github.com/letsmakecakes/github-activity","last_synced_at":"2025-06-21T12:39:26.489Z","repository":{"id":270360048,"uuid":"858861981","full_name":"letsmakecakes/github-activity","owner":"letsmakecakes","description":"Command-line tool to fetch and display a GitHub user's recent activity using the GitHub API. This lightweight Go-based CLI helps you track contributions, issues, and other actions for any GitHub user.","archived":false,"fork":false,"pushed_at":"2024-12-30T14:44:19.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T14:16:21.622Z","etag":null,"topics":["api-integration","cli-tool","command-line","developer-tools","github-api","github-integration","go-cli","golang","json-handling"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/letsmakecakes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T16:57:04.000Z","updated_at":"2024-12-30T14:44:23.000Z","dependencies_parsed_at":"2024-12-30T15:34:23.130Z","dependency_job_id":"a2183bae-f2a0-478c-893e-f6fbb6ede2ab","html_url":"https://github.com/letsmakecakes/github-activity","commit_stats":null,"previous_names":["letsmakecakes/github-activity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/letsmakecakes/github-activity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fgithub-activity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fgithub-activity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fgithub-activity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fgithub-activity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letsmakecakes","download_url":"https://codeload.github.com/letsmakecakes/github-activity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fgithub-activity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261126206,"owners_count":23113290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-integration","cli-tool","command-line","developer-tools","github-api","github-integration","go-cli","golang","json-handling"],"created_at":"2025-01-05T02:15:48.034Z","updated_at":"2025-06-21T12:39:21.477Z","avatar_url":"https://github.com/letsmakecakes.png","language":"Go","readme":"# GitHub Activity CLI\n\nA simple command-line interface tool that fetches and displays GitHub user activity using the GitHub API.\n\n## Features\n\n- Fetch recent GitHub activity for any user\n- Display activity in a clean, readable format\n- Support for multiple event types:\n   - Push events (with commit counts)\n   - Issue events (opened/closed)\n   - Watch events (starring repositories)\n- Built with pure Go - no external dependencies\n- Error handling for API failures and invalid usernames\n- Clean and maintainable codebase structure\n\n## Installation\n\n### Prerequisites\n\n- Go 1.21 or higher\n- Git\n\n### Building from Source\n\n1. Clone the repository\n```bash\ngit clone https://github.com/yourusername/github-activity.git\ncd github-activity\n```\n\n2. Build the project\n```bash\ngo build -o github-activity cmd/github-activity/main.go\n```\n\n3. (Optional) Add to PATH\n```bash\n# On Unix-like systems\nsudo mv github-activity /usr/local/bin/\n```\n\n## Usage\n\n```bash\ngithub-activity \u003cusername\u003e\n```\n\nExample:\n```bash\n$ github-activity kamranahmedse\n- Pushed 3 commits to kamranahmedse/developer-roadmap\n- Opened an issue in kamranahmedse/developer-roadmap\n- Starred kamranahmedse/developer-roadmap\n```\n\n## Project Structure\n\n```\ngithub-activity/\n├── cmd/\n│   └── github-activity/\n│       └── main.go           # Application entry point\n├── internal/\n│   ├── api/\n│   │   └── github.go         # GitHub API client\n│   ├── models/\n│   │   └── event.go         # Data structures\n│   └── formatter/\n│       └── output.go        # Output formatting logic\n├── go.mod\n└── README.md\n```\n\n## Error Handling\n\nThe tool handles various error cases:\n\n- Invalid GitHub usernames\n- API rate limiting\n- Network connectivity issues\n- Malformed API responses\n\nExample error output:\n```bash\n$ github-activity invalid@user\nError fetching events: GitHub API error: 404 Not Found - {\"message\": \"Not Found\"}\n```\n\n## Contributing\n\nContributions are welcome! Here are some ways you can contribute:\n\n1. Report bugs\n2. Suggest new features\n3. Submit pull requests\n\n### Development Setup\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## Possible Enhancements\n\n- [ ] Add authentication support for higher API rate limits\n- [ ] Implement event filtering by type\n- [ ] Add caching for better performance\n- [ ] Support more event types\n- [ ] Add pagination support\n- [ ] Include colorized output\n- [ ] Add detailed event information\n- [ ] Support custom date ranges\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- GitHub API Documentation\n- Go standard library\n- The open-source community\n\n## Support\n\nIf you encounter any problems or have suggestions, please open an issue in the GitHub repository.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsmakecakes%2Fgithub-activity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletsmakecakes%2Fgithub-activity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsmakecakes%2Fgithub-activity/lists"}