Online Web Directory for FastAPI
One package connects your FastAPI site to the directory AI agents check before they fetch a site. It serves the proof that the site is yours, counts the AI agents that request your pages, and gives you a command line for your score, your free listing and your badge.
How to install
- Install the package.
pip install onlinewebdirectory-site - Add its middleware to your app. The FastAPI recipe is in the README.
- Start the connection. This prints one setting to add where your site runs.
python -m onlinewebdirectory_site connect YOUR-DOMAIN - Deploy, then finish. The directory reads one proof file from your site and gives it a key.
python -m onlinewebdirectory_site verify - See your result and what to do next.
python -m onlinewebdirectory_site status
What it does
- Pass or fail, your score out of 100 and the date it was checked.
- Your free listing, in your own words, from the command line.
- A count of requests from AI agents and crawlers, counted on your own server.
- A badge you place where you choose. It is never shown automatically.
- Paid, from the command line: the monitor and the fix report.