Do you know when we will all perish? Do you wanna know? Find out when the next Armageddon will be!
How much time do we have left… until the next end of the world?
A full-stack web application that visualizes the time between predicted "end of the world" events — with a live countdown, dynamic progress tracking, and historical navigation.
The app calculates:
- ⏳ Time remaining until the next predicted apocalypse
- 📊 Progress between the previous and next "end of the world"
- 📜 Historical and future events with descriptions
It answers one question: Where are we right now between two doomsdays?
- HTML5 + CSS (Foundation)
- Vanilla JavaScript
- Particles.js (background animation)
- Node.js
- Express.js
- MySQL
- Node.js App environment
Client (Browser)
↓
Express Server (Node.js)
↓
MySQL Database
/→ serves frontend (static files)/api/doomsdays→ returns events from DB- frontend fetches → calculates → renders UI
endingdays/
├── server.js
├── package.json
├── public/
│ ├── index.html
│ ├── js/
│ │ └── main.js
│ ├── assets/
│ ├── img/
│ └── fonts/
- ⏱️ Real-time countdown timer
- 📊 Dynamic progress bar between events
- 🎨 Color changes based on time
- 🔄 Navigation between past & future doomsdays
- 🌌 Animated particle background
- 🧠 Data-driven (MySQL API)
Progress calculation:
progress = (now - previous) / (next - previous)
- Returns value between
0and1 - Converted to percentage for UI
git clone https://github.com/yourusername/ourendingdays.git
cd endingdays
npm installCreate .env:
DB_HOST=...
DB_PORT=...
DB_USER=...
DB_PASSWORD=...
DB_NAME=...
PORT=3000
Run:
node server.js- Large future years (e.g. 22000000000) require special handling (JavaScript Date limits)
- Designed to be extended with admin features or APIs
- 🛠 Admin panel for adding events
- 🌍 External API integration (e.g. NASA, predictions)
- 📱 Mobile optimization
- 🎬 Smooth animations & transitions
Pavlo Mospan(c) 2017. Updated 2026
- 💼 Data Scientist / AI Engineer
- 🌍 Augsburg, Germany
If you like this project:
- ⭐️ Star the repo
- 🍴 Fork it
- 🧠 Share ideas
Time is running…