Back to portfolio

Case study · 02 / 03

TextSumpIA

Real-time AI summarization, translation and chat, powered by OpenRouter

Real-time AI text summarizer and translator web app powered by OpenRouter, built with React, Vite, TypeScript, and Node.js.

  • React
  • Vite
  • TypeScript
  • Node.js
  • Express
  • OpenRouter
  • CSS Modules
text-summarizer-lac-alpha.vercel.appOpen in a new tab ↗
TextSumpIA's summary editor
Loads the real site inside this page.
Screenshot of the start screen.

Purpose

What was it built for?

TextSumpIA is an AI web application that uses OpenRouter to summarize long texts, translate in real time and chat with a language model. It also ships an evaluation engine (Evals) that measures the quality of the model's answers.

Solution

What problem does it solve?

With today's information overload, professionals and students lose hours reading long texts. TextSumpIA condenses the content into its key points, in up to 5 sentences and in the chosen language, and translates the text while it is being typed.

Flow

How does it work in practice?

The step-by-step journey and the logic behind the application.

  1. Text, mode and language

    The user enters the text and picks the mode (summary, translation or chat) and the target language.

  2. Node.js + Express gateway

    The Express backend receives the request and forwards it to the OpenRouter API, which routes it to a language model (Auto Model Router).

  3. Streaming response (SSE)

    The answer arrives token by token through Server-Sent Events and appears on screen while it is generated, with a typing cursor.

  4. Automated evaluation (Evals)

    A test suite measures fidelity, conciseness, keyword coverage, compression ratio, latency and time to first token (TTFT).

Highlights

Key features

Core features implemented in the project.

Software engineering

Architecture & implementation

A repository in two parts: a Node.js, Express and TypeScript backend (REST endpoints, SSE streams, session management and an OpenRouter client with an SSE parser) and a React 19, Vite and TypeScript frontend with CSS Modules. On Vercel, Express runs as a serverless function and the frontend is served as a static build.