MyTrend User Guide

Complete guide to all features, Vibe Bot commands, and self-hosting.

Overview

MyTrend is a personal knowledge & activity trend platform. It records your conversations, ideas, design decisions, and activity patterns โ€” then surfaces insights through trends, knowledge graphs, and AI analysis.

๐Ÿ’ฌ Capture Everything

Conversations, ideas, plans โ€” auto-synced from Claude Code sessions.

๐Ÿค– Vibe Bot

Control Claude Code from Telegram. Code from anywhere, on any device.

๐Ÿ“ˆ Trend Insights

Heatmap, topic trends, knowledge graph โ€” see patterns in your work.

๐Ÿ”„ Session Streaming

Seamlessly switch between terminal and Telegram mid-session.

Dashboard

The dashboard shows your activity summary: recent conversations, idea pipeline, project stats, activity heatmap (GitHub-style), and quick navigation to all features.

The heatmap tracks daily activity count from conversations, ideas, commits, and plans. Darker squares = more activity.

Projects

Projects organize your work. Each project has its own conversations, ideas, plans, and GitHub integration. Projects are created automatically from Claude Code sessions or manually from the UI.

  • Status: active, paused, archived, completed
  • Tech stack tags and color coding
  • Auto-sync from companion project profiles
  • GitHub repo linking for commit/PR tracking

Conversations

Every Claude Code session is auto-synced as a conversation. Includes title, summary, duration, cost, and full message history. Ideas and topics are auto-extracted.

Ideas

Ideas are auto-extracted from conversations or manually created. They flow through a pipeline: inbox โ†’ considering โ†’ planned โ†’ in progress โ†’ done.

  • Priority levels: low, medium, high, critical
  • Types: feature, bug, improvement, research, design
  • Duplicate detection: warns when similar ideas exist
  • Auto-tagging from existing topics
  • Link ideas to plans for tracking

Plans

Plans are structured implementation documents with Kanban boards and milestone checklists. Synced from Claude Code plan files (.md).

  • Kanban board: draft โ†’ approved โ†’ in progress โ†’ completed โ†’ archived
  • Milestone checklists with progress tracking
  • Idea โ†’ Plan conversion funnel analytics

Files (Telegram Storage)

Upload and manage files via Telegram private channel. Files are stored in Telegram and indexed in MyTrend for browsing, search, and metadata.

Knowledge Graph

Interactive visualization of all topics, projects, and their connections. Nodes represent topics; edges represent co-occurrence in conversations and ideas.

Research & Tech Radar

Research entries are auto-captured when you share URLs in Telegram. AI analyzes each URL and categorizes it as fit/partial/skip for your projects.

Tech Radar visualizes your research as a radar chart: Adopt, Trial, Assess, Hold โ€” inspired by ThoughtWorks Technology Radar.

AI Hub

Chat directly with Claude AI in the browser. Supports streaming responses, multiple sessions, custom system prompts, and configurable models.

  • Cron jobs: schedule AI tasks to run automatically
  • Natural language cron parser ("every morning at 9am")
  • Environment presets (temperature, max tokens, tools)

Vibe Terminal

Browser-based Claude Code control. Manage coding sessions, view real-time output, approve tool permissions, and track tasks โ€” all from the web UI.

  • Create sessions with project + model selection
  • Real-time streaming of Claude responses
  • Tool permission approval cards
  • Session sidebar with progress tracking
  • Context meter showing token usage

Vibe Bot (Telegram)

The Vibe Bot connects Telegram to Claude Code CLI. Send messages from your phone, and Claude codes for you โ€” complete with streaming, permissions, and file output.

How it works

  1. Connect to the bot in Telegram
  2. Select a project with /project <slug>
  3. Send messages โ€” Claude Code executes on your machine
  4. Approve/deny tool permissions via inline buttons
  5. See results: code diffs, file changes, commit messages

