GitHub First Commit

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Hassan Tariq
今日安裝
0
安裝總數
2
評價
0 0 0
版本
1.0.0
建立日期
2025-04-04
更新日期
2025-04-04
尺寸
4.2 KB
授權條款
MIT
腳本執行於

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.