https://github.com/egor-tensin/cgitize
Self-host your repositories using cgit
https://github.com/egor-tensin/cgitize
Last synced: 5 months ago
JSON representation
Self-host your repositories using cgit
- Host: GitHub
- URL: https://github.com/egor-tensin/cgitize
- Owner: egor-tensin
- License: mit
- Created: 2019-08-14T05:29:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-29T12:32:37.000Z (10 months ago)
- Last Synced: 2025-04-22T18:54:29.443Z (6 months ago)
- Language: Python
- Homepage: https://pypi.org/project/cgitize/
- Size: 242 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
cgitize
=======[](https://github.com/egor-tensin/cgitize/actions/workflows/ci.yml)
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).[examples/cgitize.toml]: examples/cgitize.toml
### 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](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](DEVELOPMENT.md).
License
-------Distributed under the MIT License.
See [LICENSE.txt] for details.[LICENSE.txt]: LICENSE.txt