One can setup a working version of Ahmia on a local machine with its own crawlers and index.
Source code is mainly divided into three parts :
Linking structure : https://ahmia.fi/stats/link_graph/
All banned hidden services: https://ahmia.fi/banned/
These are MD5 sums calculated from youronionaddress.onion\c part (echo -e "youronionaddress.onion\c" | md5sum).
All known non-banned onion domains: https://ahmia.fi/onions/
For filter requests of onions: https://ahmia.fi/address/
For hidden service operators
You can add your domains and sub-domains on Ahmia add page : Add
Info about hidden service indexing and crawling : Indexing
Ahmia blacklists child abuse content : Blacklist
Right onion address starts with msydq and ends with zerdg.onion.
Find real address from ahmia.fi