From b6bf6b5091dbb10a8a71a27378f48981dc793511 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 03:59:49 +0000 Subject: [PATCH 1/5] Initial plan From 79df408cf81e5f6b91138dc843bb0e71ee27ca02 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 04:03:41 +0000 Subject: [PATCH 2/5] feat: add automated contributors hall of fame with GitHub profile photos Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com> --- .all-contributorsrc | 39 ++++++++++++++++++++++++++++++ .github/workflows/contributors.yml | 38 +++++++++++++++++++++++++++++ CONTRIBUTORS.md | 9 +++++-- README.md | 3 +++ 4 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 .all-contributorsrc create mode 100644 .github/workflows/contributors.yml diff --git a/.all-contributorsrc b/.all-contributorsrc new file mode 100644 index 0000000..9a9f245 --- /dev/null +++ b/.all-contributorsrc @@ -0,0 +1,39 @@ +{ + "projectName": "Keylogger", + "projectOwner": "Stalin-143", + "repoType": "github", + "repoHost": "https://github.com", + "files": [ + "CONTRIBUTORS.md" + ], + "imageSize": 100, + "commit": false, + "commitConvention": "none", + "contributors": [ + { + "login": "Stalin-143", + "name": "Stalin-143", + "avatar_url": "https://avatars.githubusercontent.com/u/161853795?v=4", + "profile": "https://github.com/Stalin-143", + "contributions": [ + "code", + "doc", + "infra", + "maintenance" + ] + }, + { + "login": "Always-Amulya7", + "name": "Always-Amulya7", + "avatar_url": "https://avatars.githubusercontent.com/Always-Amulya7", + "profile": "https://github.com/Always-Amulya7", + "contributions": [ + "code", + "ideas" + ] + } + ], + "contributorsPerLine": 7, + "skipCi": true, + "badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)" +} diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml new file mode 100644 index 0000000..08da9f1 --- /dev/null +++ b/.github/workflows/contributors.yml @@ -0,0 +1,38 @@ +name: Add Contributors + +on: + pull_request_target: + types: [closed] + issues: + types: [closed] + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +jobs: + add-contributors: + runs-on: ubuntu-latest + if: github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true) + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Update contributors + uses: akhilmhdh/contributors-readme-action@v2.3.6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + image_size: 100 + columns_per_row: 6 + collaborators: 'all' + committer_username: 'github-actions[bot]' + committer_email: '41898282+github-actions[bot]@users.noreply.github.com' + commit_message: 'docs: update contributors list' + readme_path: 'CONTRIBUTORS.md' diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 296e1c6..aaa3597 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,11 @@ -# 👥 Contributors +# 👥 Contributors Hall of Fame -Thank you to everyone who has contributed to this project! +Thank you to everyone who has contributed to this project! 🎉 + +## 🏆 Contributors Gallery + + + ## Project Maintainer diff --git a/README.md b/README.md index 57cbdaf..2da7d36 100644 --- a/README.md +++ b/README.md @@ -138,8 +138,11 @@ This project is intended for **educational purposes** only. Unauthorized use of - Related Articles on Ethical Hacking and Cybersecurity ## Contributions + Contributions are welcome! Please make sure to follow ethical guidelines and legal standards when contributing to this project. +See our [Contributors Hall of Fame](CONTRIBUTORS.md) to view all the amazing people who have contributed to this project! ✨ + ## 📜 License This project is licensed under the [License](LICENSE) From 07e381e13180b57070df125aaa18aedf41d78a02 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 04:04:27 +0000 Subject: [PATCH 3/5] docs: add contributors badge and automation documentation Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com> --- .github/workflows/contributors.yml | 1 + CONTRIBUTORS_AUTOMATION.md | 83 ++++++++++++++++++++++++++++++ README.md | 2 + 3 files changed, 86 insertions(+) create mode 100644 CONTRIBUTORS_AUTOMATION.md diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 08da9f1..5302479 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -8,6 +8,7 @@ on: push: branches: - main + workflow_dispatch: # Allow manual triggering permissions: contents: write diff --git a/CONTRIBUTORS_AUTOMATION.md b/CONTRIBUTORS_AUTOMATION.md new file mode 100644 index 0000000..b924352 --- /dev/null +++ b/CONTRIBUTORS_AUTOMATION.md @@ -0,0 +1,83 @@ +# Contributors Automation Guide + +## Overview + +This repository uses an automated system to maintain a Contributors Hall of Fame with GitHub profile photos. When anyone contributes to the project through merged pull requests, they will be automatically added to the [CONTRIBUTORS.md](CONTRIBUTORS.md) file. + +## How It Works + +1. **Automatic Detection**: When a pull request is merged to the main branch, the GitHub Actions workflow automatically detects all contributors. + +2. **Profile Photos**: The system fetches GitHub profile photos for each contributor and displays them in the Contributors Hall of Fame. + +3. **Automatic Updates**: The CONTRIBUTORS.md file is automatically updated with new contributors, maintaining a beautiful gallery of everyone who has helped the project. + +## Features + +- ✨ Automatic detection of new contributors +- 📸 GitHub profile photos displayed in the hall of fame +- 🔄 Automatic updates on every merged PR +- 👥 Recognition for all types of contributions (code, documentation, ideas, etc.) + +## The Contributors Workflow + +The automation is powered by a GitHub Actions workflow located at `.github/workflows/contributors.yml`. This workflow: + +1. Triggers when: + - A pull request is merged to main + - Code is pushed to the main branch + - Manually triggered via workflow_dispatch + +2. Automatically: + - Fetches all contributors from the repository + - Updates the CONTRIBUTORS.md file with profile photos + - Commits the changes back to the repository + +## Manual Triggering + +Repository maintainers can manually trigger the contributors update by: +1. Going to Actions tab in GitHub +2. Selecting "Add Contributors" workflow +3. Clicking "Run workflow" + +## Configuration + +The contributors system is configured in: +- `.github/workflows/contributors.yml` - The automation workflow +- `.all-contributorsrc` - Configuration for the all-contributors system + +### Customization Options + +You can customize the appearance by editing `.github/workflows/contributors.yml`: +- `image_size`: Size of profile photos (default: 100px) +- `columns_per_row`: Number of contributors per row (default: 6) + +## For Contributors + +When you contribute to this project: +1. Your GitHub profile will automatically appear in the Contributors Hall of Fame +2. Your profile photo will be displayed +3. You'll be recognized for your contributions + +## Requirements + +- GitHub Actions must be enabled for the repository +- The workflow requires `contents: write` permission to update files + +## Troubleshooting + +If contributors are not being added automatically: +1. Check that GitHub Actions is enabled +2. Verify the workflow has necessary permissions +3. Ensure the main branch name matches the configuration +4. Manually trigger the workflow to force an update + +## Credits + +This automation uses: +- [contributors-readme-action](https://github.com/akhilmhdh/contributors-readme-action) by akhilmhdh +- GitHub Actions for automation + +--- + +For questions about the contributors system, please open an issue on GitHub. diff --git a/README.md b/README.md index 2da7d36..8928705 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Keylogger :) +[![Contributors](https://img.shields.io/github/contributors/Stalin-143/Keylogger?style=for-the-badge)](https://github.com/Stalin-143/Keylogger/graphs/contributors) + ![WhatsApp Image 2024-11-29 at 11 35 30 PM](https://github.com/user-attachments/assets/689d466c-26d5-4830-8dba-48693ea04d01) From e182c216a98fadb4908ba7a3286967dab9f633f8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 04:04:52 +0000 Subject: [PATCH 4/5] fix: update workflow condition to include manual dispatch events Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com> --- .github/workflows/contributors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 5302479..f931170 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -17,7 +17,7 @@ permissions: jobs: add-contributors: runs-on: ubuntu-latest - if: github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true) + if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true) steps: - name: Checkout repository uses: actions/checkout@v4 From 78d276d4a23285f89927e292340788eb5837fdaf Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 04:05:35 +0000 Subject: [PATCH 5/5] fix: address security concerns and improve configuration Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com> --- .all-contributorsrc | 2 +- .github/workflows/contributors.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 9a9f245..b4c30bb 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -25,7 +25,7 @@ { "login": "Always-Amulya7", "name": "Always-Amulya7", - "avatar_url": "https://avatars.githubusercontent.com/Always-Amulya7", + "avatar_url": "https://avatars.githubusercontent.com/Always-Amulya7?v=4", "profile": "https://github.com/Always-Amulya7", "contributions": [ "code", diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index f931170..560af53 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -24,6 +24,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} + ref: main # Always checkout main branch for security - name: Update contributors uses: akhilmhdh/contributors-readme-action@v2.3.6