Stop refreshing LinkedIn. This pipeline scrapes new job listings based on your settings, uses AI agents to summarize each one and score it against your CV, then delivers only the best matches straight to your inbox 📬 — so you're always first to apply 🚀
The ProblemHow It WorksTech StackPipeline ArchitectureAI Output FieldsSetupProject StructureRoadmap v2ContributingLicense
Job hunting on LinkedIn is a full-time job in itself. New listings appear daily, most are irrelevant, and by the time you spot a good one, 200 people have already applied.
SnapplAI flips the game: it runs on a schedule, scrapes fresh listings, lets AI read and score every single one against your CV, and emails you only the top matches — before the crowd even sees them.
The pipeline runs in 4 sequential steps, fully automated:
1. Scrape → job_scraper()
pulls fresh listings from LinkedIn based on your search settings (role, location, filters) using python-jobspy.
2. Summarize → agentic_summarize()
sends each job description to Gemini, which extracts structured fields (title, seniority, skills, salary, etc.) as clean JSON.
3. Analyze → agentic_analyze()
reads your CV and scores each listing on how well it matches your profile. Chain-of-thought enforced: the model writes analysis
before score
in the JSON schema, so reasoning comes before judgment.
4. Deliver → send_email()
builds an email with the top-scored jobs and sends it to your inbox via SMTP.
Key principle: AI reads and evaluates. Python orchestrates and delivers. No frameworks, no agents-calling-agents — just a clean data pipeline with LLM calls where they matter.
| Component | Technology |
|---|---|
| LLM | Google GenAI SDK — gemini-3.5-flash-lite |
| Scraping | python-jobspy (LinkedIn) |
| Data | pandas, PyPDF / PyMuPDF |
| Parsing | BeautifulSoup4 |
| smtplib (SMTP) | |
| Config | python-dotenv |
The entire pipeline operates on a single pandas DataFrame that gets enriched at each step. No intermediate files, no database — everything flows through memory.
Each job in the email is ranked by match score and includes company, role, work mode, a one-line AI summary explaining why it matched (or didn't), and a direct apply link to the LinkedIn listing.
-
Get a free API key from Google AI Studio - Generate a Gmail App Password - Place your CV (PDF) in
your_cv_config/ -
Configure search settings: use
file_config.txt
to create yourfile_config.env
(filter docs) - Create your
.env
from the template:cp example_env.txt .env
git clone https://github.com/TDK-99/SnapplAI.git && cd SnapplAI
pip install -r requirements.txt
python main.py
git clone https://github.com/TDK-99/SnapplAI.git && cd SnapplAI
docker build -t snapplai .
docker run --env-file .env snapplai
- Fork this repo (or create a private copy) - Complete setup steps 1-4 above in your fork
- Edit your settings in
.github/workflows/snapplai.yml
under theenv:
block - Add credentials as
repository secrets(Settings → Secrets → Actions):GOOGLE_API_KEY
,GMAIL_USER
,GMAIL_APP_PASSWORD
Actions tab → enable workflows →Run workflow
SnapplAI/
├── main.py # Entry point — runs the 4-step pipeline
├── src/
│ ├── daily_scraper.py # LinkedIn scraping with python-jobspy
│ ├── ai_agents.py # Gemini calls: summarize + analyze
│ └── smtp.py # Email builder and SMTP sender
├── your_cv_config/
│ ├── .gitkeep # Keeps folder tracked in git
│ ├── file_config.env # Your settings (role, location, filters)
│ ├── file_config.txt # Additional config parameters
│ └── Your_CV.pdf # Your CV goes here (PDF)
├── .github/
│ └── workflows/
│ └── snapplai.yml # GitHub Actions workflow (scheduled + manual)
├── Dockerfile # Run anywhere with Docker
├── .env # API keys and SMTP credentials (git-ignored)
├── example_env.txt # Template for .env variables
├── requirements.txt # Dependencies
├── LICENSE # MIT
└── README.md
Multi-country scraping— search across 2+ countries in a single run (custom feature, not supported by python-jobspy out of the box)** Excel/DB deduplication**— persistent storage to compare runs and filter out already-seen listings, so you never score the same job twice** Scoring calibration**— benchmark AI scores against known good/bad matches to improve match quality** Output redesign**— better visual formatting for the email report (job cards, readability, direct links)
Contributions are welcome — bug fixes, new features, or docs improvements.
Issues— Report bugs or suggest features** Pull Requests**— Fork, build, submit
MIT — see LICENSE