Skip to content
/ ackserve Public

Browse the results of ack (and more!) in your web browser.

License

Notifications You must be signed in to change notification settings

jdm/ackserve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ackserve

This is a quick'n'dirty implementation of an interface like Mozilla's MXR (http://mxr.mozilla.org), but replacing static code indexes with a local Python-based HTTP server that shells out to the ack utility. The main use case is to allow opening the results of ack searches in new tabs and retaining search history more efficiently, but ackserve also displays syntax-highlighted files, along with directory listings, and the search results are clickable links to lines of matching files.

To use ackserve, first ensure the ack binary is in your PATH. Note that on Debian-based distributions the ack tool goes by ack-grep and is not currently supported.

git clone https://github.com/jdm/ackserve.git
cd ackserve
python -m CGIHTTPServer
firefox http://localhost:8000/?path=/absolute/path/to/project/root

About

Browse the results of ack (and more!) in your web browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages