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-8.0.0.tar.gz (34.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-8.0.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cgitize-8.0.0.tar.gz
Algorithm Hash digest
SHA256 b6f6dbb5c816481950b8f84fa5b6516d8885eaa18ad5d0e4210b2d43b3402efd
MD5 aedebbc1643a5183399528f24b788f3c
BLAKE2b-256 e32f1e54fbe83587b459d47a67e35f47fd88519ed792ac976691552e7573383a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cgitize-8.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c64250c1e02147385a914a9378074c5b33ce8e17ce1272acc7213cd8066dce88
MD5 a7670f0acbf635b69c875fb5d9559042
BLAKE2b-256 4b751500248a98e372a0913643dc1974b0b623249b11c2287da22aaec4cc2a90

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