Skip to main content

Self-host your repositories using cgit

Project description

cgitize

CI

Self-host your repositories using cgit.

Supports cloning all of your repositories from major hosting providers:

  • GitHub,
  • Bitbucket,
  • GitLab.

Example output can be found at https://git.egort.name/.

Installation

pip install cgitize

Usage

Pass the path to the config to cgitize (/etc/cgitize/cgitize.toml by default):

cgitize --config path/to/cgitize.toml

See an example config file at examples/cgitize.toml.

cgitize uses the git executable, which might use ssh internally. Make sure the required keys are loaded to a ssh-agent (or, preferably, use access tokens/application passwords).

Docker

You can run cgitize in a Docker container. A separate image includes a web server with a configured cgit installation.

Please see docker/README.md for details.

Mirror maintenance

Update the URL of an existing repository mirror:

git remote set-url origin git@examples.com/username/name.git

Development

See DEVELOPMENT.md.

License

Distributed under the MIT License. See LICENSE.txt for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgitize-5.0.0.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cgitize-5.0.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file cgitize-5.0.0.tar.gz.

File metadata

  • Download URL: cgitize-5.0.0.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cgitize-5.0.0.tar.gz
Algorithm Hash digest
SHA256 3f6ccc47fa3ef5469be6cf5a7d90f909de8017ea9525cb1cc607560845bd5c82
MD5 9381d7266e3fe6ae393ad96104c4bdbe
BLAKE2b-256 24a8b542facbed6f1e060470e7f729565c7f6237a257d780d19e97bbeacf296d

See more details on using hashes here.

File details

Details for the file cgitize-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: cgitize-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cgitize-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70cc649de61aa3d3624ddba0050a05b1b3b54d0af4c07153e480d92a89f35604
MD5 bf053a8667d7dc4b059bb52bac76511d
BLAKE2b-256 8e211f7389e0c3916d9172635c1bb3f0ccf7b189c208bbba7d4be08f60d36884

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page