Personal AI Assistant Setup

This is a documentation of my personal AI assistant setup that runs on a VPS and integrates with Telegram.

What This Is

A self-hosted Claude-powered assistant that:

  • Responds to messages in Telegram via Takopi
  • Maintains a knowledge base in Obsidian format
  • Publishes notes to the web via Quartz
  • Manages everything through natural language

Components

  • Quartz — Static site generator for Obsidian notes
  • Takopi — Telegram bot interface for Claude
  • Claude Code — AI assistant CLI
  • Obsidian MCP — Knowledge base integration

Architecture

Telegram → Takopi → Claude Code → Tools
                         ↓
                    Obsidian MCP
                         ↓
                   Knowledge Base
                         ↓
                      Quartz
                         ↓
               Cloudflare Pages