Skip to content

mafiefa02/kron

Repository files navigation

Kron

Kron is a modern desktop scheduling application built with Tauri, React, and Rust. It allows users to manage complex schedules with profiles, recurring events, and custom sound notifications.

🚀 Key Features

  • Profiles: Organize your schedules into different contexts (e.g., Work, Home, Vacation).
  • Advanced Scheduling: Support for one-time, daily, and weekly recurring events.
  • Instance Overrides: Cancel or reschedule specific instances of recurring events without affecting the entire series.
  • Custom Notifications: Associate schedules with custom audio files to be played upon trigger.
  • Background Scheduler: A lightweight Rust-based background process that ensures schedules trigger reliably with minimal resource usage.
  • Modern UI: A sleek, responsive interface built with React 19, Tailwind CSS 4, and Framer Motion.

🛠️ Tech Stack

Frontend

Backend

  • Framework: Tauri v2
  • Language: Rust
  • Database: SQLite (via tauri-plugin-sql)
  • Audio: Rodio for low-level audio playback.
  • Persistence: SQLx for migrations and background scheduler DB access.

📂 Project Structure

├── src/                # React Frontend
│   ├── features/       # Feature-based modules (Profiles, Schedules, Sounds)
│   ├── pages/          # Application views/routes
│   ├── shared/         # Reusable components, hooks, and utilities
│   └── models/         # Database models and repository patterns
├── src-tauri/          # Rust Backend
│   ├── src/
│   │   ├── main.rs     # Entry point
│   │   ├── lib.rs      # Tauri setup & plugin configuration
│   │   └── scheduler.rs# Background loop for triggering schedules
│   └── db/migrations/  # SQL migration files
└── resources/          # Static assets and default sounds

🛠️ Development

Prerequisites

Setup & Run

  1. Install dependencies:
    pnpm install
  2. Run the app in development mode:
    pnpm tauri dev

Build

To build the production application:

pnpm tauri build

📝 License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published