本地 Git 仓库托管,具有友好的 Web 界面和 bonjour 发现功能。就像您自己的小型、具网络感知的 GitHub !
Via the best reddit comment ever written:
The logo is the fucking business. The mustache just bring[s] it to a whole other level.
Bananajour is local git repository hosting with a friendly web interface and Bonjour discovery. It's like a bunch of adhoc, local, network-aware githubs!
Unlike Gitjour, the repositories you're serving are not your working git repositories, they're served from ~/.bananajour/repositories. You can push to your bananajour repositories from your working copies just like you do with github.
Hosting/sharing git repos is painful. This is the core value that github originally solved. When you don't have internet access, say at railscamp, then bananajour allows for discovery and read-only access of projects. - @drnic
You'll need at least git version 1.6. Run git --version if you're unsure.
Install it from gemcutter via gems:
gem install bananajour(you might need to do a gem sources -a http://gemcutter.org beforehand!)
Start it up:
bananajourGo into an existing project and add it to bananajour:
cd ~/code/myproj
bananajour addPublish your codez:
git push banana masterFire up http://localhost:9331/ to check it out.
If somebody starts sharing a Bananajour repository with the same name on the network it'll automatically show up in the network thanks to the wonder that is Bonjour.
For a list of all the commands:
bananajour helpOptional configuration: you can override the hostname by setting a global git config option like so:
git config --global bananajour.hostname foobarIf you set this setting, then bananajour will assume that you know precisely what you're doing, it will not append .local, it will not check this hostname is valid, or do anything to it. If you set this, then you're on your own.
To install the dnssd gem on Linux you'll need avahi. For Ubuntu peeps this means:
sudo aptitude update
sudo aptitude install g++ ruby-dev \
libavahi-compat-libdnssd-dev avahi-discover avahi-utilsand you'll need to set the domain-name:
sudo sed -i \
-e 's/#domain-name=local/domain-name=local/' \
/etc/avahi/avahi-daemon.conf
sudo service avahi-daemon restartYou can debug whether or not Avahi can see Bananajour and git-daemon Bonjour statuses using the command 'avahi-browse'. This command can be found in the package 'avahi-utils'.
The following command will show you all of the Bonjour services running on your local network:
avahi-browse --allIf you kill bananajour with kill -9 it doesn't get a chance to unregister the Bonjour services, and when it is restarted it will die with DNSSD::AlreadyRegisteredError. Although not ideal, you can work around this my restarting avahi-daemon first.
Note: You might have to restart the avahi-daemon sometimes if you are having problems seeing other bananajours.
The official repo and support issues/tickets live at github.com/toolmantim/bananajour.
Feature and support discussions live at groups.google.com/group/bananajour.
bundle install
rake -TAll directories and files are MIT Licensed.
Bananas were meant to be shared. There are no secret bananas.
暂无开放 Issues,或尚未同步最近议题。