Two worlds.
One mirror.

A two-faced narrative ecosystem. Data-art, sociological experiment and educational legacy in a single project.

The Concept

Every day, an artificial intelligence writes a bedtime fairy tale for a child. The story is pure, untouched, made to protect his innocence and feed his imagination.

The same day, the same engine analyzes the news of the real world and produces a clinical report: seven numerical indicators measuring tension, hope, environment, economy, human rights, tech disruption and social cohesion.

The Dark Mirror is the mirror that reflects this duality. It does not judge. It does not comment. It shows today's world data next to the tale a child reads tonight. The contrast speaks for itself.

The Duality

The Light
A fairy tale every day
A protected space. Magical characters, invented worlds, gentle morals. The vocabulary grows with the child, adapting to his real age. No data from the outside world ever enters here.
The Shadow
darkmirror.info
An analytical dashboard for adults. Seven indicators measure the state of the world each day. No filter, no sugar-coating. The tone is clinical, the numbers are raw.

“In ten years, these won't just be stories. They'll be an exact snapshot of his imagination at 8. It's a bridge between an engineer's passion and a father's love. These are the things always worth building.”

— Digital Memory Log, December 2025

The Three Principles

01
Isolation
The tale database is never contaminated by real-world data. The flow is one-directional: light goes toward shadow, never the reverse.
02
Historical Archive
Every day is recorded forever. A diary of humanity and a child's imagination, side by side. Raw data kept for future analysis.
03
Emotional Contrast
The dissonance between the brutality of the real and the need to preserve innocence. It is not a political comment. It is a visual fact.

Architecture

The system is built on a framework-less philosophy. No heavy framework, no superfluous dependency. Every night a cron job runs an autonomous pipeline.

Backend
PHP 8.x vanilla
Database
SQLite + WAL
Frontend
HTML/CSS/JS vanilla
AI Text
Google Gemini 3
News
NewsAPI
Charts
Chart.js
The Light
Gemini + GPT Image + TTS
Automation
Cron

The Author

Ing. Marco Maretto
System Engineer • IoT & AI Specialist • Engineers’ Register of Padua no. 6978
Electronic engineer specialized in IoT architectures and AI systems. A child's father. The Dark Mirror was born at the intersection of engineering skill and a father's love — proof that engineering is not cold, but the most powerful tool to give shape to feelings.