Skip to content

A sleek digital clock application featuring smooth flip animations and frosted glass UI, built with Tauri and SvelteKit. Cross-platform support for desktop and Android with modern responsive design.

Notifications You must be signed in to change notification settings

ifsvivek/FlipClock

Repository files navigation

Flip Clock Desktop & Mobile App

A beautiful clock application with smooth flip animations built using modern web technologies. The app features a sleek design with a frosted glass effect and responsive layout. Available for desktop and Android platforms.

Warning

This project is still a work in progress and may contain bugs or incomplete features.
I am still learning how to use Tauri, so the codebase may not be optimal.

Watch the video

Features

  • Real-time digital clock display
  • Smooth card flip animations for each digit
  • Responsive design that adapts to screen size
  • Modern frosted glass UI with gradient background
  • Cross-platform support (Desktop & Android)

Tech Stack

  • Tauri - Lightweight framework for building cross-platform applications
  • SvelteKit - Full-stack JavaScript framework
  • TailwindCSS - Utility-first CSS framework

Development Setup

Desktop

  1. Install dependencies:
npm install
  1. Run in development mode:
npm run tauri dev
  1. Build for production:
npm run tauri build

Android

Requirements:

  • Android Studio
  • Android SDK (minimum SDK 24)
  • Rust Android targets
  1. Add Android targets to Rust:
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
  1. Open the Android project in android

  2. Build using Android Studio or run:

./gradlew assembleDebug
  1. The APK will be generated in src-tauri/gen/android/app/build/outputs/apk/

Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run check - Type-check the codebase
  • npm run tauri - Run Tauri commands

Contributing

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Submit a pull request

Acknowledgments

About

A sleek digital clock application featuring smooth flip animations and frosted glass UI, built with Tauri and SvelteKit. Cross-platform support for desktop and Android with modern responsive design.

Topics

Resources

Stars

Watchers

Forks