mera Svelte Themes

Mera

An AI assistant for your computer

Mera

Mera

A native AI assistant desktop application with full system access.

Features

  • Full System Access: Read/write files, run shell commands, search code
  • Web Integration: Search the web and fetch page content
  • Media Analysis: Analyze images, PDFs, videos, and audio files
  • Local-First: All chats stored locally in SQLite with full-text search
  • Chat Branching: Branch conversations at any point

Tech Stack

  • Desktop: Tauri 2 with SvelteKit 5 frontend
  • Backend: Rust for system tools, Elysia for API server
  • AI: Vercel AI SDK with AI Gateway integration
  • Database: SQLite for local storage

Prerequisites

  • Bun (v1.3+)
  • Rust (for Tauri)
  • macOS

Setup

# Install dependencies
bun install

# Run development (API + Desktop)
bun run dev

# Or run individually
bun run dev:api      # API server on localhost:3000
bun run dev:desktop  # Tauri desktop app

Project Structure

apps/
  api/          # Elysia HTTP server
  desktop/      # Tauri + SvelteKit app
packages/
  ai/           # AI agents and message types
  client/       # API client
  tools/        # Tool definitions

Commands

bun run dev          # Run all apps
bun run build        # Build all apps
bun run typecheck    # Type check
bun run lint         # ESLint
bun run format       # Prettier

Tools

Mera has access to these tools:

Tool Description
list_files List directory contents
read_file Read file contents
write_file Create or overwrite files
edit_file Make surgical edits
find_files Find files by glob pattern
search Search file contents with regex
bash Execute shell commands
web_search Search the internet
web_fetch Fetch web page content
analyze_files Analyze media files

Configuration

Set the AI_GATEWAY_API_KEY environment variable for AI model access.

License

MIT

Top categories

Loading Svelte Themes