{"id":35405146,"url":"https://github.com/runixer/laplaced","last_synced_at":"2026-05-22T22:04:56.263Z","repository":{"id":331441696,"uuid":"1124871463","full_name":"runixer/laplaced","owner":"runixer","description":"A lightweight, self-hosted Personal AI Daemon written in Go. Features Hybrid RAG (SQLite + Vectors), Long-term Memory, and Voice I/O. Optimized for low-end VPS and Raspberry Pi.","archived":false,"fork":false,"pushed_at":"2026-05-18T00:35:43.000Z","size":2685,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-18T02:04:06.832Z","etag":null,"topics":["ai-assistant","chatbot","gemini","golang","llm","rag","self-hosted","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/runixer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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":"2025-12-29T19:01:01.000Z","updated_at":"2026-05-18T00:34:48.000Z","dependencies_parsed_at":"2026-01-27T01:00:36.900Z","dependency_job_id":"23563f90-50d3-4687-983f-07d65f9ac9f0","html_url":"https://github.com/runixer/laplaced","commit_stats":null,"previous_names":["runixer/laplaced"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/runixer/laplaced","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runixer%2Flaplaced","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runixer%2Flaplaced/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runixer%2Flaplaced/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runixer%2Flaplaced/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runixer","download_url":"https://codeload.github.com/runixer/laplaced/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runixer%2Flaplaced/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33372739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-22T21:56:13.512Z","status":"ssl_error","status_checked_at":"2026-05-22T21:56:10.769Z","response_time":265,"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-assistant","chatbot","gemini","golang","llm","rag","self-hosted","telegram-bot"],"created_at":"2026-01-02T12:42:38.707Z","updated_at":"2026-05-22T22:04:56.221Z","avatar_url":"https://github.com/runixer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laplaced\n\n[![CI](https://github.com/runixer/laplaced/actions/workflows/ci.yml/badge.svg)](https://github.com/runixer/laplaced/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/runixer/laplaced/graph/badge.svg)](https://codecov.io/gh/runixer/laplaced)\n[![Go Report Card](https://goreportcard.com/badge/github.com/runixer/laplaced?v=1)](https://goreportcard.com/report/github.com/runixer/laplaced)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nEnglish | [Русский](README.ru.md)\n\nA smart Telegram bot for family use. Powered by Google Gemini via OpenRouter.\n\n**What it does:**\n- Chats using LLM with long-term memory (RAG)\n- Understands voice messages natively (Gemini multimodal)\n- Understands images and PDFs\n- Has a web dashboard for debugging\n\n## Quick Start\n\n### Docker (recommended)\n\n```bash\n# Create config\nmkdir -p data\ncat \u003e .env \u003c\u003c 'EOF'\nLAPLACED_TELEGRAM_TOKEN=your_bot_token\nLAPLACED_OPENROUTER_API_KEY=your_api_key\nLAPLACED_ALLOWED_USER_IDS=123456789\nEOF\n\n# Run\ndocker run -d --name laplaced \\\n  --env-file .env \\\n  -v $(pwd)/data:/data \\\n  ghcr.io/runixer/laplaced:latest\n```\n\n### Docker Compose\n\n```bash\ngit clone https://github.com/runixer/laplaced.git\ncd laplaced\ncp .env.example .env\n# Edit .env with your tokens\ndocker-compose up -d\n```\n\n### From Source\n\n**Requirements:** Go 1.24+\n\n```bash\ngit clone https://github.com/runixer/laplaced.git\ncd laplaced\ngo run cmd/bot/main.go\n```\n\n## Configuration\n\nConfigure via environment variables (recommended) or YAML config.\n\n**Required variables:**\n```bash\nLAPLACED_TELEGRAM_TOKEN=your_bot_token\nLAPLACED_OPENROUTER_API_KEY=your_api_key\nLAPLACED_ALLOWED_USER_IDS=123456789,987654321  # ⚠️ Required! Empty = reject all\n```\n\nSee [`.env.example`](.env.example) for all options.\n\n\u003e **Note:** `LAPLACED_ALLOWED_USER_IDS` must contain at least one user ID. If empty, the bot will reject all messages.\n\n## Telegram Modes\n\n- **Long Polling** (default) — simpler, works behind NAT\n- **Webhook** — lower latency, better for production\n\n```bash\n# For webhook mode:\nLAPLACED_TELEGRAM_WEBHOOK_URL=https://your-domain.com\n```\n\n## Debug Interface\n\nBuilt-in web UI for debugging. **Disabled by default**.\n\n```bash\nLAPLACED_WEB_ENABLED=true\nLAPLACED_WEB_PASSWORD=your_password\n```\n\nUseful for understanding how RAG works and inspecting memory.\n\n**⚠️ Warning:** Exposes sensitive data. Don't expose publicly.\n\n## Architecture\n\n```\ncmd/bot/          — entry point\ninternal/bot/     — message handling\ninternal/rag/     — vector search, memory retrieval\ninternal/memory/  — facts extraction\ninternal/storage/ — SQLite\n```\n\nSee [docs/architecture/](docs/architecture/) for detailed documentation (in Russian).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md). PRs welcome!\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunixer%2Flaplaced","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunixer%2Flaplaced","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunixer%2Flaplaced/lists"}