profile_search is an OSINT microservice that searches the profile of a given URL and returns metadata found at that site using Tweepy.
- Python 3.9 or higher
- Create a Python virtual environment:
python -m venv .venv - Activate the virtual environment:
source .venv/bin/activate - Install dependencies:
pip install -r requirements.txt - Copy the environment file template:
cp .env.example .env - Add your Twitter bearer token to
.envusing theTWEEPY_BEARER_TOKENvariable.
From the repository root, start the FastAPI server:
uvicorn profile_search.server:app --reloadSend a GET request to the /focus endpoint with a url query parameter.
Example:
curl "http://127.0.0.1:8000/focus?url=https://twitter.com/Twitter"The service returns JSON metadata for the profile found at the provided URL.