This Streamlit app helps you draft takedown requests to domain registrars.
It uses a combination of autonomous LangChain Agents and OpenAI's recently introduced support for function calling to:
- Perform a domain registrar lookup using either WHOIS or RDAP to identify the registrar for the given website
- Search the web with DuckDuckGo to find the appropriate email address for takedown requests for that domain registrar
- Draft a takedown request email to the hosting provider citing the reason for the takedown request
Created by Matt Adams.
Click here to try the live app!
The app now supports performing domain registrar lookups using either WHOIS or RDAP. You can select your preferred protocol from the "Advanced Options" menu.
- Clone this repository:
git clone https://github.com/mrwadamstakedown-gpt.git
cd takedown-gpt
- Install the required Python packages:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py
- Enter your OpenAI API key and select the OpenAI model you would like to use.
- Input the domain name for which you want to send a takedown request.
- Select the reason for the takedown request, or specify a custom reason.
- Click the 'Generate Takedown Request' button to create the draft email and find the appropriate email address for the takedown request.
- Copy or download the draft email and send it to the appropriate email address.