GitHub Activity Fetcher is a TypeScript application that fetches and displays recent GitHub activities for a specified user. The application retrieves information about issues, pull requests, and repositories, and formats the output in a human-readable format.
Find the project here on roadmap.sh
- Fetches recent issues and pull requests contributions.
- Retrieves commit history for repositories.
- Outputs formatted information to the terminal.
- Deno (Ensure you have Deno installed on your machine)
-
Clone the repository:
git clone https://github.com/your-username/github-activity-fetcher.git cd github-activity-fetcher
-
Set up your GitHub Personal Access Token:
- Create a
.env
file in the root directory. - Add your GitHub token to the
.env
file:GITHUB_TOKEN=your_github_token
- Create a
-
Run the application:
deno run --allow-net --allow-env main.ts <github-username>
Replace
<github-username>
with the GitHub username you want to fetch activities for.
To fetch activities for the user Harshita-mindfire
, run:
deno run --allow-net --allow-env main.ts Harshita-mindfire
main.ts
: The main entry point of the application. It fetches and formats the GitHub activities.main_tests.ts
: Can be used to write tests
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.