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.4.tar.gz (33.1 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.4-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cgitize-6.0.4.tar.gz
Algorithm Hash digest
SHA256 5db608c1ad5a300e5c5c6650e35e1e0000e164f1cf0b296dd9b1de1f5b9d26f2
MD5 403ad45455c8127ff3b42590b9ad6c52
BLAKE2b-256 67ee9878f3487488260a0d5879c71804ef7d74c25da7a63edd32b5d83b7c6688

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cgitize-6.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7d58f67c427581839ba685e48701e0a5148b61e409a791b0821d517e976247ca
MD5 931511283173e5e70fc7802432b0e5d7
BLAKE2b-256 33e0176a522e3f2813a69badd28813c79d55cef16e50f16286c7569e70ce3b9e

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