matt 62a0e387d2 fix: implement manual PNG chunk parser for reliable character card import
- Added read_png_text_chunks() function that manually parses PNG file structure
- Reads PNG chunks directly instead of relying on png crate's Info struct
- More reliable extraction of tEXt chunks with "chara" keyword
- Added debug logging (eprintln) to help diagnose import issues
- Updated read_character_card_from_png() to use manual parser as primary method
- Fixes "missing 'chara' chunk" error even when chunk exists in file
- Successfully imports both v2 and v3 character cards
2025-10-14 08:37:17 -07:00
2025-10-11 17:14:57 -07:00

Claudia

Beautiful AI desktop companion built with Tauri and Rust.

Features

Core Features

  • 🎨 Beautiful glassmorphic UI with gradient backgrounds and blur effects
  • 🔧 Bring-your-own-API - supports any Anthropic-compatible API
  • API validation via /v1/models endpoint
  • 💬 Full conversation context - AI remembers your entire conversation
  • 💾 Persistent chat history - conversations saved between sessions
  • 🎯 Custom window controls - drag, minimize, maximize, close

Message Display

  • 📝 Full markdown rendering - headers, lists, tables, links, blockquotes
  • 🎨 Syntax highlighting - beautiful code blocks with highlight.js
  • 📋 Copy code blocks - one-click copy button on hover
  • Smooth animations - elegant message transitions

User Experience

  • ⌨️ Keyboard shortcuts - Enter or Ctrl+Enter to send, Shift+Enter for new lines
  • 🗑️ Clear conversations - easily start fresh
  • 🎯 Auto-resizing input - textarea grows with your message
  • 🎭 Light/dark mode - automatic based on system preferences

Running

npm install
npm run dev

Build:

npm run build

Note: The dev script includes WEBKIT_DISABLE_DMABUF_RENDERER=1 to fix Wayland compatibility issues on KDE Plasma.

Configuration

On first launch, click settings and configure:

  • Base URL (e.g., https://api.anthropic.com)

  • API Key

  • Model (validated from /v1/models endpoint)

  • Config stored in ~/.config/claudia/config.json

  • Chat history stored in ~/.config/claudia/history.json

Usage

Keyboard Shortcuts

  • Enter - Send message
  • Shift+Enter - New line in message

Interface

  • Drag header - Move window around your desktop
  • Trash icon - Clear conversation history
  • Settings icon - Configure API settings
  • Minimize/Maximize - Window controls
Description
No description provided
Readme 1.9 MiB
Languages
JavaScript 43.6%
Rust 33.1%
CSS 12.7%
HTML 10%
Python 0.6%