Skip to main content

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.

Metadata

Release files for cgitize 8.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cgitize 8.0.4
File Size Uploaded Provenance
cgitize-8.0.4.tar.gz 35.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cgitize 8.0.4
File Interpreter ABI Platform
cgitize-8.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 52.4 kB

Release files / cgitize-8.0.4.tar.gz

Download URL cgitize-8.0.4.tar.gz
Size 35.6 kB
Tags Source
SHA-256 checksum
How to use checksums
78aad02df60f6a2e4e819d7fe1da62bc77cda7020179bdd7e4ab8ed1a321b540
BLAKE2b-256 checksum
How to use checksums
be6614a69d09738106d33350eff90eea04198ece97529b39f0a20e0598d8e64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / cgitize-8.0.4-py3-none-any.whl

Download URL cgitize-8.0.4-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21c93cf5b079bf14aff9f781f000faaac5e23e1944799b7aef94f2513d1652f2
BLAKE2b-256 checksum
How to use checksums
16f7c6fc41cbaff8eec0a6a24a36e5a02d80b3dc3cc273d0ecfd2987f88ff454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for cgitize 8.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

8.0.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page