Features

  • Multi-project support via forum topics
  • Photo/image messages (sent as multimodal to Claude)
  • URL auto-capture for research (GitHub, npm, blogs)
  • Vietnamese โ†” English auto-translation
  • Auto-approval with 30s countdown
  • Idle timeout (configurable, default 60min)
  • Session resume after crash/restart

Bot Commands Reference

Session Commands

/start Welcome screen + project list
/project <slug> Start a new session for a project
/projects List all available projects
/switch Change to a different project
/new Fresh restart of current session
/resume Restore a crashed/dead session
/stop End the current session
/stopall End all active sessions
/cancel Interrupt a running task

Control Commands

/model [name] Switch model (sonnet, opus, haiku, opus-1m, sonnet-1m)
/autoapprove Toggle automatic tool permission approval
/allow Manually approve pending permission
/deny Manually deny pending permission
/timeout [duration] Set idle timeout (30m, 1h, 4h, 12h, 24h, off)
/translate Toggle Vietnamese โ†” English auto-translation
/thinking Toggle display of Claude thinking process
/buttons Toggle quick action buttons after messages

Info Commands

/status Show current session status + stats
/cost Detailed cost breakdown (input/output tokens, USD)
/context Context window usage meter
/files List files touched in this session
/doctor System health check (PocketBase, companion, NM)
/mcp List active MCP servers
/help Show all commands

Action Commands

/compact Compact context window (free up space)
/clear Clear chat message history
/fork Branch conversation (save + restart with context)
/stream [id] Attach to an active CLI session (session handoff)
/detach Disconnect from session without stopping CLI

Session Streaming (CLI โ†” Telegram)

Session streaming lets you seamlessly switch between the browser terminal and Telegram without restarting your session. Both clients share the same Claude Code process.

Workflow Example

  1. Start coding in Vibe Terminal (browser)
  2. Need to leave your desk? Open Telegram
  3. Type /stream โ†’ select the active session
  4. Continue the conversation on Telegram โ€” same context, same session
  5. Back at your desk? The browser still shows the session live
  6. Type /detach on Telegram to disconnect (CLI keeps running)
Both browser and Telegram can send messages simultaneously. Permission requests appear on both clients โ€” approve from either one.

Anti Bot (Antigravity IDE Control)

Control Antigravity IDE (Cursor fork) from Telegram via Chrome DevTools Protocol (CDP). Send messages, switch models, change modes, trigger workflows, and auto-accept code reviews โ€” all from your phone.

How it works

  1. Start Antigravity IDE with remote debugging enabled (port 9000)
  2. Type /anti in Telegram to open the control panel
  3. Send messages โ€” they are typed into Anti's chat input via CDP
  4. Use inline buttons to switch models, modes, run workflows
  5. Auto-accept timer polls for pending code reviews

Features

๐Ÿค– Model Selector

Switch between Gemini, Claude, GPT models via inline dropdown.

โšก Conversation Mode

Toggle between Planning (deep reasoning) and Fast (quick responses).

๐Ÿ”ง Workflows

List and trigger Anti workflows โ€” custom automation sequences.

โฑ๏ธ Auto-Accept Timer

Auto-accept code reviews at 10s/30s/60s intervals.

Anti control uses Bot API 9.4 colored buttons: blue (primary) for actions, green (success) for active states, red (danger) for destructive actions.

Anti Commands Reference

Panel Commands

/anti Open Anti control panel (auto-enables Anti mode)
/anti <text> Send text directly to Anti's chat input
/anti new Start a new conversation (Ctrl+Shift+L)
/anti accept Accept pending diff review
/anti reject Reject pending diff review
/anti run Send Alt+Enter (Run command)
/anti ss Capture and send screenshot
/anti tasks Show Anti task list
/anti sessions List Anti conversation history
/anti pending Show inbox pending items
/anti watch <on|off> Toggle task watcher (polls every 15s)

Panel Buttons

