- Malware Detection - Identify malicious websites
- Phishing Protection - Detect deceptive sites
- Threat Analysis - Real-time security checks powered by Google Safe Browsing API
- Website Screenshots - Capture any website in real-time
- URL Expansion - Expand shortened links and track redirections
- Redirection Detection - Track and display URL redirects
- Proxified Access - Anonymous browsing through proxy
Check out the live demo: https://prateek.is-a.dev/SaferWeb/
Before you begin, ensure you have the following installed:
- Node.js (v20.0.0 or higher) - Download
- npm or yarn package manager
- Google Safe Browsing API Key - Get API Key
git clone https://github.com/prateek-chaubey/SaferWeb.git
cd SaferWebnpm installCreate a .env file in the root directory:
SAFE_BROWSING_API_KEY=your_google_safe_browsing_api_key_here
PORT=3000Note
Visit Google Safe Browsing API to obtain your free API key.
Development Mode (with auto-reload):
npm run devProduction Mode:
npm startOpen your browser and navigate to:
http://localhost:3000
1. Create a Render Account
- Visit Render.com and sign up
2. Create a New Web Service
- Click "New +" → "Web Service"
- Connect your GitHub repository
3. Configure Build Settings
| Setting | Value |
|---|---|
| Name | SaferWeb |
| Environment | Node |
| Build Command | npm install |
| Start Command | npm start |
| Plan | Free |
4. Add Environment Variables
Go to Environment tab and add:
SAFE_BROWSING_API_KEY = your_google_safe_browsing_api_key
5. Deploy
- Click "Create Web Service"
- Wait for deployment to complete (3-5 minutes)
- Your app will be live at
https://your-app-name.onrender.com
GET /safety?url=https://example.comResponse:
[
"https://example.com",
{
"matches": [
{
"threatType": "MALWARE",
"platformType": "ANY_PLATFORM",
"threat": {
"url": "https://example.com"
}
}
]
}
]GET /screenshot?page=https://example.com&fullpage=trueParameters:
page(required) - URL to capturefullpage(optional) - Capture full page (true/false)
Response: PNG image
GET /proxy?url=https://example.comResponse: Proxified website content

