Skip to content

italomlp/awake-clock

Repository files navigation

Awake Clock ⏰

Stay awake with a minimalist, full-screen digital clock. Perfect for using your phone or tablet as a desk clock without it dimming or turning off.

Features

  • Keep Awake: Automatically prevents your device's screen from sleeping while the app is active.
  • Minimalist Design: A clean, distraction-free interface focusing on time and date.
  • Dark & Light Modes: Toggle between themes to suit your environment.
  • Portrait & Landscape: Supports both orientations with responsive layouts.
  • Full Screen: Hides the status bar for a true clock experience.
  • Localization: Automatically detects and uses your local date and time formats.

Tech Stack

  • React Native & Expo
  • Expo Router for navigation
  • TypeScript
  • Day.js for date manipulation
  • Expo Keep Awake for screen management
  • Expo Screen Orientation for layout control

Getting Started

Prerequisites

  • Node.js (LTS)
  • npm or yarn
  • Expo Go app on your mobile device (optional, for testing)

Installation

  1. Clone the repository:

    git clone https://github.com/italomlp/awake-clock.git
    cd awake-clock
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run start
  4. Open the app:

    • Scan the QR code with the Expo Go app (Android/iOS).
    • Press i to open in the iOS simulator.
    • Press a to open in the Android emulator.

Scripts

  • npm run start: Starts the Expo development server.
  • npm run ios: Runs the app on iOS simulator.
  • npm run android: Runs the app on Android emulator.
  • npm run web: Runs the app in the web browser.

License

This project is private.

About

An app to show clock keeping screen awake, with dark and light modes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors