Back to Home

How It Works

ThisChatNeverExisted is built on a simple premise: data that is never sent cannot be intercepted. Here is the technical breakdown of how we achieve absolute privacy through architecture.

Chrome Prompt API

The core intelligence engine is the Chrome Prompt API, which exposes Google's Gemini Nano model directly in the browser.

  • Local Inference: The model runs entirely on your device's CPU/GPU.
  • Zero Latency: No network round-trips for token generation.
  • Offline Capable: Once the model is downloaded, it works without internet.
  • Privacy: Your prompts never leave your machine.

Note: This technology is currently available in Chrome Desktop. The model is approximately 22GB and is managed by the browser itself.

Static Export Architecture

The application is a static site built with Next.js and deployed to Cloudflare Pages.

  • Zero Backend: There is no API server, no database, and no logging infrastructure.
  • Immutable Deployments: The code you see on GitHub is exactly what is served.
  • Client-Side Only: All logic executes in your browser.

RAM-Only State Management

We strictly forbid any form of persistent storage. Conversation history exists only in React component state (RAM).

// ❌ Forbidden
localStorage.setItem('chat', JSON.stringify(messages));
document.cookie = "session_id=123";

// ✅ Allowed (RAM only)
const [messages, setMessages] = useState<Message[]>([]);

When you close the tab or refresh the page, the operating system reclaims the memory, and the data is gone forever.

The Burn Ritual

The “Burn” feature isn't just a UI animation—it's a cryptographic shredding of the conversation state.

const burnRitual = () => {
  // 1. Visual feedback (canvas animation)
  triggerBurnAnimation();

  // 2. State destruction
  setMessages([]);
  setConversationId(null);
  
  // 3. Garbage collection hint
  // We remove all references to the data, allowing 
  // the JS engine to reclaim memory immediately.
};

Open Source

Trust requires transparency. The entire codebase is open source under the MIT License.