Skip to content

Latest commit

Β 

History

History
109 lines (72 loc) Β· 2.75 KB

File metadata and controls

109 lines (72 loc) Β· 2.75 KB

🧠 LifeOS Core

The open-source, self-hosted implementation of the LifeOS Protocol.

LifeOS Core is your personal life-data operating system β€” a local-first, extensible app that stores, links, and visualizes your life's moments using the LifeOS Protocol.


πŸš€ Features

  • βœ… Implements the LifeOS Protocol

  • πŸ” 100% local storage (JSON, SQLite, or file-based)

  • πŸ”Œ Manual plugin system (CRON, CLI, scripts)

  • πŸ“‚ Supports import/export of life events

  • πŸ—ƒοΈ Visual timeline and event viewer

  • πŸ› οΈ Plugin SDK for developers (JS & Python)

  • πŸ” Basic semantic search (tags, time, type)

  • 🧠 Developer Mode (inspect events, test schemas)


πŸ“¦ Use Cases

  • Track your life offline and securely
  • Build your own plugins (Spotify, calendar, mood tracker)
  • Link events using life:// URIs in your notes
  • Run AI tools or GPTs on top of your life graph
  • Integrate with Obsidian, Notion, or other journaling tools via plugins

πŸ“‚ Folder Structure

lifeos-core/
β”œβ”€β”€ public/            # Static assets (if any)
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ server/        # API and event processing
β”‚   β”œβ”€β”€ ui/            # Timeline viewer and event management
β”‚   β”œβ”€β”€ plugins/       # Manual plugins (CLI or daemon)
β”‚   β”œβ”€β”€ lib/           # LifeEvent helpers, URI resolver
β”œβ”€β”€ schema/            # JSON schemas and protocol adapters
β”œβ”€β”€ .env               # Config (paths, ports, plugin dirs)

πŸ§ͺ Developer Quick Start

git clone https://github.com/yourname/lifeos-core.git
cd lifeos-core
npm install
npm run dev

Your self-hosted LifeOS will be available at http://localhost:3456


πŸ”Œ Plugin System (Manual)

Use the open Plugin SDK to build and run your own plugins manually:

node plugins/spotify-plugin/index.js --token $SPOTIFY_TOKEN

Or set up scheduled runs with:

crontab -e
# Run plugin every hour
0 * * * * node /path/to/lifeos-core/plugins/calendar-sync.js

πŸ” Privacy & Philosophy

LifeOS Core is local-first, open-source, and fully transparent.

  • Your data stays on your machine
  • You own your life graph
  • All plugins and processing run in your environment

We believe in empowering developers, tinkerers, and privacy-conscious users to build a life stack on their own terms.


πŸ“š Learn More

  • πŸ“„ LifeOS Protocol
  • πŸ”Œ Plugin SDK Docs (coming soon)
  • 🧠 Developer Notes + Design Decisions

πŸ’‘ Want More?

  • For auto-sync, premium dashboards, and GPT assistant β†’ check out LifeOS Premium (coming soon)

βš–οΈ License

Apache 2.0 β€” freedom to build, fork, and run your life.