
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@aibind/cloudflare
Advanced tools
Cloudflare Workers adapters for @aibind — D1 (StreamStore) and KV (ConversationStore)
Cloudflare Workers adapters for @aibind — wraps D1 as a SqliteClient (for use with @aibind/sqlite) and provides a KV-backed ConversationStore.
npm install @aibind/cloudflare @aibind/sqlite
import { wrapD1, KVConversationStore } from "@aibind/cloudflare";
import { SqliteStreamStore } from "@aibind/sqlite";
export default {
async fetch(request: Request, env: Env) {
// D1 for durable streams (ordered chunks, resumable)
const streamStore = new SqliteStreamStore(wrapD1(env.DB));
// KV for conversation history (global low-latency, auto-expiry)
const conversationStore = new KVConversationStore(env.CONVERSATIONS);
},
} satisfies ExportedHandler<Env>;
You must create these tables yourself before using SqliteStreamStore:
CREATE TABLE aibind_stream_chunks (
id TEXT NOT NULL,
seq INTEGER NOT NULL,
data TEXT NOT NULL,
PRIMARY KEY (id, seq)
);
CREATE TABLE aibind_stream_status (
id TEXT PRIMARY KEY,
state TEXT NOT NULL DEFAULT 'active',
error TEXT,
total_chunks INTEGER NOT NULL DEFAULT 0,
expires_at INTEGER NOT NULL
);
-- Only needed if using SqliteConversationStore with D1
CREATE TABLE aibind_conversations (
session_id TEXT PRIMARY KEY,
data TEXT NOT NULL,
expires_at INTEGER NOT NULL
);
Apply with wrangler: wrangler d1 execute MY_DB --file=./schema.sql
KVConversationStore requires no schema — KV is a simple key-value store.
[[d1_databases]]
binding = "DB"
database_name = "my-db"
database_id = "..."
[[kv_namespaces]]
binding = "CONVERSATIONS"
id = "..."
FAQs
Cloudflare Workers adapters for @aibind — D1 (StreamStore) and KV (ConversationStore)
We found that @aibind/cloudflare demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.