Loading repository data…
Loading repository data…
MuhammadIsmailShakir2009 / repository
python jupyter notebook
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A professional web application that generates personalized B2B cold emails using AI. Simply enter a company's website URL, and the tool will scrape the content, analyze it using AI, and generate a tailored outreach email.
git clone <your-repo-url>
cd "Ai Powere Personalization & Outreach tool"
# Windows
python -m venv venv
venv\Scripts\activate
# Mac/Linux
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Get your Hugging Face API token:
Configure the .env file:
# Copy the example file
cp .env.example .env
# Edit .env and add your token
HUGGINGFACE_API_TOKEN=your_actual_token_here
# Development mode with auto-reload
uvicorn main:app --reload
# Or use the main.py script
python main.py
The application will start at http://localhost:8000
https://example.com or just example.com)Ai Powere Personalization & Outreach tool/
├── main.py # FastAPI application & routing
├── scraper.py # Web scraping logic with trafilatura
├── ai_logic.py # AI email generation with Hugging Face
├── config.py # Configuration & environment management
├── .env # Environment variables (not in git)
├── .env.example # Environment template
├── requirements.txt # Python dependencies
├── .gitignore # Git ignore rules
├── README.md # This file
└── templates/ # Jinja2 HTML templates
├── base.html # Base template with Tailwind
├── index.html # Dashboard/home page
└── result.html # Email results page
pip install -r requirements.txtuvicorn main:app --host 0.0.0.0 --port $PORTHUGGINGFACE_API_TOKENHUGGINGFACE_API_TOKEN: Your HF tokenGET / - Dashboard home pagePOST /generate - Generate personalized email from URLGET /health - Health check endpointEdit config.py or set environment variables:
HUGGINGFACE_API_TOKEN - Your Hugging Face API token (required)APP_TITLE - Application title (optional)APP_DESCRIPTION - Application description (optional)The Hugging Face model might be loading. Wait 30-60 seconds and try again.
Ensure the URL is valid and accessible. Try with https:// prefix.
Verify your token is correct in the .env file and has read access.
Make sure all dependencies are installed: pip install -r requirements.txt
Feel free to submit issues and enhancement requests!
This project is open source and available under the MIT License.
Built with ❤️ using FastAPI, Tailwind CSS, and AI
Happy Outreaching! 🚀