A beautiful web-based word clock that displays time using words instead of numbers. The clock is available in German (primary) and Swedish languages.
Qlock is a digital word clock implementation that represents time by highlighting words in a grid of letters. Instead of showing "3:25", it displays "ES IST FÜNF VOR HALB VIER" (German) or equivalent phrases in Swedish.
- Multi-language support: German (primary) and Swedish
- Real-time updates: Clock updates every second with live time display
- Mobile-responsive design: Optimized for various screen sizes
- Visual minute indicators: Corner dots show individual minutes within 5-minute intervals
- Clean typography: Uses Helvetica font for clear readability
- Color-coded display: Active words are highlighted in white against a red background
qlock/
├── index.html # German version (primary)
├── index_se.html # Swedish version
└── img/ # Favicon and app icons
├── android-chrome-192x192.png
├── android-chrome-512x512.png
├── apple-touch-icon.png
├── browserconfig.xml
├── favicon-16x16.png
├── favicon-32x32.png
├── favicon.ico
├── mstile-150x150.png
├── safari-pinned-tab.svg
└── site.webmanifest
Both versions use letter grids containing all possible words needed to display time:
E S K I S T A F Ü N F
Z E H N Z W A N Z I G
D R E I V I E R T E L
V O R F U N K N A C H
H A L B A E L F Ü N F
E I N S X A M Z W E I
D R E I P M J V I E R
S E C H S N L A C H T
S I E B E N Z W Ö L F
Z E H N E U N K U H R
K L O C K A N T Ä R K
F E M Y I S T I O N I
K V A R T Q I E N Z O
T J U G O L I V I P M
Ö V E R K A M H A L V
E T T U S V L X T V Å
T R E M Y K Y F Y R A
F E M S F L O R S E X
S J U Ä T T A I N I O
T I O E L V A T O L V
- Current time extraction: Gets hours and minutes from system time
- 5-minute intervals: Minutes are rounded to nearest 5-minute interval
- Hour adjustment: Hours are incremented for times past the half-hour
- Word selection: Appropriate words are selected based on the time
- Grid highlighting: Selected words are highlighted in the letter grid
- Exact hours: "ES IST [hour] UHR"
- 5 minutes past: "ES IST FÜNF NACH [hour]"
- Quarter past: "ES IST VIERTEL NACH [hour]"
- Half past: "ES IST HALB [next hour]"
- Quarter to: "ES IST VIERTEL VOR [next hour]"
- Exact hours: "KLOCKAN ÄR [hour]"
- 5 minutes past: "KLOCKAN ÄR FEM ÖVER [hour]"
- Quarter past: "KLOCKAN ÄR KVART ÖVER [hour]"
- Half past: "KLOCKAN ÄR HALV [next hour]"
- Quarter to: "KLOCKAN ÄR KVART I [next hour]"
- Background: Red (#e63946)
- Inactive text: Light red (#f55 or #f66)
- Active text: White (#fff)
- Theme color: White (#ffffff) for PWA
- Centered display: Clock is centered both horizontally and vertically
- Grid format: Letters arranged in a table format
- Corner indicators: Four corner dots indicate individual minutes (0-4)
- Responsive sizing: German version uses larger font (28px) for better visibility
The four corners show individual minutes within each 5-minute interval:
- Top-left: Minute 1
- Top-right: Minute 2
- Bottom-right: Minute 3
- Bottom-left: Minute 4
- Clone or download the project
- Open
index.html(German) orindex_se.html(Swedish) in a web browser - The clock will display the current time
- Upload all files to a web server
- Access via browser - the app includes PWA manifest for mobile installation
- Can be added to home screen on mobile devices
- Modern browsers with JavaScript enabled
- Mobile-optimized with viewport meta tags
- PWA features for offline usage
- Use
index.htmlfor German (primary) - Use
index_se.htmlfor Swedish - Main
index.htmldefaults to German with real-time updates
- German version (
index.html): Updates every 1000ms (real-time) - Swedish version (
index_se.html): Static time display (interval commented out)
Main function that:
- Gets current time
- Calculates which words to highlight
- Generates HTML for the clock display
- Returns formatted HTML string
transobject maps words to their grid positionsgridobject contains language-specific configurationsorderarray defines time expressions for each 5-minute interval
width,height: Grid dimensionsmap: Array tracking which grid positions to highlightmatrix: The letter grid as a string or arraytime,hour,minute5: Current time components
To add a new language:
- Create letter grid with all required time words
- Define word-to-position mapping
- Create time expression patterns
- Add language configuration to the grid object
This project appears to be a personal/educational word clock implementation. Check with the original author for specific licensing terms.