* feat: add Open Camera feature with live preview, photo capture, mirror toggle, and camera switching Agent-Logs-Url: https://github.com/infinilabs/coco-app/sessions/e874b626-f179-4d54-bc6c-c239394459e3 Co-authored-by: medcl <64487+medcl@users.noreply.github.com> * fix: address code review feedback - add error logging, remove invisible button, document eslint-disable Agent-Logs-Url: https://github.com/infinilabs/coco-app/sessions/e874b626-f179-4d54-bc6c-c239394459e3 Co-authored-by: medcl <64487+medcl@users.noreply.github.com> * refactor: convert camera from dedicated window to built-in extension with permission handling - Create Open Camera built-in extension (search source in Rust) - Add camera permission check/request via macOS permissions plugin - Render camera inline in main Coco window (not a separate window) - Add com.apple.security.device.camera entitlement - Remove dedicated camera window, tray menu entry, and window commands - Add cameraOpened state to search store for navigation support - Handle Escape/Back navigation for camera view Agent-Logs-Url: https://github.com/infinilabs/coco-app/sessions/bb996add-d287-464c-bc53-c69167630351 Co-authored-by: medcl <64487+medcl@users.noreply.github.com> * fix: address code review feedback - fix permission check flow, remove duplicate cleanup, fix type Agent-Logs-Url: https://github.com/infinilabs/coco-app/sessions/bb996add-d287-464c-bc53-c69167630351 Co-authored-by: medcl <64487+medcl@users.noreply.github.com> * fix: camera not displaying video due to missing CSP media-src, secure context, and stream lifecycle issues Three root causes fixed: 1. CSP missing media-src directive - Added media-src with blob: and mediastream: schemes to allow camera streams in the webview 2. Missing useHttpsScheme - Added to main window config to ensure secure context required by getUserMedia API on macOS WKWebView 3. Camera.tsx stream lifecycle - Rewrote initialization to use a single sequential flow (permission → getUserMedia → enumerate → assign) instead of three separate useEffects with circular dependency issues. Uses refs for stream tracking to prevent stale closure bugs in cleanup. Agent-Logs-Url: https://github.com/infinilabs/coco-app/sessions/f3b86e6b-3ce2-423d-a5a1-c3a5f4e115f2 Co-authored-by: medcl <64487+medcl@users.noreply.github.com> * fix: tighten CSP media-src directive and add permission polling timeout - Remove overly permissive https:/http: from media-src (only need self/blob/mediastream) - Remove unnecessary img-src override (falls back to default-src) - Add 60-second timeout to camera permission polling to prevent infinite loops - Check cancelled flag during polling to support component unmount Agent-Logs-Url: https://github.com/infinilabs/coco-app/sessions/f3b86e6b-3ce2-423d-a5a1-c3a5f4e115f2 Co-authored-by: medcl <64487+medcl@users.noreply.github.com> * feat: add Open Camera functionality with icon and translations * fix: remove unused setCameraOpened from SearchResultsPanel * feat: update platform adapters to include saveFileDialog method for Tauri and Web * fix: streamline camera search source registration in built-in extension * refactor: update extension icon --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: medcl <64487+medcl@users.noreply.github.com> Co-authored-by: ayangweb <473033518@qq.com>
Coco AI - Connect & Collaborate
Tagline: "Coco AI - search, connect, collaborate – all in one place."
Visit our website: https://coco.rs
Coco AI is a unified search platform that connects all your enterprise applications and data—Google Workspace, Dropbox, Confluent Wiki, GitHub, and more—into a single, powerful search interface. This repository contains the Coco App, built for both desktop and mobile. The app allows users to search and interact with their enterprise data across platforms.
In addition, Coco offers a Gen-AI Chat for Teams—imagine ChatGPT but tailored to your team’s unique knowledge and internal resources. Coco enhances collaboration by making information instantly accessible and providing AI-driven insights based on your enterprise's specific data.
Note
: Backend services, including data indexing and search functionality, are handled in a separate repository.
🚀 Vision
At Coco AI, we aim to streamline workplace collaboration by centralizing access to enterprise data. The Coco App provides a seamless, cross-platform experience, enabling teams to easily search, connect, and collaborate within their workspace.
💡 Use Cases
- Unified Search Across Platforms: Coco integrates with all your enterprise apps, letting you search documents, conversations, and files across Google Workspace, Dropbox, GitHub, etc.
- Cross-Platform Access: The app is available for both desktop and mobile, so you can access your workspace from anywhere.
- Seamless Collaboration: Coco's search and Gen-AI chat capabilities help teams quickly find and share information, improving workplace efficiency.
- Simplified Data Access: By removing the friction between various tools, Coco enhances your workflow and increases productivity.
✨ Key Features
- 🔍 Unified Search: One-stop enterprise search with multi-platform integration
- Supports major collaboration platforms: Google Workspace, Dropbox, Confluence Wiki, GitHub, etc.
- Real-time search across documents, conversations, and files
- Smart search intent understanding with relevance ranking
- Cross-platform data correlation and context display
- 🤖 AI-Powered Chat: Team-specific ChatGPT-like assistant trained on your enterprise data
- 🌐 Cross-Platform: Available for Windows, macOS, Linux and Web
- 🔒 Security-First: Support for private deployment and data sovereignty
- ⚡ High Performance: Built with Rust and Tauri 2.0
- 🎨 Modern UI: Sleek interface designed for productivity
🛠️ Technology Stack
- Frontend: React + TypeScript
- Desktop Framework: Tauri 2.0
- Styling: Tailwind CSS
- State Management: Zustand
- Build Tool: Vite
🚀 Getting Started
Prerequisites
Development Setup
# Install pnpm
npm install -g pnpm
# Install dependencies
pnpm install
# Start development server
pnpm tauri dev
Production Build
pnpm tauri build
📚 Documentation
- Coco App Documentation
- Coco Server Documentation
- DeepWiki Coco App
- DeepWiki Coco Server
- Tauri Documentation
Contributors
📄 License
Coco AI is an open-source project licensed under the MIT License. You can freely use, modify, and distribute the software for both personal and commercial purposes, including hosting it on your own servers.
