- 🎨 Dark Theme with red accents for a "doomsday" feel
- 🔄 Smooth Animations with flipping number effects
- 📌 Always on Top - Never lose track of your countdown
- 🖥️ Compact Mode - Minimize to a small, unobtrusive bar
- ⏱️ Real-time Updates - Updates every second
- 🖱️ Draggable - Move the window by clicking and dragging
- 📅 Easy Date Setting - Set any future date with a simple dialog
- Python 3.12.5
- CustomTkinter
- Pillow (PIL)
-
Clone the repository
git clone https://github.com/AnujJha88/DoomCounter.git cd DoomCounter -
Install dependencies
pip install -r requirements.txt
Or install them manually:
pip install customtkinter pillow
-
Run the application
python main.py
-
Set Your Doom Date
- Click "SET DOOM DATE"
- Enter date and time in format:
YYYY-MM-DD HH:MM:SS - Example:
2025-12-31 23:59:59
-
Minimize/Restore
- Click "MINIMIZE" to switch to compact mode
- Click "RESTORE" in compact mode to return to full view
-
Move the Window
- Click and drag anywhere on the window to move it
-
Close the Application
- Click the "X" button or press
ESC
- Click the "X" button or press
Create a standalone .exe file using PyInstaller:
# Install PyInstaller if you haven't already
pip install pyinstaller
# Build the executable
pyinstaller --onefile --windowed --icon=NONE --name "DoomCounter" main.py
# The executable will be in the 'dist' folderI also include a prebuilt executable for ease of access.
- Press
Win + Rto open the Run dialog - Type
shell:startupand pressEnter - Create a shortcut to your
DoomCounter.exein this folder
- Search for "Task Scheduler" in the Start menu
- In the right-hand "Actions" pane, click "Create Basic Task..."
- Follow the wizard to create a task that runs
DoomCounter.exeon startup
- Go to
System Settings>General>Login Items - Click the
+button and select theDoomCounterapp
-
Create a service file at
~/.config/systemd/user/doomcounter.service:[Unit] Description=Doom Counter Application After=graphical.target [Service] ExecStart=/path/to/DoomCounter Restart=always [Install] WantedBy=default.target
-
Enable and start the service:
systemctl --user enable --now doomcounter.service
-
Application doesn't start or crashes:
- Ensure all dependencies are installed
- Check that the executable has proper permissions
- Run from command line to see any error messages
-
Window is not always on top:
- Some window managers might override the 'always on top' setting
- Try running as administrator (Windows) or with sudo (Linux/macOS)
You can customize the appearance by modifying these variables in main.py:
# Colors
self.bg_color = "#1a1a1a" # Background color
self.fg_color = "#ff4d4d" # Main accent color (red)
self.text_color = "#ffffff" # Text color
self.accent_color = "#ff1a1a" # Secondary accent color (darker red)
self.button_bg = "#2b2b2b" # Button backgroundDoomCounter/
├── main.py # Main application code
├── requirements.txt # Python dependencies
├── README.md # This file
├── build/ # Temporary files created by PyInstaller
├── dist/ # Contains the compiled executable
└── screenshots/ # Screenshots and previews
└── preview.png
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your 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
Distributed under the MIT License. See LICENSE for more information.
Anuj Jha - @AnujJha571205 - aj472032@gmail.com
Project Link: https://github.com/AnujJha88/DoomCounter
- CustomTkinter - For the beautiful UI components
- Python - For being awesome
- [You] - For using this application!
