Skip to content
AlirezaRashnooPublic

About

A self-hosted personal workspace that keeps your daily tools in one place.

Resources

Stars

46 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

79 Commits

Folders and files

Repository files navigation

🏠 LifeOS

Your personal space for everyday tools powered by AI.

🌐 Live Demo: https://mylife-os-nine.vercel.app/

πŸ“¦ Repository: https://github.com/AlirezaRashnoo/life-os

LifeOS is an open-source personal productivity dashboard designed to bring essential daily tools into one simple and organized workspace.

Instead of switching between multiple applications for tasks, notes, calendar, habits, bookmarks, and productivity tracking, LifeOS provides a single place to manage everyday information.

With AI integration, LifeOS helps users understand their productivity, receive personalized insights, and make better decisions about their daily workflow.


✨ Features

🌀 Weather

View current weather information directly from your dashboard.


πŸ“… Calendar

Manage your schedule, events, and important dates in one place.


πŸ“ Notes

Create and manage personal notes, ideas, reminders, and important information.


βœ… Todo Management

Organize your daily tasks with:

  • Task creation
  • Priority levels
  • Completion tracking
  • Productivity overview

πŸ”— Bookmarks

Save your favorite links and quickly access frequently used websites directly from your dashboard.


πŸ”₯ Habit Tracker

Track your habits and monitor your consistency over time.

Features include:

  • Habit creation
  • Daily completion tracking
  • Progress monitoring

πŸ€– AI Assistant

AI is a core part of LifeOS and is designed to act as a personal productivity assistant.

The AI assistant can understand the user's productivity context, including:

  • Tasks
  • Habits
  • Events
  • Notes

It can then provide personalized answers, suggestions, and recommendations based on the user's current context.

For example:

What should I focus on this week?

Which tasks need my attention?

How can I improve my productivity?

πŸ“Š AI Weekly Review

LifeOS can generate an intelligent weekly review based on the user's real activity.

The AI analyzes:

  • Completed tasks
  • Pending tasks
  • Habits
  • Events
  • Notes

and provides:

  • Weekly summary
  • Achievements
  • Areas needing attention
  • Productivity insights
  • Recommendations for the next week

πŸ” Authentication

LifeOS includes a complete authentication system, allowing each user to have their own private workspace and personal data.

Users can create an account, sign in, and manage their personal productivity data securely.


πŸ“Έ Screenshots

Dashboard β€” Dark Mode

LifeOS Dashboard Dark Mode

Dashboard β€” Light Mode

LifeOS Dashboard Light Mode

Sign In

LifeOS Sign In

Habit Tracker

LifeOS Habit Tracker

AI Chat

LifeOS AI Chat


🎯 Why LifeOS?

People often use multiple applications every day:

  • Calendar applications
  • Todo managers
  • Notes apps
  • Weather websites
  • Bookmark managers
  • Productivity tools

LifeOS brings these essential tools together into one organized dashboard.

The goal is to create a simple digital workspace where users can manage their daily life, keep their information organized, and use AI to make smarter productivity decisions.

Simple. Fast. Intelligent.


🧩 Architecture

LifeOS is built as a modular dashboard application where each feature is separated into its own module.

The project follows a layered architecture:

UI
 ↓
Components
 ↓
API Routes
 ↓
Services
 ↓
Context Builders
 ↓
AI Layer
 ↓
Database

AI functionality is separated into dedicated services, context collectors, and prompt builders to keep the system maintainable and scalable.

This structure also makes it easier to add new productivity features and AI capabilities in the future.


πŸš€ Getting Started

Prerequisites

Before running LifeOS, make sure you have:

  • Node.js 20+
  • npm or pnpm
  • PostgreSQL database
  • OpenRouter API key

Installation

Clone the repository:

git clone https://github.com/AlirezaRashnoo/life-os.git

Go to the project directory:

cd life-os

Install dependencies:

npm install

πŸ” Environment Variables

LifeOS requires a few environment variables for the database, authentication, and AI features.

Create a .env file in the root of the project:

OPENROUTER_API_KEY=""
DATABASE_URL=""
AUTH_SECRET=""

DATABASE_URL

The connection string for your PostgreSQL database.

Example:

DATABASE_URL="postgresql://username:password@host:5432/database"

You can use a local PostgreSQL database or a hosted PostgreSQL provider such as Supabase or Neon.

AUTH_SECRET

A secret key used by Auth.js for authentication and session security.

You can generate a secure secret with:

openssl rand -base64 32

Then add the generated value to your .env file:

AUTH_SECRET="your_generated_secret"

OPENROUTER_API_KEY

The API key used by LifeOS to access AI models through OpenRouter.

This is required for AI features such as:

  • AI Assistant
  • AI Chat
  • AI Weekly Review

You can get an API key from:

https://openrouter.ai/

Then add it to your .env file:

OPENROUTER_API_KEY="your_openrouter_api_key"

Important: Never commit your .env file to GitHub or share your API keys, database credentials, or authentication secrets publicly.


πŸ—„οΈ Database Setup

After configuring your environment variables, run the Prisma migrations:

npx prisma migrate dev

▢️ Run the Development Server

Start the development server:

npm run dev

Then open:

http://localhost:3000

πŸ›  Tech Stack

LifeOS is built with:

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Prisma ORM
  • PostgreSQL
  • OpenRouter AI API
  • Zod

πŸ—Ί Roadmap

Completed

  • Weather dashboard
  • Calendar
  • Notes management
  • Todo management
  • Bookmark management
  • Habit tracking
  • User authentication
  • AI Chat assistant
  • AI Weekly Review

Future

  • AI daily planning
  • Long-term AI memory
  • Smart task prioritization
  • Voice assistant
  • Advanced productivity analytics
  • More AI-powered automation

🀝 Contributing

Contributions are welcome!

You can help improve LifeOS by:

  • Reporting bugs
  • Suggesting improvements
  • Improving documentation
  • Adding new features
  • Improving existing features

Feel free to open an issue or submit a pull request.


πŸ“œ License

LifeOS is open-source software licensed under the MIT License.


πŸ‘¨β€πŸ’» Developer

Built with ❀️ by Alireza Rashnoo

LifeOS is an attempt to create a simpler and smarter digital workspace where productivity tools and AI work together.

About

A self-hosted personal workspace that keeps your daily tools in one place.

Resources

Stars

46 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages