You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rutger Broekhoff f64a40e99e
Up version
10 months ago
.gitignore Make this all work gloriously 11 months ago
Makefile Prepare for signing 11 months ago
README.md Also be able to edit a file and view it raw 11 months ago
background.js Ignore URL with repo-level 'graph' part 10 months ago
manifest.json Up version 10 months ago
options.html Push in time 11 months ago
options.js Make this all work gloriously 11 months ago

README.md

profects-giteaifyrepourl

A browser extension to convert a URL like https://git.profects.com/profects/notification-api/handler to https://git.profects.com/profects/notification-api/src/branch/master/handler (in this case master is the default branch).

Installation

Download the XPI file from the releases page. This is a signed XPI file, signed using the Mozilla Developer Hub.

Usage

Now configure your Gitea token in the settings page of the exension. Please test this piece of JS crap to see if it actually does anything (wrong). It does thankfully work for me in Firefox :satisfied:.

Notes

On the repository level, the following directories will not be able to be redirected into: issues, pulls, releases, wiki, activity, settings, archive, compare, commits, tags, branches, action, _upload, _new, commit, src, _edit, _raw, _delete

Building from source

Requirements

  • GNU Make
  • zip

Or you could zip the directory yourself.

Building

There is no build step.

Packaging

Just run make package-firefox to get a Firefox XPI file to submit to the Mozilla Developer Hub.

Todo

  • Add make package-chromium