A beautifully designed countdown timer with millisecond precision that can be shared via URL or QR code.
✨ Millisecond Precision - Displays countdown with days, hours, minutes, seconds, and milliseconds
🎨 Modern Design - Clean, responsive interface with gradient colors and smooth animations
🔗 URL Sharing - Automatically start timers from URL parameters
👁️ View-Only Mode - Hide all editing controls for clean, distraction-free display
📱 QR Code Generation - Generate QR codes for easy mobile sharing
🔗 Short URLs - Generate TinyURL short links for easy sharing
🌐 Responsive - Works perfectly on desktop, tablet, and mobile devices
Visit the live application: Named Countdown Timer
- Enter a name for your timer (e.g., "New Year 2027")
- Select the target date and time
- Click "Start Timer" to begin the countdown
- The timer will update every 10 milliseconds for smooth animation
Once a timer is started, you can share it in multiple ways:
- Copy URL - Click "Copy" to copy the full URL with parameters
- Copy View-Only URL - Click "Copy" next to the view-only URL to share a clean, display-only version
- Generate Short URL - Click "Generate Short URL" to create a TinyURL
- Generate QR Code - Click "Generate QR Code" to create a scannable QR code
View-only mode provides a clean, distraction-free countdown display perfect for public displays, presentations, or embedding:
- Hides all editing controls (timer name input, date/time picker, buttons)
- Hides the share section
- Shows only the countdown timer and timer name
- Ideal for displaying on screens, in presentations, or sharing with viewers who shouldn't modify the timer
How to enable view-only mode:
- Toggle Button - Click the "👁️ View Only" button in the header (appears after starting a timer) to instantly switch modes. Click "✏️ Edit Mode" to return to normal mode.
- URL Parameter - Add
&viewOnly=trueto the URL - Share Section - Use the "View-Only URL" from the share section
The timer automatically starts when accessed with the following URL parameters:
name- The name of the timer (URL encoded)target- The target timestamp in millisecondsviewOnly- Set totrueto enable view-only mode (hides all editing controls)
Example:
https://basmulder03.github.io/named-countdown-timer/?name=New%20Year%202027&target=1798761600000
Example (View-Only Mode):
https://basmulder03.github.io/named-countdown-timer/?name=New%20Year%202027&target=1798761600000&viewOnly=true
- HTML5 - Semantic markup
- CSS3 - Modern styling with gradients, animations, and responsive design
- JavaScript (ES6+) - Timer logic and API integrations
- TinyURL API - For generating short URLs
- QR Server API - For generating QR codes
To run the project locally:
-
Clone the repository:
git clone https://github.com/basmulder03/named-countdown-timer.git cd named-countdown-timer -
Start a local web server:
python3 -m http.server 8000 # or npx serve -
Open your browser and navigate to:
http://localhost:8000
The application works on all modern browsers:
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.