Deep Web Scraper is an advanced, local-first Open Source Intelligence (OSINT) application engineered specifically for accessing and analyzing data from the Dark Web. Built for cybersecurity researchers, threat intelligence analysts, and privacy advocates, it seamlessly bridges the gap between secure Tor network scraping and cutting-edge Large Language Models (LLMs).
By routing searches entirely through the local system's Tor proxy, Deep Web Scraper guarantees absolute operational security while preventing the leakage of search intents. It features a stunning, cyber-themed React dashboard for issuing trace commands, alongside a highly secure Admin Panel for user and audit log management.
- Tor Network Integration: Scrape
.oniondomains securely via local SOCKS5 proxy routing. - LLM-Powered Analysis: Connects with OpenAI, Anthropic, Gemini, Groq, and Ollama to automatically ingest, summarize, and extract actionable intelligence from unstructured dark web HTML.
- Local-First Architecture: 100% of your data stays on your machine. No cloud databases, no telemetry, and zero third-party tracking.
- Secure Admin Panel: Built-in SQLite database with hashed credentials, allowing administrators to audit historical search logs and purge user data.
- Cyberpunk UI/UX: An immersive, highly-responsive terminal aesthetic built with React and Vite.
- Frontend: React (v18.2.0), Vite (v5.0.0), Lucide Icons (v0.294.0)
- Backend: FastAPI (v0.136.1), Uvicorn (v0.46.0)
- AI & Logic: LangChain (v1.3.2), OpenAI SDK (v2.33.0)
- Scraping: BeautifulSoup4 (v4.14.3), Requests (v2.33.1), PySocks (v1.7.1)
- Database: SQLite (Native Python 3)
Here is a glimpse of the Scraper UI in action:
Important
Before running the application, make sure you have the following installed on your machine:
- Python 3.8+
- Tor Service: Required to access
.onionlinks.- Windows: Download the Tor Expert Bundle or keep the Tor Browser running in the background.
- macOS:
brew install torand runbrew services start tor - Linux:
sudo apt install torand runsudo systemctl start tor
The application relies on API keys to communicate with your preferred AI models.
Note
- Locate the
.env.examplefile in the root directory. - Rename the file to
.env(or create a copy named.env). - Open the
.envfile and add your API keys.
You do not need all of them. The application will dynamically enable only the models for which you have provided an API key.
Tip
To install the required dependencies, run the following command in your terminal:
pip install -r requirements.txtTip
For Windows users, simply double-click the included batch file:
start_scraper.batThis will automatically launch the backend server on port 8501 and open the application in your default web browser.
Alternatively, you can run it manually via terminal:
python -m uvicorn api:app --host 0.0.0.0 --port 8501Upon first launch, the database (storage.db) is automatically created with a default administrator account.
- Admin Username:
admin - Admin Password:
123
Note: It is highly recommended that you change this password if you plan to expose this application to any external network. To change it, delete
storage.db, addADMIN_PASSWORD=your_new_passwordto your.envfile, and restart the application.
- Login/Registration: Users can create basic accounts to save their search queries and histories. The admin account provides oversight over all instances.
- LLM Selection: From the main dashboard, use the dropdown menu to select your desired AI model. Only models configured in your
.envfile will be available. - Dark Web Scraping: Enter search queries. The application will route the request through Tor, scrape dark web links, and feed the data to your selected LLM to generate an intelligence report.
- Admin Panel: Log in as
adminto access the Admin Panel. From here, you can oversee all users, review global search histories, scrub data, and view user feedback.
This project is open-source and licensed under the GNU General Public License v3.0 (GPLv3). You are free to use, modify, and distribute this software, provided that any modifications or derivative works are also distributed under the same open-source GPLv3 license.



