BiggerRain 97d2450fa7 feat: selection settings add & delete (#992)
* feat: add selection window page

* fix: chat input

* feat: add selection page

* chore: add

* chore: test

* feat: add

* feat: add store

* feat: add selection settings

* chore: remove unused code

* docs: add release note

* docs: add release note

* chore: format code

* chore: format code

* fix: copy error

* disable hashbrown default feature

* Enable unstable feature allocator_api

To make coco-app compile in CI:

```
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/hashbrown-0.15.5/src/raw/mod.rs:3856:12
     |
3856 | impl<T, A: Allocator> RawIntoIter<T, A> {
     |            ^^^^^^^^^
     |
     = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information
     = help: add `#![feature(allocator_api)]` to the crate attributes to enable
     = note: this compiler was built on 2025-06-25; consider upgrading it if it is out of date
```

I don't know why it does not compile, feature `allocator-api2` is
enabled for `hashbrown 0.15.5`, so technically [1] it should not use the
allocator APIs from the std. According to [2], enabling the `nightly`
feature of `allocator-api2` may cause this issue as well, but it is not
enabled in our case either.

Anyway, enabling `#![feature(allocator_api)]` should make it work.

[1]: b751eef8e9/src/raw/alloc.rs (L26-L47)
[2]: https://github.com/rust-lang/hashbrown/issues/564

* put it in main.rs

* format main.rs

* Enable default-features for hashbrown 0.15.5

* format main.rs

* enable feature allocator-api2

* feat: add selection set config

* fix: selection setting

* fix: ci error

* fix: ci error

* fix: ci error

* fix: ci error

* merge: merge main

* fix: rust code warn

* fix: rust code error

* fix: rust code error

* fix: selection settings

* style: selection styles

* style: selection styles

* feat: selection settings add & delete

* feat: selection settings add & delete

* feat: selection settings add & delete

* style: selection styles

* chore: add @tauri-store/zustand plugin

* refactor: the selection store using @tauri-store/zustand

* fix: data error

* fix: data error

* chore: remove config

* chore: selection

* chore: selection

* chore: width

* chore: ignore selection in the app itself

* style: selection styles

* style: remove

* docs: add notes

* chore: add permission check

* chore: selection

* chore: style & store

---------

Co-authored-by: Steve Lau <stevelauc@outlook.com>
2025-12-05 15:32:57 +08:00
2024-10-28 17:34:48 +08:00
2024-12-12 10:17:03 +08:00
2024-10-23 16:39:51 +08:00
2024-10-28 17:34:48 +08:00
2025-09-08 16:03:40 +08:00
2024-10-13 17:41:16 +08:00

Coco AI - Connect & Collaborate

Tagline: "Coco AI - search, connect, collaborate all in one place."

Visit our website: https://coco.rs

License Tauri 2.0 React TypeScript Rust Node PRs Welcome Version Build Status Discord

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 teams 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.

Coco AI

🚀 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

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.


Built with ❤️ by INFINI Labs
Languages
TypeScript 56.6%
Rust 39.2%
CSS 1.9%
SCSS 1.9%
JavaScript 0.2%
Other 0.2%