Self-host your repositories using cgit
Project description
cgitize
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cgitize-5.1.2.tar.gz
.
File metadata
- Download URL: cgitize-5.1.2.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d5170e55eab07116ebd0b87fc2936dc978e5bfbc626086609f6debf4f9687aa |
|
MD5 | 0ba890d7566ccefd30f30ca9df8726b4 |
|
BLAKE2b-256 | 38a224b47a1e5911956e47042ca7b7976e888d2eceba6dcb04b525cdee05feb8 |
File details
Details for the file cgitize-5.1.2-py3-none-any.whl
.
File metadata
- Download URL: cgitize-5.1.2-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bf6d03eadda965a7660d49e3830d88e7f083d1d12cceb059562dc7e5fbbbad9 |
|
MD5 | dd61a5d946c52853cdc7a3ac03b5d158 |
|
BLAKE2b-256 | 860423d9b00dc480d87026dbd95159abeb1f7ac574965cef2843a168aee6934b |