vibesearch

Crates.iovibesearch
lib.rsvibesearch
version0.1.0
created_at2025-08-17 09:28:09.678975+00
updated_at2025-08-17 09:28:09.678975+00
descriptionvibesearch is a AI-powered modern iterator searching library written in Rust.
homepagehttps://github.com/metwse/vibesearch
repositoryhttps://github.com/metwse/vibesearch
max_upload_size
id1799267
size70,321
metwse (metwse)

documentation

README

vibesearch

Why solve one of computer science's most fundamental problems with a boring, efficient, and near-instant .iter().position()? That's so last century. 🙄

Usage

1. Add to your Cargo.toml:

[dependencies]
vibesearch = "0.1"
tokio = { version = "1", features = ["full"] }

2. Set your OpenAI API key:

export OPENAI_API_KEY="sk-..."

3. Find it:

use vibesearch::{VibeSearchClient, VibeSearch};

#[tokio::main]
async fn main() {
    let client = VibeSearchClient::new_from_env();
    let data = [5, 2, 8, 2, 9];

    // Find the indices of '2'
    let result = data.iter().vibe_find(&client, &2).await;

    // Expected output: [1, 3]
    println!("{:?}", result);
}

Why vibesearch?

  • 🩸 Bleeding edge technology: Next-generation solution for finding an element in an array by asking a planet-sized AI model
  • ™️ Blazingly Slow: Swap those pesky nanoseconds of local computation for hundreds of milliseconds of glorious network latency. Feel the weight of progress!
  • 🏆 Featuring way 👋 too 2️⃣ many 🤯 emojis in the 📖 readme 💨

While the entire concept is fundamentally unreliable, at least you won't get a segmentation fault. You're welcome. 🦀 🔥

Commit count: 0

cargo fmt