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.
View current weather information directly from your dashboard.
Manage your schedule, events, and important dates in one place.
Create and manage personal notes, ideas, reminders, and important information.
Organize your daily tasks with:
- Task creation
- Priority levels
- Completion tracking
- Productivity overview
Save your favorite links and quickly access frequently used websites directly from your dashboard.
Track your habits and monitor your consistency over time.
Features include:
- Habit creation
- Daily completion tracking
- Progress monitoring
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?
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
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.
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.
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.
Before running LifeOS, make sure you have:
- Node.js 20+
- npm or pnpm
- PostgreSQL database
- OpenRouter API key
Clone the repository:
git clone https://github.com/AlirezaRashnoo/life-os.gitGo to the project directory:
cd life-osInstall dependencies:
npm installLifeOS 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=""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.
A secret key used by Auth.js for authentication and session security.
You can generate a secure secret with:
openssl rand -base64 32Then add the generated value to your .env file:
AUTH_SECRET="your_generated_secret"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:
Then add it to your .env file:
OPENROUTER_API_KEY="your_openrouter_api_key"Important: Never commit your
.envfile to GitHub or share your API keys, database credentials, or authentication secrets publicly.
After configuring your environment variables, run the Prisma migrations:
npx prisma migrate devStart the development server:
npm run devThen open:
http://localhost:3000
LifeOS is built with:
- Next.js
- React
- TypeScript
- Tailwind CSS
- Prisma ORM
- PostgreSQL
- OpenRouter AI API
- Zod
- Weather dashboard
- Calendar
- Notes management
- Todo management
- Bookmark management
- Habit tracking
- User authentication
- AI Chat assistant
- AI Weekly Review
- AI daily planning
- Long-term AI memory
- Smart task prioritization
- Voice assistant
- Advanced productivity analytics
- More AI-powered automation
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.
LifeOS is open-source software licensed under the MIT License.
Built with β€οΈ by Alireza Rashnoo
LifeOS is an attempt to create a simpler and smarter digital workspace where productivity tools and AI work together.