Synq Core Next - Tauri v2 Desktop App
Find a file
Synq Imaging 20303161b9 [autosave] main @ 2026-05-08T09:38:05-07:00
1 files, 1 new

?? .gitignore
2026-05-08 09:38:05 -07:00
src init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
src-tauri init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
.env.example init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
.gitignore [autosave] main @ 2026-05-08T09:38:05-07:00 2026-05-08 09:38:05 -07:00
index.html init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
package-lock.json init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
package.json init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
README.md init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
tsconfig.json init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
tsconfig.node.json init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00
vite.config.ts init: synq-core-next bootstrap 2026-05-07 19:24:45 -07:00

Synq Core — Developer Channel

A Tauri v2 + React/TypeScript desktop application for the Synq Core Developer Channel. This app provides a native chat interface to the Moonshot AI (Kimi) API with local SQLite persistence, image upload/paste support, and screenshot capture.

Prerequisites

Setup

  1. Set your API key:

    cp .env.example .env
    # Edit .env and add your MOONSHOT_API_KEY
    
  2. Install dependencies:

    npm install
    
  3. Run in development mode:

    npm run tauri:dev
    

Building for Production

npm run tauri:build

The compiled app will be in src-tauri/target/release/bundle/.

Features

  • Kimi Chat: Direct integration with Moonshot AI's kimi-latest model
  • Persistent History: All chats and messages stored in local SQLite
  • Image Support: Upload images, paste from clipboard, or capture screenshots
  • Markdown Rendering: Full markdown support with syntax-highlighted code blocks
  • Dark Theme: Clean, modern dark UI matching the Synq design system

Architecture

Layer Technology
Frontend React 18 + TypeScript + Vite
Desktop Framework Tauri v2
Backend Rust (tokio, reqwest, rusqlite)
LLM API Moonshot AI (Kimi)
Database SQLite (via rusqlite)

Project Structure

synq-core-next/
├── src/                          # React frontend
│   ├── channels/developer/       # Developer Channel UI
│   ├── context/                  # Global state (React Context)
│   ├── App.tsx                   # Root component
│   └── main.tsx                  # Entry point
├── src-tauri/                    # Rust backend
│   ├── src/commands/             # Tauri commands
│   │   ├── kimi_chat.rs          # Kimi API bridge
│   │   ├── mempalace_client.rs   # SQLite persistence
│   │   └── screenshot.rs         # Screen capture
│   ├── Cargo.toml
│   └── tauri.conf.json
└── package.json

Environment Variables

Variable Description Default
MOONSHOT_API_KEY Your Moonshot AI API key (required)
MEMPALACE_DB_PATH Path to SQLite database App data directory

Phase Roadmap

Phase Features
0 (Current) Basic chat, SQLite persistence, images, screenshots
1 SSE streaming, improved markdown, code actions
2 Codebase indexer, vector search
3 Memory extraction, infinite scroll
4 Sharing system, multi-developer
5 Terminal integration, War Rooms
6 Hybrid search, image embeddings, advanced features

License

Private — Synq Internal Use Only