rybak / copy-commit-reference-userscript

Userscripts to add a "Copy commit reference" button to commit pages of Git hosting providers.
https://greasyfork.org/en/scripts?set=588773
GNU Affero General Public License v3.0
2 stars 0 forks source link

Add support for Forgejo #10

Closed rybak closed 1 year ago

rybak commented 1 year ago

Overview

Forgejo is a fork of Gitea, with their own commits being continuously rebased on top of Gitea. Unlike Gitea, which is hosted on GitHub (they are working toward self-hosting, see pinned issues), Forgejo seems to be self-hosted: https://codeberg.org/forgejo/forgejo, since Codeberg runs Forgejo.

This was initially tracked under https://github.com/rybak/copy-commit-reference-userscript/issues/4.

Public instances

Example URLs for testing

Screenshot

The button should be added to the left of "Browse Source", same as for Gitea, similar to GitHub.

image