Clearnet bridge for Dog Search
Find a file
2025-03-27 22:39:43 +00:00
www up 2025-03-27 22:39:43 +00:00
LICENSE.txt up 2025-03-27 22:28:27 +00:00
README.md Update README.md 2025-03-27 22:29:45 +00:00

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:

  1. Update the files in the /www/ directory to any directory on your server.
  2. Ensure the "cache" directory is writable by the web server.
  3. 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.