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.tensin.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-6.0.3.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

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

cgitize-6.0.3-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cgitize-6.0.3.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cgitize-6.0.3.tar.gz
Algorithm Hash digest
SHA256 e5bd15685134f9c21ce41c33d463b6aa2483e0894e3462d2f59b8ef9e3de93a7
MD5 58d5ff25d1a34a59be4331051e5d74ef
BLAKE2b-256 2c170080b38dc5fd54bced94551f4b5896d0fe8a934e92353ac00e6d9abab081

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cgitize-6.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cgitize-6.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c155b9bacc33124fdbe3f6f2b402c4b19e8ec854def2428e3796cc13660a4d5c
MD5 9bcc9b334cd3f5ad73b90f5b001d8c3c
BLAKE2b-256 a57f27996dd9f8974100a64234368a4eb833e63a1611ebf31662c632f4131c09

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