Self-hosted, file-first personal AI assistant built on Pi.
Italiano · Features · Backup · Updates · Decisions
Chat · Second Brain · Projects · Artifacts · Automations · Telegram · Web research
Warning
Memora v0.1.4 is the current public release. The core is usable and tested; restore/update/rollback validation is continuing. Do not expose the service to the public Internet without HTTPS, a reverse proxy and a review of your configuration.
Memora is a self-hosted personal assistant built on Pi. It brings persistent chats, a Markdown-based Second Brain, human-reviewed memory, projects, artifacts, web research and scheduled automations into one interface.
The complete feature registry, with status and known limitations, is in
docs/FEATURES.md. Architectural decisions are documented
in docs/DECISIONS.md.
<sub>A real answer, generated artifact and live preview in the workspace.</sub>
| <sub>Agent profiles Custom prompts, skills, icons and colors.</sub> | <sub>Projects Scoped prompt, sources, files and MCP accounts.</sub> |
Appearance
Theme, density, text size and accessibility.
v0.1.4: features are usable and tested. Installation has been verified on a
Debian 13 VM; restore, update and rollback verification is still pending. See
docs/FEATURES.md for the current registry and known
limitations.
-
Streaming chat, persistent Pi sessions and background turns.
-
File-first Second Brain: authoritative Markdown and a rebuildable SQLite index.
-
Optional local embeddings with semantic and hybrid retrieval.
-
Memory Inbox with explicit approval by default and optional auto-save; optional LLM Memory Curator.
-
Projects, indexed sources, project files and versioned artifacts.
-
PDF, DOCX, XLSX and PPTX generation without LibreOffice.
-
SSRF-safe web research through Brave or SearXNG, with numbered citations.
-
Scheduled automations with cron/timezone, run history and optional MCP access.
-
Single-user login, browser notifications, optional Telegram delivery and an IT/EN/FR interface.
-
One-click update from Administration with a mandatory encrypted backup.
-
Responsive layout, chat side panel and runtime administration.
-
Node.js 24
-
pnpm 12.21
-
Debian 13 or a compatible distribution for the full runtime
-
Optional headless Chromium for PDF rendering
-
Optional local embedding model for semantic search
git clone https://github.com/lian84/memora.git
cd memora
cp .env.example .env
pnpm install
pnpm dev
Open http://127.0.0.1:3000, complete the first-run setup and configure the
provider, model and credentials in Administration.
Production build:
pnpm build
pnpm start
For a Debian systemd installation with backup, restore and update support:
sudo ./install.sh
See Install, restore and update.
- Install, restore and update
- Features
- Administration
- Memory
- Automations
- Backup
- Readable export
- Updates
- Monitoring
- Web search
- Commands
- Development and operations
- Architecture (Italian)
- Security (Italian)
- Decisions
- Roadmap (Italian)
- Pi is the agent engine and remains an external dependency, not a fork.
- Important memory remains readable as Markdown.
- Sessions remain in Pi JSONL format.
- Credentials never enter the repository.
- The default deployment is local/LAN; public exposure requires HTTPS and an explicit configuration.
- Memora must remain useful when models or frontends change.
- Code, configuration, data and secrets are separate; runtime data lives in
MEMORA_DATA_DIR. - No user- or machine-specific paths are hardcoded.
Responses can continue in the background: concurrency is configurable in Administration (1–4, default 2) and additional turns are queued. Closing the browser does not stop a turn; restarting Memora does. The sidebar shows a yellow dot for a response running in another chat and a green dot for a completed unread response. Read state is shared across devices, while browser notifications are opt-in and require the tab to stay open. Scheduled automations run in the server and can deliver their results to Telegram with the browser closed. Returning to a chat reconnects to events already produced and resumes partial text. After a server restart, in-flight turns are marked as interrupted.
- Debian 13
- Node.js 24 LTS
- TypeScript
- pnpm workspaces
@earendil-works/pi-coding-agent- Fastify
- React + Vite
- SQLite + FTS5
- Markdown as the authoritative source
pnpm install
pnpm dev
pnpm typecheck
pnpm test
pnpm build
The complete list is in Commands.
Guidelines, development setup and the Developer Certificate of Origin are in
CONTRIBUTING.md. Before a significant change, open an issue
to discuss the design.
Do not open public issues for vulnerabilities. Use GitHub private vulnerability
reporting; details are in SECURITY.md.
Memora is distributed under the terms of AGPL-3.0-only. Contributions are
accepted under the same license and require a DCO sign-off. The Memora and
Memo names are covered by TRADEMARKS.md; third-party
notices are in NOTICE.