Clearnet bridge for Dog Search
www | ||
LICENSE.txt | ||
README.md |
About
This code utilizes Dog's "Dogfood API" to retrieve search results and display them as simple HTML.
License
See LICENSE.txt
Setup
Requirements:
- A web server capable of running PHP 8+
- A Tor connection (or use a Clearnet relay)
Steps:
- Update the files in the
/www/
directory to any directory on your server. - Ensure the "cache" directory is writable by the web server.
- Open the website to start using it.
Config
index.php Configurations:
- PAGE_TITLE: Defines the name of your service.
- TEXT_ERROR_NF: The error message displayed when there are no results to show.
- TEXT_ERROR_CE: The error message displayed when the connection to the Dog API fails.
- DIR_ASSETS: The full path to the assets directory.
- DIR_CACHE: The full path to the cache directory.
- CACHE_SAVE_ICON: Whether to save icon files to the cache directory. This is recommended.
- CACHE_SAVE_RESULT: Whether to save results to the cache directory.