SShortSingh.
Back to feed

ContextBridge Chrome Extension Carries AI Conversation Context Across Models

0
·1 views

A developer built ContextBridge, a Chrome extension that lets users move ongoing work between AI chatbots without re-explaining everything. The tool extracts a visible conversation and uses Gemma 3 (4B), an open-weight model run locally via Ollama, to produce a structured handoff covering project details, decisions, constraints, blockers, and next steps. Users can edit the result, then copy it or export it as Markdown to continue in another AI. Because inference runs on the user's own machine, no chat data goes to a third-party inference service and there are no per-request API fees. The developer also suggests a possible paid Pro tier offering saved project contexts and reusable templates.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Running User JavaScript Under a Strict CSP Using eval()

A DEV Community post by Murray le Roux examines how to execute user-supplied JavaScript while operating under a strict Content Security Policy. The article is tagged with javascript, security, webdev, and csp topics. The post reportedly takes about 14 minutes to read. The excerpt provided does not include the body text describing the methods or conclusions. A full version of the article would be needed to produce an accurate four-to-five sentence summary.

0
ProgrammingDEV Community ·

String Utility Belt sandboxes user JavaScript with layered iframe and CSP isolation

The developer of String Utility Belt, a browser tool for chaining text transformations, added a custom JavaScript step that lets users write their own functions. Because users often paste sensitive data such as JWTs, Kubernetes secrets, and production API keys, and pipelines are shared via links, the code needed strong isolation. The solution runs user code inside a four-layer sandbox: a srcdoc iframe with an opaque origin, a strict per-frame Content-Security-Policy that blocks all network access, and a Web Worker that can be terminated when it exceeds its time limit. Each run uses a fresh frame that is removed afterwards, so nothing persists between runs. The article describes how this strict CSP initially broke the sandbox when it was enabled.

0
ProgrammingDEV Community ·

Fixing YouTube's 'Sign in to confirm you're not a bot' error on cloud servers

Developers running transcript code on AWS, Vercel, Render, or VPS hosts often hit a LOGIN_REQUIRED error saying the request looks like a bot. The article explains that YouTube flags cloud and datacenter IP ranges as scrapers, so the problem comes from the server's location rather than the code itself. It advises first checking the error reason, since some failures like private or age-restricted videos cannot be fixed by retrying. Suggested remedies include installing a JavaScript runtime for yt-dlp, switching YouTube client types, using cookies from a throwaway account, PO tokens, or residential proxies, each with trade-offs.

0
ProgrammingDEV Community ·

Detecting Silent Failures: API Error Rates, Cron Success Timestamps, and Alert Testing

A DEV Community guide argues that reliable failure detection depends on signals that distinguish genuine outcomes from mere completed requests. It recommends counting API outcomes by category, recording whether scheduled jobs meet a completion check, and tracking the timestamp of the last verified success to catch jobs that never ran. The author suggests running the poller outside the observed job, with a deadline and a completion predicate taken from the API contract. It also warns against putting identifiers, tokens, or raw error text into metric labels, since these create high cardinality and can expose sensitive data. Diagnostic detail is better kept in access-controlled logs, with metrics, logs, and traces each handling a distinct job.

ContextBridge Chrome Extension Carries AI Conversation Context Across Models · ShortSingh