β³ Chronos 2.0 - Journey Through Time

An immersive, AI-powered history exploration platform that brings the past to life through interactive timelines, personalized experiences, and visual storytelling.
π¬ Live Demo
π https://history-chronos.netlify.app/
β¨ Features
π User Authentication & Personalization
- Google Sign-In Integration - Secure authentication via Firebase
- Guest Mode - Explore without creating an account
- Personalized Timelines - Generate custom historical timelines based on your birth year
- Interest-Based Filtering - Select topics that matter to you (Wars, Technology, Science, Art & Culture, etc.)
- Saved Journeys - Logged-in users can save and revisit their favorite historical discoveries
πΊοΈ Interactive World Map
- Continent-Based Exploration - Click on any region to discover its rich history
- Visual Region Coding - Color-coded continents for intuitive navigation
- Country-Specific Events - Dive deep into historical events by geographic location
π
"On This Day" Feature
- Daily Historical Events - Discover what happened on today's date throughout history
- Rich Event Cards - Each event includes year, title, description, and imagery
- Quick Navigation - Jump to any date to explore historical moments
π Historical Quotes Collection
- Curated Wisdom - Timeless quotes from historical figures
- One-Click Copy - Easily copy quotes to clipboard
- Social Sharing - Share inspiring quotes directly
- Beautiful Typography - Elegant presentation with quotation styling
π Smart Search & Discovery
- AI-Powered Search - Find any historical topic, person, or event
- Voice Search - Hands-free exploration using Web Speech API
- Featured Topics - Handpicked historical figures and events (Napoleon, WW2, Cleopatra, etc.)
- Time Travel Slider - Drag through eras from 500 BC to 2000 AD
π± Progressive Web App Features
- Responsive Design - Seamless experience across desktop, tablet, and mobile
- Fast Loading - Optimized assets and lazy loading
- Smooth Animations - Polished UI transitions and micro-interactions
π οΈ Tech Stack
Frontend
| Technology |
Purpose |
| HTML5 |
Semantic structure & accessibility |
| CSS3 |
Modern styling with Flexbox/Grid, animations |
| JavaScript (ES6+) |
Interactive functionality & SPA routing |
| Web Speech API |
Voice search capabilities |
Backend & Services
| Technology |
Purpose |
| Firebase Authentication |
Google Sign-In & user management |
| Firebase Firestore |
User data, saved timelines, preferences |
| Google Analytics |
User behavior tracking & insights |
Deployment & DevOps
| Technology |
Purpose |
| Netlify |
Continuous deployment & hosting |
| GitHub |
Version control & CI/CD pipeline |
ποΈ Architecture
Chronos 2.0/
βββ π assets/
β βββ images/ # Historical event images
β βββ icons/ # UI icons & logos
β βββ fonts/ # Custom typography
βββ π css/
β βββ main.css # Core styles
β βββ responsive.css # Mobile adaptations
β βββ animations.css # UI transitions
βββ π js/
β βββ app.js # Main application logic
β βββ auth.js # Firebase authentication
β βββ map.js # Interactive world map
β βββ timeline.js # Timeline generation
β βββ search.js # Search functionality
β βββ quotes.js # Quotes management
βββ π pages/
β βββ home.html
β βββ explore.html
β βββ map.html
β βββ quotes.html
β βββ timeline.html
βββ index.html
βββ README.md
Key Design Patterns
- Single Page Application (SPA) - Hash-based routing for seamless navigation
- Component-Based UI - Reusable card components across pages
- State Management - Centralized state for user preferences and auth
- Modular JavaScript - Separation of concerns for maintainability
π Getting Started
Prerequisites
- A modern web browser (Chrome, Firefox, Safari, Edge)
- Node.js (optional, for local development server)
Installation
Clone the repository
git clone https://github.com/yourusername/chronos-2.0.git
cd chronos-2.0
Set up Firebase
- Create a Firebase project at console.firebase.google.com
- Enable Authentication (Google Sign-In)
- Enable Firestore Database
- Copy your Firebase config and replace in
js/auth.js
Set up Google Analytics
- Create a GA4 property
- Add your tracking ID to the HTML files
Run locally
# Option 1: Simple HTTP server
python -m http.server 8000
# Option 2: Using Live Server (VS Code extension)
# Just click "Go Live"
Open in browser
http://localhost:8000
πΈ Screenshots
π Home Page
Hero section with search and featured events
πΊοΈ Interactive World Map
Explore history by geographic region
π Quotes Collection
Curated wisdom from historical figures
π
Personal Timeline Generator
Generate custom timelines based on your interests
π― Key Highlights
Performance
- β‘ Lighthouse Score: 90+ - Optimized for speed and performance
- πΌοΈ Lazy Loading - Images load only when needed
- π¦ Minified Assets - Compressed CSS and JavaScript
Accessibility
- βΏ WCAG 2.1 AA Compliant - Screen reader friendly
- β¨οΈ Keyboard Navigation - Full keyboard support
- π¨ High Contrast - Readable color combinations
Security
- π Firebase Auth - Secure authentication flow
- π‘οΈ Input Validation - Sanitized user inputs
- π HTTPS Only - Secure connections enforced
πΊοΈ Roadmap
Phase 1: Core Features β
- User Authentication
- Interactive World Map
- Timeline Generator
- Quotes Collection
- Search Functionality
Phase 2: Enhanced Experience π§
- AR Historical Landmarks
- Multi-language Support
- Dark/Light Theme Toggle
- Social Sharing Integration
- Push Notifications
Phase 3: Advanced Features π
- AI-Powered Recommendations
- User-Generated Content
- Historical Quiz Module
- Community Discussions
- Mobile App (React Native)
π Analytics & Insights
Track user engagement with built-in Google Analytics:
| Metric |
Tracking |
| Page Views |
Per-page traffic analysis |
| User Sessions |
Session duration & bounce rate |
| Feature Usage |
Most popular features |
| Search Queries |
What users are looking for |
| Geographic Data |
User locations worldwide |
π€ Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature)
- Commit your changes (
git commit -m 'Add some AmazingFeature')
- Push to the branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
Areas for Contribution
- π More historical events and data
- π¨ UI/UX improvements
- π Bug fixes
- π Documentation
- π Translations
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
π¬ Contact
Developer: [Arnav Mishra]

Built by an Indian with Sleepy eyesπ€
β Star this repo if you find it helpful!