New Chat Start new Anti conversation (blue button)
Chat Preview last 5 messages from current conversation
History Browse and select old conversations
Model Inline dropdown โ€” select Gemini/Claude/GPT model
Mode Toggle Planning vs Fast conversation mode
Workflows List and trigger custom workflows
Timer Auto-accept code reviews: Off / 10s / 30s / 60s (green when active)
Screenshot Capture Anti window and send as photo
Watch Toggle task watcher โ€” polls for new tasks every 15s
Disconnect Turn off Anti mode (red button)
All panel buttons use inline edit โ€” selecting model, mode, or workflows updates the same message instead of sending new ones. Press "Back" to return to the main panel.

Daily & Weekly Digest

Automated summaries sent to Telegram every day at 9:00 AM. Weekly digest on Mondays includes 7-day trends and highlights.

  • Daily: conversation count, ideas created, commits, top topics
  • Weekly (Monday): 7-day summary, productivity trends, most active projects
  • Powered by PocketBase cron hook (daily_digest.pb.js)

GitHub Integration

Automatic sync of commits, pull requests, and issues from your GitHub repositories. Activity appears in the timeline and contributes to heatmap data.

  • PAT-based polling every 30 minutes (github_sync.pb.js)
  • Webhook support for real-time push events
  • PR โ†” Idea linking โ€” connect pull requests to planned ideas
  • Commit/PR/Issue type badges in activity timeline

Themes

MyTrend ships with 4 themes, each with light and dark mode:

โœ๏ธ Comic

Hand-drawn sketch style with hard shadows and Comic Mono font.

๐ŸŽ Apple

Clean, minimal design inspired by Apple HIG.

๐Ÿ’ผ Pro

Professional dashboard style for data-heavy views.

โœจ Magic

Aurora mystic with glassmorphism, gradients, and Space Grotesk typography.

Settings

  • Theme & Color Scheme โ€” Choose theme and light/dark mode
  • Anthropic API Key โ€” Set your own API key for AI Hub
  • Telegram Bot โ€” Configure bot token, allowed chat IDs, webhook
  • Telegram Storage โ€” Set up private channel for file storage
  • Companion Projects โ€” Manage project profiles (directory, model, permissions)
  • Backup โ€” Manual backup + auto backup history

Keyboard Shortcuts

Ctrl+K Open command palette
Ctrl+/ Toggle sidebar

Self-Hosting

Requirements

  • Docker + Docker Compose
  • Bun (optional โ€” for Vibe Terminal + Telegram bot)
  • Anthropic API key (optional โ€” for AI Hub)

Quick Start

# Clone and run
git clone https://github.com/nhadaututtheky/MyTrend.git
cd mytrend

# Windows: double-click start.bat โ†’ pick [1] Setup
# Linux/Mac:
bash scripts/setup.sh

# Open http://localhost
# Create admin account at http://localhost:8090/_/

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Browser   โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚    Nginx     โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  SvelteKit  โ”‚
โ”‚  (Client)   โ”‚     โ”‚  (port 80)   โ”‚     โ”‚ (port 3000) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                           โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ–ผ                  โ–ผ                  โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  PocketBase  โ”‚  โ”‚  Companion   โ”‚  โ”‚Neural Memory โ”‚
โ”‚ (port 8090)  โ”‚  โ”‚ (port 3457)  โ”‚  โ”‚ (port 8000)  โ”‚
โ”‚   SQLite DB  โ”‚  โ”‚  Bun + Hono  โ”‚  โ”‚    Python    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
              โ–ผ          โ–ผ          โ–ผ
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚ Claude   โ”‚ โ”‚Telegramโ”‚ โ”‚ GitHub   โ”‚
        โ”‚ Code CLI โ”‚ โ”‚Bot API โ”‚ โ”‚ Webhook  โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
              โ–ฒ
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚Antigravityโ”‚ (CDP port 9000)
        โ”‚   IDE    โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

MyTrend โ€” Your second brain, powered by AI.