{"id":45572482,"url":"https://github.com/lepuz-coder/opengnothia","last_synced_at":"2026-04-26T15:01:01.565Z","repository":{"id":339195772,"uuid":"1157773315","full_name":"Lepuz-coder/opengnothia","owner":"Lepuz-coder","description":"OpenGnothia is a privacy-focused desktop app that helps you explore your inner world through AI-assisted therapy sessions, journaling, and dream analysis. All your data stays on your device.","archived":false,"fork":false,"pushed_at":"2026-04-20T11:57:36.000Z","size":4356,"stargazers_count":20,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-20T13:49:46.735Z","etag":null,"topics":["ai","ai-assistant","artificial-intelligence","chatbot","claude-api","electron","mental-health","mental-health-support","open-source","privacy-first","pyschology","self-hosted","therapy","wellbeing","wellbeing-app"],"latest_commit_sha":null,"homepage":"https://opengnothia.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lepuz-coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-14T09:18:35.000Z","updated_at":"2026-04-20T11:57:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Lepuz-coder/opengnothia","commit_stats":null,"previous_names":["lepuz-coder/opengnothia"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Lepuz-coder/opengnothia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lepuz-coder%2Fopengnothia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lepuz-coder%2Fopengnothia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lepuz-coder%2Fopengnothia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lepuz-coder%2Fopengnothia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lepuz-coder","download_url":"https://codeload.github.com/Lepuz-coder/opengnothia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lepuz-coder%2Fopengnothia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32301330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-assistant","artificial-intelligence","chatbot","claude-api","electron","mental-health","mental-health-support","open-source","privacy-first","pyschology","self-hosted","therapy","wellbeing","wellbeing-app"],"created_at":"2026-02-23T08:23:51.244Z","updated_at":"2026-04-26T15:01:01.555Z","avatar_url":"https://github.com/Lepuz-coder.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"src/assets/logo.svg\" alt=\"OpenGnothia Logo\" width=\"120\" /\u003e\n  \u003ch1\u003eOpenGnothia\u003c/h1\u003e\n  \u003cp\u003e\u003cstrong\u003e\u003cem\u003e\"Gnôthi Seautón\" — Know Thyself\u003c/em\u003e\u003c/strong\u003e\u003c/p\u003e\n  \u003cp\u003eAn AI-powered, privacy-first self-therapy desktop application that helps you explore your inner world through therapy sessions, journaling, dream analysis, and more.\u003c/p\u003e\n\n  \u003cbr /\u003e\n\n  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n  [![Version](https://img.shields.io/badge/version-1.5.0-green.svg)](https://github.com/Lepuz-coder/opengnothia/releases)\n  [![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-lightgrey.svg)](#getting-started)\n  [![Made with Tauri](https://img.shields.io/badge/Made%20with-Tauri%202-FFC131?logo=tauri\u0026logoColor=white)](https://v2.tauri.app)\n  [![React](https://img.shields.io/badge/React-19-61DAFB?logo=react\u0026logoColor=white)](https://react.dev)\n  [![Rust](https://img.shields.io/badge/Rust-Backend-DEA584?logo=rust\u0026logoColor=white)](https://www.rust-lang.org)\n\n  \u003cbr /\u003e\n\n  [Website](https://opengnothia.com) · [Download](https://github.com/Lepuz-coder/opengnothia/releases) · [Report Bug](https://github.com/Lepuz-coder/opengnothia/issues) · [Request Feature](https://github.com/Lepuz-coder/opengnothia/issues)\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n---\n\n## Why OpenGnothia?\n\nMental health support should be accessible, private, and personalized. OpenGnothia combines the power of modern AI with evidence-based therapeutic approaches to create a self-therapy companion that lives entirely on your device.\n\n- **Your data never leaves your device** — all sessions, journal entries, and insights are stored locally in SQLite\n- **Choose your therapeutic approach** — from Psychoanalysis to CBT, Stoicism to Schema Therapy\n- **Bring your own AI** — works with Anthropic Claude, OpenAI, or any compatible API endpoint\n- **Open source and transparent** — review every line of code that handles your most personal thoughts\n\n\u003e **Note:** OpenGnothia is a self-exploration tool, not a replacement for professional mental health care. If you are in crisis, please reach out to a licensed professional or crisis helpline.\n\n---\n\n## Screenshots\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd colspan=\"2\" align=\"center\"\u003e\u003cimg src=\"assets/screenshots/sessions_on.png\" alt=\"Live Therapy Session\" width=\"600\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eLive Therapy Session\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/dashboard.png\" alt=\"Dashboard\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDashboard\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/sessions_page.png\" alt=\"AI Therapy Session\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAI Therapy Sessions\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/analyses_page.png\" alt=\"Analyses\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAnalyses\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/insights_page.png\" alt=\"AI Insights\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAI-Generated Insights\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/dreams_page.png\" alt=\"Dream Analysis\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDream Analysis\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/schools_page.png\" alt=\"Therapy Schools\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTherapy Schools\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/courses_page.png\" alt=\"Therapy Programs\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTherapy Programs\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/breathing_page.png\" alt=\"Breathing Exercises\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eBreathing Exercises\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/expenses_page.png\" alt=\"Expenses\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eExpenses\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n      \u003ctd align=\"center\"\u003e\u003cimg src=\"assets/screenshots/settings_page.png\" alt=\"Settings\" width=\"400\" /\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSettings\u003c/b\u003e\u003c/sub\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n---\n\n## Demo\n\n\u003cdiv align=\"center\"\u003e\n\n[**Interactive Demo — Complete onboarding and start your first session**](https://demo.arcade.software/GyEESVP1uqMY9LT8A8NR?embed\u0026embed_mobile=inline\u0026embed_desktop=inline\u0026show_copy_link=true)\n\n\u003c/div\u003e\n\n---\n\n## Features\n\n### Redesigned Dashboard\nA hero session card surfaces your current or next session, ritual cards track your journal and dream streaks, and an icon-based mood slider lets you log a daily check-in without leaving the home screen.\n\n### AI Therapy Sessions\nEngage in meaningful conversations with an AI therapist that adapts to your chosen therapeutic approach. Sessions include real-time streaming responses, session timers, opt-in AI summaries, and session-closure proposals where the AI signals a natural stopping point.\n\n### Clinical Intake Form\nComplete an optional 10-question wizard that captures your background, goals, and current stressors — with auto-save as you go. The intake is injected as context into every AI session so therapy feels continuous from the first message.\n\n### In-Session Insights Panel\nCapture observations mid-session without breaking flow. Your own notes and AI-proposed insights appear in a side panel; accept the ones that resonate and they're saved to your insights library.\n\n### Journal\nWrite and reflect on your daily thoughts. Each entry supports mood tagging and optional AI analysis to help you identify patterns and gain deeper understanding of your experiences.\n\n### Dream Analysis\nRecord your dreams and explore their meaning with AI-assisted interpretation. Build a searchable dream diary to track recurring symbols and themes over time.\n\n### Mood Tracking \u0026 Check-ins\nTrack your daily mood, energy levels, and sleep quality. View your emotional patterns on a calendar with visual mood indicators to understand your mental health trends.\n\n### AI-Generated Insights\nReceive AI-generated insights drawn from your sessions and journal entries. Organize them into groups, pin important ones, and revisit them as your self-understanding deepens.\n\n### Breathing Exercises\nAccess guided breathing techniques to manage stress and anxiety. Multiple breathing patterns are available to suit different needs and moments.\n\n### Therapy Programs\nFollow structured therapy programs that guide your self-discovery journey with progressive exercises and reflections.\n\n### Multi-Provider AI Support\nBring your own API key and choose from a wide range of models:\n- **Anthropic Claude** — Opus 4.7, Sonnet 4.6, Haiku 4.5 (with extended thinking / adaptive budget)\n- **OpenAI** — GPT-5.4 (+ Mini, Pro), GPT-5.3, GPT-4.1, GPT-4o families\n- **Custom endpoints** — Connect any OpenAI-compatible API\n\n### Privacy \u0026 Security\n- All data stored locally in SQLite — no cloud sync, no telemetry\n- Biometric lock with Touch ID support (macOS)\n- Password protection\n- API keys stored only on your device, sent only to the provider you choose\n\n### Multi-Language\nAvailable in English and Turkish, with an extensible internationalization system.\n\n---\n\n## Therapy Schools\n\nOpenGnothia includes carefully crafted therapeutic prompts for six different approaches. Each school shapes how the AI listens, responds, and guides your sessions:\n\n| School | Founded By | Focus |\n|--------|-----------|-------|\n| **Psychoanalysis / Psychodynamic** | Sigmund Freud | Unconscious processes, past experiences, relational patterns |\n| **CBT (Cognitive Behavioral Therapy)** | Aaron Beck | Identifying and changing thought patterns and behaviors |\n| **Logotherapy** | Viktor Frankl | Finding meaning in life, even in unavoidable suffering |\n| **ACT (Acceptance and Commitment Therapy)** | Steven C. Hayes | Psychological flexibility, values-aligned living |\n| **Schema Therapy** | Jeffrey Young | Identifying and transforming early maladaptive schemas |\n| **Stoicism (Philosophical Counseling)** | Marcus Aurelius, Epictetus, Seneca | Inner peace, virtue, and rational response to life |\n\n---\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|-----------|\n| **Frontend** | React 19, TypeScript, TailwindCSS 4 |\n| **Build Tool** | Vite 7 |\n| **Desktop Runtime** | Tauri 2 |\n| **Backend** | Rust |\n| **Database** | SQLite (via tauri-plugin-sql) |\n| **State Management** | Zustand |\n| **Routing** | React Router 7 |\n| **Icons** | Lucide React |\n| **Markdown** | React Markdown |\n\n---\n\n## Architecture\n\n```\nopengnothia/\n├── src/                        # React frontend\n│   ├── components/             # UI components\n│   │   ├── ui/                 # Reusable primitives (Button, Card, Modal, etc.)\n│   │   ├── chat/               # Chat interface (messages, input, timer)\n│   │   ├── breathing/          # Breathing exercise components\n│   │   ├── session/            # Session-related components\n│   │   └── onboarding/         # First-run onboarding flow\n│   ├── pages/                  # Route pages (Dashboard, Session, Journal, etc.)\n│   ├── stores/                 # Zustand state stores\n│   ├── services/\n│   │   ├── ai/                 # AI provider integration \u0026 prompt building\n│   │   └── db/                 # SQLite database queries\n│   ├── constants/              # Therapy schools, providers, breathing techniques\n│   ├── hooks/                  # Custom React hooks\n│   ├── i18n/                   # Internationalization (en, tr)\n│   ├── types/                  # TypeScript type definitions\n│   └── lib/                    # Utility functions\n│\n├── src-tauri/                  # Tauri / Rust backend\n│   ├── src/                    # Rust source (main.rs, lib.rs)\n│   ├── migrations/             # SQLite migration files (12 versions)\n│   ├── icons/                  # App icons for all platforms\n│   ├── Cargo.toml              # Rust dependencies\n│   └── tauri.conf.json         # Tauri configuration\n│\n├── assets/                     # Static assets\n│   └── screenshots/            # App screenshots\n├── package.json\n├── vite.config.ts\n└── tsconfig.json\n```\n\n**Data Flow:**\n```\nUser ──\u003e React UI ──\u003e Zustand Store ──\u003e Tauri Commands ──\u003e SQLite (local)\n                          │\n                          └──\u003e AI Service ──\u003e Anthropic / OpenAI / Custom API\n```\n\nAll data stays on the user's device. The only external communication is with the AI provider of your choice, using your own API key.\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) v18+\n- [pnpm](https://pnpm.io/)\n- [Rust](https://www.rust-lang.org/tools/install)\n- [Tauri CLI prerequisites](https://v2.tauri.app/start/prerequisites/)\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/Lepuz-coder/opengnothia.git\ncd opengnothia\n\n# Install dependencies\npnpm install\n\n# Run in development mode\npnpm tauri dev\n\n# Build for production\npnpm tauri build\n```\n\n### macOS: \"App is damaged\" Warning\n\nIf you download OpenGnothia from GitHub Releases on macOS, you may see a **\"OpenGnothia is damaged and can't be opened\"** warning. This happens because the app is not signed with an Apple Developer certificate.\n\nTo fix this, open Terminal and run **both** commands:\n\n```bash\nxattr -cr /Applications/OpenGnothia.app\ncodesign --force --deep --sign - /Applications/OpenGnothia.app\n```\n\nIf you downloaded it to a different location:\n\n```bash\nxattr -cr ~/Downloads/OpenGnothia.app\ncodesign --force --deep --sign - ~/Downloads/OpenGnothia.app\n```\n\n\u003e **Important:** The `codesign` step is required after `xattr -cr`. Without it, macOS cannot properly track permissions (e.g. microphone access) and may show repeated permission dialogs.\n\n### First Launch\n\nOn first launch, the onboarding flow will guide you through:\n\n1. **AI Provider** — Select Anthropic, OpenAI, or a custom endpoint\n2. **API Key** — Enter your API key (stored locally, never shared)\n3. **Model Selection** — Choose your preferred AI model\n4. **Therapy School** — Pick a therapeutic approach that resonates with you\n5. **Profile** — Set your name and preferences\n\nYou're ready to start your self-therapy journey.\n\n---\n\n## Configuration\n\nAll configuration is managed through the in-app Settings page:\n\n- **AI Provider \u0026 Model** — Switch providers or models at any time\n- **Therapy School** — Change your therapeutic approach between sessions\n- **Language** — Toggle between English and Turkish\n- **Security** — Enable biometric lock or password protection\n- **Extended Thinking** — Enable deeper AI reasoning for supported models (adaptive or budget mode)\n\n---\n\n## Contributing\n\nContributions are welcome! Whether it's a bug fix, new feature, translation, or documentation improvement, we appreciate your help.\n\n### Development Workflow\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Make your changes\n4. Test in development mode (`pnpm tauri dev`)\n5. Commit your changes (`git commit -m 'Add amazing feature'`)\n6. Push to the branch (`git push origin feature/amazing-feature`)\n7. Open a Pull Request\n\n### Areas Where You Can Help\n\n- **New therapy schools** — Add new therapeutic approaches with detailed system prompts\n- **Translations** — Add new languages by creating translation files in `src/i18n/`\n- **Breathing techniques** — Add new guided breathing patterns\n- **UI/UX improvements** — Enhance the interface and user experience\n- **Bug fixes** — Check [open issues](https://github.com/Lepuz-coder/opengnothia/issues) for known bugs\n- **Documentation** — Improve guides, add examples, and clarify setup steps\n\n\n\n## License\n\nThis project is licensed under the **MIT License** — see the [LICENSE](LICENSE) file for details.\n\n---\n\n## Acknowledgments\n\nOpenGnothia stands on the shoulders of giants:\n\n- **Sigmund Freud**, **Aaron Beck**, **Viktor Frankl**, **Steven C. Hayes**, **Jeffrey Young**, **Marcus Aurelius**, **Epictetus**, **Seneca** — for the therapeutic frameworks that guide the AI sessions\n- [Tauri](https://tauri.app/) — for making native desktop apps with web technologies possible\n- [React](https://react.dev/) — for the UI framework\n- [Rust](https://www.rust-lang.org/) — for the secure, performant backend\n- The open-source community — for making projects like this possible\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003csub\u003eBuilt with care for those who seek to know themselves.\u003c/sub\u003e\n  \u003cbr /\u003e\n  \u003csub\u003eIf OpenGnothia helps you, consider giving it a star on GitHub.\u003c/sub\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flepuz-coder%2Fopengnothia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flepuz-coder%2Fopengnothia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flepuz-coder%2Fopengnothia/lists"}