Downloading this code
There are two options for downloading. The first is to log in as the anonymous user and follow the /leaves link. Then find the top-most entry for the "trunk" branch and click that. From there, you can download a zip file containing the latest checked-in source code. Downloading code for non-trunk branches is not recommended, as branches are used primarily for experimental stuff. When a branch is considered to be useful/desirable then it is merged into the trunk.
Optionally, you can use fossil:
~> fossil clone \ http://android.wanderinghorse.net/repos/hgr/index.cgi \ hgr.fsl
(All on one line.)
That will copy the repository to hgr.fsl, which you can then open with:
~> mkdir hgr ~> cd hgr ~> fossil open ../hgr.fsl
It has an ant build file, but i personally develop with intelliJ (project files not included in the source tree).