How iamsrikanthnani/pluely works
Project Type & Purpose
• This is a cross-platform desktop application (“Pluely”) built with Tauri.
• Frontend: React + TypeScript + Vite, providing a translucent, always-on overlay UI for text, image, and voice input.
• Backend: Rust (via Tauri), handling window management, system integration, IPC, and bundling.
• Purpose: A privacy-first AI assistant that sends API calls directly from the client to various AI (LLM) and STT providers, storing minimal data locally.
File-Structure Analysis
• Top level
• index.html, src/, package.json, vite.config.ts → Frontend entry & build config
• src/
• components/, hooks/, contexts/, lib/, config/, types/ → MVC-style separation (UI, state, business logic, utilities, type definitions)
• main.tsx/App.tsx → React entry and root component
• src-tauri/
• src/main.rs & lib.rs → Tauri setup, IPC command handlers
• src/window.rs → Window styling/positioning
• build.rs, tauri.conf.json → Platform bundling and capabilities
README & Architecture Insights
• Illustrated “Frontend (React)” vs. “Backend (Tauri + Rust)” in the docs
• Emphasis on:
• Local storage of API keys & chat history
• Direct HTTPS calls from frontend to AI/STT providers
• Rust layer for native performance, window control, packaging