dhuseby / git-remote-gemini Goto Github PK
View Code? Open in Web Editor NEWA Git remote helper to do basic cloning of repos from a Gemini server.
License: Apache License 2.0
A Git remote helper to do basic cloning of repos from a Gemini server.
License: Apache License 2.0
# git-remote-gemini This is a Git remote helper that allows for basic cloning of git repos over the Gemini protocol. Build it and install it in your $PATH somewhere and then run `git clone gemini://<domain>/<repo>.git` You must be running a Gemini server that detects a Git repo and understands the following queries: ## List `gemini://<domain>/<repo>.git?list` The server must respond with the output of: `git for-each-ref --format=%(objectname) %(refname) refs/heads/` and with an optional line indicating the default branch (e.g. `master`) in this format: `@refs/heads/<branch> HEAD` and ending with an empty line. ## Fast Export `gemini://<domain>/<repo>.git?fast-export=<ref>` The server must respond with the output of: `git fast-export <rev>` ## Notes This does not support marks files or refspecs yet. It is just a "dumb" clone method as mentioned in the Git documentation.
git fast-export drops the signature of gpg-signed git commits. This results in commits having a different hash than expected. Can we specify git-remote-gemini to use another command type? For example, the connect
capability with native git upload-pack.
git-remote-gemini's current interface requires servers to parse the query string in order to respond. Some Gemini publishers may only be publishing static files, like on some current hosting sites. Git's native HTTP(S) interface ("Dumb protocol") can work with static files. Effectively the server does not have to do anything special, just serve the files from the git repository requested by the client, and most of the protocol functionality is in the client. Should we try to support fetching from static gemini repos?
Is there an official Gemini capsule and/or git-remote-gemini repo for git-remote-gemini?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.