CyberHub is a cutting-edge cybersecurity training platform with a stunning cyberpunk terminal aesthetic. It features real-time authentication, interactive hacking labs, security tools, and progress trackingโall powered by a Cloudflare Workers backend.
- Cyberpunk Terminal Aesthetic with Matrix-style background
- Custom Neon Cursor for immersive experience
- Glitch Effects on titles and headings
- Animated Terminal Demo showing live hacking simulation
- Floating UI Cards with depth and motion
- Distinctive Typography: Orbitron (display), Rajdhani (body), JetBrains Mono (code)
- User registration with email validation
- Secure login with JWT tokens
- Session management (30-minute timeout)
- Password strength indicator
- Remember me functionality
- Automatic logout on inactivity
- Penetration Testing Mastery (Advanced - 120 hours)
- Cybersecurity Fundamentals (Beginner - 60 hours)
- Network Security & VPN (Intermediate - 80 hours)
- Linux System Administration (Intermediate - 70 hours)
- Web Application Security (Advanced - 90 hours)
- AI Security & Adversarial ML (Coming Soon)
Each course includes:
- Difficulty level indicators
- Technology stack tags
- Module count and lab count
- Estimated completion time
- Web Server Exploitation (Difficulty: 3/5)
- SQL Injection Mastery (Difficulty: 4/5)
- Wireless Network Hacking (Difficulty: 5/5)
Features:
- Real-time active user counts
- Completion statistics
- Live/Available status indicators
- Difficulty rating system
-
IP Intelligence
- Geolocation lookup
- ISP information
- VPN detection
-
Password Analyzer
- Real-time strength calculation
- Entropy measurement
- Crack time estimation
-
VPN Tunnel Visualizer
- Interactive encryption visualization
- Step-by-step VPN process explanation
-
Hash Generator
- SHA-256 and SHA-512 support
- MD5 (demonstration)
- Instant hash generation
-
Port Scanner
- Common port detection
- Service identification
- Demo implementation
-
Email Header Analyzer (Coming Soon)
- Top 5 hackers ranking
- Points system
- Badges and achievements
- Filter by: All Time, This Month, This Week
- User stats: Labs completed, Certificates earned
- Course completion tracking
- Module-by-module progress
- Visual progress bars
- Export progress data
- Achievement system
- Live Stats Bar: Active users, uptime, daily certifications
- Smooth Scroll Navigation
- Responsive Design (Mobile, Tablet, Desktop)
- Toast Notifications for user feedback
- Loading Overlays for async operations
- Matrix Rain Background for atmosphere
- Terminal Preloader with boot sequence
- Floating Elements with depth effect
Backend URL: https://cyber-hub.dhimanparas605.workers.dev
// Authentication
POST /api/register
POST /api/login
// Progress Tracking
GET /api/progress (requires auth)
POST /api/progress (requires auth)
// Tools
GET /api/tools/ipRegister:
POST /api/register
{
"username": "hacker123",
"email": "hacker@example.com",
"password": "SecurePass123!"
}Login:
POST /api/login
{
"username": "hacker123",
"password": "SecurePass123!"
}Get Progress:
GET /api/progress
Headers: {
"Authorization": "Bearer <token>"
}- Neon Cyan:
#00f3ff- Primary accent - Cyber Purple:
#9d00ff- Secondary accent - Neon Green:
#39ff14- Success/Active states - Dark Background:
#0a0e27- Primary background - Card Background:
#151a30- Card/Container background
- Display Font: Orbitron (900 weight) - Headers and titles
- Body Font: Rajdhani (400-700) - Main content
- Monospace: JetBrains Mono - Code, terminals, technical content
- Neon Glow:
box-shadow: 0 0 20px rgba(0, 243, 255, 0.5) - Glitch Animation: For important titles
- Pulse Animation: For active indicators
- Float Animation: For floating cards
- Typing Effect: For terminal demo
- Desktop: 1024px and above
- Tablet: 768px - 1023px
- Mobile: Below 768px
project/
โโโ index.html # Main HTML file
โโโ styles.css # All CSS styling
โโโ script.js # JavaScript functionality
...Mores!!!
Option 1: Static Hosting
- Upload all three files to any static host
- Examples: Netlify, Vercel, GitHub Pages, Cloudflare Pages
Option 2: Local Testing
- Open
index.htmlin a modern browser - Use Live Server extension in VS Code for auto-reload
The backend URL is already configured in script.js:
const API_BASE = 'https://cyber-hub.dhimanparas605.workers.dev';To use a different backend, simply update this constant.
All dependencies are loaded from CDN:
- Font Awesome 6.5.0 (icons)
- Google Fonts (Orbitron, Rajdhani, JetBrains Mono)
No build process or npm installation required!
-
Register an Account
- Click "REGISTER" button
- Fill in username, email, password
- Password strength indicator guides you
- Accept terms and create account
-
Browse Courses
- View available courses
- Check difficulty levels
- See technology stacks
- Start learning with "START COURSE"
-
Launch Labs
- Navigate to "LIVE LABS" section
- Choose difficulty level
- See active users count
- Launch interactive lab environment
-
Use Security Tools
- Go to "HACKER TOOLKIT" section
- Try IP Intelligence
- Test password strength
- Visualize VPN encryption
- Generate cryptographic hashes
- Scan ports (demo)
-
Track Progress
- View your dashboard after logging in
- See completed courses
- Check earned certifications
- Export progress data
The platform is ready to integrate with your backend. Simply ensure the backend implements these endpoints:
POST /api/register- User registrationPOST /api/login- User authenticationGET /api/progress- Fetch user progressPOST /api/progress- Update user progressGET /api/tools/ip- IP lookup service
Edit CSS variables in styles.css:
:root {
--neon-cyan: #00f3ff; /* Primary accent */
--cyber-purple: #9d00ff; /* Secondary accent */
--neon-green: #39ff14; /* Success color */
--bg-primary: #0a0e27; /* Background */
}Edit the course grid in index.html:
<div class="course-card" data-course="your-course">
<div class="course-header">
<div class="course-icon">
<i class="fas fa-your-icon"></i>
</div>
<div class="course-level">LEVEL</div>
</div>
<h3>YOUR COURSE NAME</h3>
<p>Description...</p>
<!-- Add meta, tech tags, button -->
</div>Edit the commands array in script.js:
const commands = [
{ text: '$ your command here...', delay: 500 },
// Add more commands
];The platform features a custom cursor that follows the mouse and changes on click. Disable in CSS if needed.
Animated matrix rain effect in the background. Adjust opacity in CSS:
.matrix-bg {
opacity: 0.15; /* Adjust visibility */
}- 30-minute inactivity timeout
- Auto-refresh on activity
- Secure token storage
- Minimum 8 characters
- Strength calculation
- Real-time feedback
- Visual strength indicator
- Page Load: < 2 seconds
- Initial Paint: < 1 second
- Time to Interactive: < 3 seconds
- Lighthouse Score: 90+ (Performance)
- JWT-based authentication
- Session timeout protection
- XSS prevention
- CSRF protection ready
- Secure password hashing (backend)
- Input validation
- API request timeout
- Error handling
- Port Scanner: Demo only (browser limitations)
- Email Header Analyzer: Coming soon
- MD5 Hashing: Requires external library
- Mobile Menu: Simplified version
- Offline Mode: Requires service worker
- Real-time chat system
- Live code editor for labs
- Certification system
- Video course content
- CTF competitions
- Team collaboration
- API documentation viewer
- Dark/Light theme toggle
- Multi-language support
- Achievement badges
- Skill trees
- Mentor system
This platform is ready for customization and enhancement. Feel free to:
- Add new courses
- Create additional labs
- Implement new tools
- Enhance UI/UX
- Optimize performance
- Add features
This project is provided as-is for educational purposes.
- Best Browser: Chrome, Firefox, Edge (latest versions)
- Screen Resolution: 1920x1080 or higher for best experience
- Network: Stable internet connection for API calls
- Backend: Ensure Cloudflare Worker is deployed and active
- Testing: Use browser DevTools to monitor API requests
- Design: Cyberpunk/Terminal aesthetic
- Icons: Font Awesome 6.5.0
- Fonts: Google Fonts (Orbitron, Rajdhani, JetBrains Mono)
- Backend: Cloudflare Workers
- Frontend: Pure HTML/CSS/JavaScript (No frameworks!)
For issues or questions:
- Check browser console for errors
- Verify backend is running
- Check network requests in DevTools
- Ensure all files are properly uploaded
Made with ๐ for the cybersecurity community
Train like elite hackers. Master cybersecurity. Join the revolution.
๐ STAY SECURE. STAY ELITE. ๐