Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/motemen/mir


https://github.com/motemen/mir

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

mir
===

mir - A simple Git slave (smart) HTTP server.

Usage
-----

----
mir -upstream= -base-path= [-listen=]
----

For example:

----
mir -upstream=https://github.com/ -base-path=/var/lib/mir/repos -listen=:8080
----

Then use it as an HTTP Git server.

----
$ git clone http://:8080/motemen/mir.git
----

Description
-----------

mir behaves as a (smart) Git HTTP server.
When a client requested to fetch a repository from it, mir first synchronizes the local repository to the "upstream" one, and serves the requested pack from the local repository, thus helps scaling out git-upload-pack servers for massive git fetches.