Skip to content
a script that can help make your git repository code sphinxable
Ruby
Find file
Latest commit 50f792a @schacon it works! searching 40k source files over 30 git projects in 0.005s
(210M total / processing 65 docs/sec)

freaking sweet.
Failed to load latest commit information.
README
albino.rb
git_file.rb it works! searching 40k source files over 30 git projects in 0.005s
git_sphinx.rb it works! searching 40k source files over 30 git projects in 0.005s
index.rb it works! searching 40k source files over 30 git projects in 0.005s
search_server.rb
sphinx.conf.example

README

Git-Sphinx Script
=========================

Git-Sphinx is my attempt to write a script that will create proper sphinx indexes
directly from Git repositories, so you can search through ALL of your source code
near-instantly.

I've included a sample sphinx config file that uses the script to generate data
that is fed to it via the xmlpipe2 type.  You will have to modify index.rb
to return an array of repositories and paths that is appropriate for you.

TODO
=========================

* fix bugs with invalid characters in the content feed
* develop simple frontend (sinatra app) for searching that index usefully

LICENSE
=========================

MIT.  Do whatever you want with it.


AUTHOR 
=========================

* Scott Chacon (schacon@gmail.com)
Something went wrong with that request. Please try again.