DEV Community

Tasfia Chowdhury
Tasfia Chowdhury Subscriber

Posted on

A privacy first Cognitive Adaptation Engine for better reading

DEV Weekend Challenge: Community

Pudding

Cognitive Accessibility for Everyone

The Community

I built Pudding for people who struggle silently while reading online.

That includes:

  • People with dyslexia who see words jumble together
  • People with ADHD who lose focus in dense paragraphs
  • Students overwhelmed by academic jargon
  • Non native readers navigating complex English content
  • Professionals who need to scan information quickly

Millions of people experience cognitive overload every day on the internet.

Most accessibility tools focus on visual impairment. Very few focus on cognitive accessibility.

Pudding is built for that overlooked community.

It is for anyone who has ever felt mentally tired just from reading a webpage.

What I Built

Pudding is a Cognitive Adaptation Engine that transforms online content in real time.

It does not just simplify text.

It learns how you read.

It tracks scroll speed, pauses, and rereads locally on your device. Based on that behavior, it adjusts complexity automatically.


It runs 100 percent offline using Chrome’s on device AI.

Core Features

Cognitive Adaptation Engine

  • Learns reading behavior
  • Adjusts complexity automatically
  • Stores everything locally

Focus Mode

  • Blurs sidebars and ads
  • Highlights the current paragraph
  • Enables keyboard navigation
  • Reduces distraction instantly

Complexity Mapping

  • Color coded difficulty score from 0 to 100
  • Visual heatmap for dense sections
  • Click to simplify specific parts

Smart Content Restructuring

Transforms long dense paragraphs into:

  • Bullet breakdowns
  • Key point summaries
  • Highlighted numbers
  • Clear structure

Multilingual Support

Supports 10 languages:

  • English
  • Spanish
  • French
  • German
  • Arabic
  • Chinese
  • Japanese
  • Hindi
  • Portuguese
  • Bengali

Language switching is instant and fully offline.

Video Demo: [https://youtu.be/fbgYr2p4taQ?si=5jnWtYIDr2eB1DqX]
GitHub Repository: https://github.com/Tasfia-17/puddingextention.git

How I Built It

1. On Device AI Integration

Enabled Chrome’s Gemini Nano model using experimental flags.

Used the Prompt API to simplify content locally.

2. Cognitive Tracking System

Built a lightweight behavior tracker that:

  • Monitors scroll speed
  • Detects rereads
  • Measures pause duration

All data is stored in local extension storage.

3. Real Time DOM Transformation

  • Parsed webpage structure
  • Identified content blocks
  • Rewrote text while preserving layout
  • Injected simplified versions dynamically

4. Multilingual Support

Integrated Lingo.dev for structured i18n configuration.

  • 10 languages implemented
  • RTL support for Arabic
  • Instant language switching
  • Less than 10ms translation load time

5. Privacy First Architecture


Everything runs locally.

No external services.

No analytics.

No data leaves the device.

Why This Matters

Cognitive accessibility is rarely discussed in developer communities.

We talk about screen readers and color contrast.

We rarely talk about reading fatigue or comprehension barriers.

Pudding is my step toward making the internet less exhausting and more inclusive.

Top comments (0)