ClickShield is a modern, user-friendly web application that helps users identify potentially malicious websites and phishing attempts. Built with React and TypeScript, it leverages Google's Safe Browsing API to provide real-time threat analysis and comprehensive security reports.
Real-time Threat Detection: Instant analysis using Google's Safe Browsing API
Comprehensive Reports: Detailed security analysis with threat intelligence
Scan History: Track and review previous security scans
SSL Verification: Check website certificate validity
PDF Reports: Export professional security reports
Dark Mode: Modern UI with dark/light theme support
Lightning Fast: Instant results with optimized performance
Responsive Design: Works perfectly on all devices
Accessibility: WCAG compliant with screen reader support
React 18 - Modern React with hooks and concurrent features
TypeScript - Type-safe JavaScript development
Vite - Fast build tool and development server
Tailwind CSS - Utility-first CSS framework
Framer Motion - Smooth animations and transitions
Node.js - JavaScript runtime
Express.js - Web application framework
Google Safe Browsing API - Threat intelligence
Before you begin, ensure you have the following installed:
git clone https://github.com/tbhvishal/ClickShield.git
cd ClickShield
npm start
This will install all dependencies, build the project, and start both frontend and backend servers for local development.
- Install all dependencies (in CI/CD or cloud build step):
npm run install:all
- Build the project for production:
npm run build
- This builds the frontend (Vite) to
frontend/dist/
and the backend (TypeScript) tobackend/dist/
.
- Serve the built frontend and backend:
- Serve
frontend/dist/
as static files using your cloud provider's static hosting solution. - Run the backend from
backend/dist/
as a Node.js server or deploy as serverless functions, depending on your cloud provider's capabilities.
Do not use npm start
for production or cloud deployment.
npm start
is for local development only.- Always use
npm run build
for production builds.
- Visit Google Cloud Console
- Create a new project or select existing one
- Enable the Safe Browsing API
- Create credentials (API Key)
- Add your API key to the root
.env
file:GOOGLE_SAFE_BROWSING_API_KEY=your_api_key_here
Open your browser and navigate to
http://localhost:5173
Enter a URL in the input field
Click "Scan Website" to analyze
Review results and security recommendations
URL Submission: User enters a website URL
API Query: Backend queries Google Safe Browsing API
Analysis: Advanced threat analysis and classification
Report Generation: Comprehensive security report
PDF Export: Optional professional PDF report
For API implementation details (endpoints, request/response shapes and error handling), see backend/src/api/checkUrl.ts
.
We welcome contributions! Please see our Contributing Guidelines for details.
-
git checkout -b feature/amazing-feature
git commit -m 'Add amazing feature'
git push origin feature/amazing-feature
Bug Reports: GitHub Issues
Feature Requests: GitHub Issues
If you find ClickShield helpful, please consider:
Following the developer: @tbhvishal)
Starring the repository
Sharing with others
Contributing to the project
This project is licensed under the MIT License - see the LICENSE file for details.
🛡️ Stay Safe Online with ClickShield 🛡️
Advanced threat detection for a safer internet experience