The Stargazers Script is a simple tool built using HTML, CSS, and JavaScript to fetch stargazers of a GitHub repository in real time using the GitHub API token. It allows users to input the repository URL and GitHub token, then provides two options:
- Fetch all stargazers
- Fetch stargazers from the last 24 hours
Once the data is fetched, users can export and download the results as a CSV or an Excel (.xlsx
) file.
git clone https://github.com/YOUR_USERNAME/stargazers-script.git
cd stargazers-script
If the project is updated to Next.js in the future, use:
npm install
stargazers-script/
├── index.html # Main HTML structure
├── script.js # JavaScript logic for API calls
├── styles.css # Stylesheet for UI
We welcome contributions! Follow these steps:
- Fork the repository
- Clone your fork
- Create a new branch for your feature
git checkout -b feature-name
- Make your changes and commit
git add . git commit -m "feat: add feature-name"
- Push the changes to your fork
git push origin feature-name
- Create a Pull Request to the main repository
For any issues or feature requests, feel free to open an issue in the repository!
You can also reach out to us for any kind of queries and discussions on our