# Compiled configurations

Besides the [sample config][] containing sites listed at
https://onion.torproject.org, Onionprobe comes also with other example configs:

0. [Official Tor Project Onion Service Sites](https://onion.torproject.org/onionbalancev3-services.yaml), generated by the [tpo.py][] script.
1. [Real-World Onion Sites](https://github.com/alecmuffett/real-world-onion-sites) .onions at
   [real-world-onion-sites.yaml][], generated by the
   [real-world-onion-sites.py][] script.
2. [The SecureDrop API](https://securedrop.org/api/v1/directory/) .onions at
   [securedrop.yaml][], generated by the
   [securedrop.py][] script.

You can build your own configuration compiler by using the
[OnionprobeConfigCompiler][packages.onionprobe.config.OnionprobeConfigCompiler] class.

[tpo.py]: https://gitlab.torproject.org/tpo/onion-services/onionprobe/-/blob/main/packages/tpo.py
[securedrop.py]: https://gitlab.torproject.org/tpo/onion-services/onionprobe/-/blob/main/packages/securedrop.py
[real-world-onion-sites.py]: https://gitlab.torproject.org/tpo/onion-services/onionprobe/-/blob/main/packages/real-world-onion-sites.py
[sample config]: https://gitlab.torproject.org/tpo/onion-services/onionprobe/-/blob/main/configs/tor.yaml
[real-world-onion-sites.yaml]: https://gitlab.torproject.org/tpo/onion-services/onionprobe/-/blob/main/configs/real-world-onion-sites.yaml
[securedrop.yaml]: https://gitlab.torproject.org/tpo/onion-services/onionprobe/-/blob/main/configs/securedrop.yaml
