[https://drive.google.com/file/d/1ICAN2cbRFHUA158VIkr-dBHVGW8HK9-z/view?usp=sharing]
The Project uses Groq AI which is free and open source. Not to be confused with Grok developed by X.ai
- Team Lead: Navaneeth V. Sankar - College of Engineering, Trivandrum
- Member 2: Aithel Christo - College of Engineering, Trivandrum
Unclock is a versatile clock that performs various unfunctions. It has a world clock, a stopwatch, a timer and an alarm all with a twist ;)
The hegemony of the standardized clock system. The entrapment of SI units, fixed locations and linear time progression must be overcome.
- World Clock - Ever wanted time from another place but felt too lazy to pick the place? We've got you covered. You just have to click Add Time. We'll pull random locations from around the world and give you the time from there.
- Stopwatch - A standard stopwatch. Except the units aren't standard. The time is displayed in handpicked(AI Generated on every restart) units of time.
- Timer - Runs just like any other timer. Except the real time weather from your locality slows or speeds it down to match your vibe. Rainy weather ensures slower clock speed while hotter weather makes it faster.
- Alarm - Plays an alarm sound as loud as possible. We've abstracted away the time setting for you. It plays if and when you click the button. No more snooze or stop buttons. Or any other buttons as a matter of fact
For Software:
- Python, JS, HTML, CSS
- Flask
- flask, pytz, groq, timezonefinder
- Open Weather Map, Groq AI
The app has been implemented using the flask python framework. The home page runs using app.py and is structured in index.html. The other features have been implemented as linked pages defined in the features folder. The world clock randomly picks a location, finds the nearest timezone and displays the time. The units.py file generates a new unit of time using Groq AI everytime the stopwatch is reset. The stopwatch runs by dividing the elapsed time by the new unit of time. The timer takes in the device location, obtains the last updated weather as shown in Open Weather Map. It then calculates a dilation factor based on the various prevailing weather conditions. This dilation factor directly slows or speeds up the timer based on the weather. The alarm simply uses a JavaScript trigger to play an alarm noise
pip install Flask groq pytz timezonefinder python-dotenv requests- Copy the
.env.examplefile to.env:cp .env.example .env
- Fill in the actual values in
.env. - Or obtain a groq API key of your own and set it up in units.py as shown. It is free and takes very little time.
os.environ["GROQ_API_KEY"] = "your_key_here"
python app.py (Open in localhost or port)
- home page
- world clock
- stopwatch
- VS CODE shot for proffesionalism
[https://drive.google.com/file/d/1ICAN2cbRFHUA158VIkr-dBHVGW8HK9-z/view?usp=sharing] The video displays all the features of the unclock app, except for alarm which requires sound.
- Navaneeth V. Sankar: Stopwatch, Design, AI
- Aithel Christo: World Clock, Timer, Flask Setup, Timezone and Weather integration
Made with ❤️ at TinkerHub Useless Projects



