GitHub First Commit

A simple userscript to view the very first commit of a GitHub repository.

Auteur
Hassan Tariq
Nombre d'installations quotidiennes
0
Nombre d'installations
1
Évaluations
0 0 0
Version
1.0.0
Créer
2025-04-04
Mis à jour
2025-04-04
Taille
4,16 ko
Licence
MIT
S'applique à

GitHub First Commit

A simple userscript that adds a convenient First Commit navigation button to GitHub repositories, allowing you to quickly jump to the very first commit of any public repository.

GitHub First Commit Preview

Installation

  1. Install a userscript manager for your browser:

  2. Install the script:

How It Works

The script identifies when you're on a GitHub repository page and inserts a new First Commit button in the repository navigation bar by querying the GitHub API to find the first commit in the repository's history. Clicking the button takes you directly to the first commit.

Compatibility

  • Works with all modern browsers (Chrome, Firefox, Safari, Edge)
  • Compatible with GitHub's regular and dark themes

Source Code

The complete source code is available on GitHub.

Privacy

This userscript:

  • Does not collect any user data
  • Does not make requests to third-party services
  • Only interacts with GitHub's own API and pages

Roadmap

  • Add support for private repositories

Contributing

Contributions are welcome! Feel free to submit issues or pull requests if you have suggestions for improvements.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License.