Potterheads who once dreamed of writing inside Tom Riddle’s enchanted diary and getting a reply may finally have their dream come true, just minus the dark magic. A Canadian developer has recreated one of the Wizarding World’s most iconic magical objects using artificial intelligence (AI), bringing the infamous diary from Harry Potter and the Chamber of Secrets to life in the real world.
The demonstration, shared on X by Canadian developer Maxime Rivest, showed a reMarkable Paper Pro e-paper tablet transformed into an interactive notebook. He was seen writing on the tablet using a stylus. “Hello, my name is Harry Potter!” he wrote on the interactive notebook.
After a brief pause, the handwritten text fades away before the notebook writes back
on its own handwriting-like digital print. “Harry Potter – an interesting name indeed. Tell me Harry what has brought you to write in this diary?” it answered back.
In the caption, he wrote, “Fable turned my remarkable into Tom Riddle’s diary from Harry Potter. My prompts fade, a LLM respond. Magical!”
In the books and the films, Harry Potter communicates with the memory of a 16-year-old Tom Riddle simply by writing on its blank pages. The handwritten words disappear before the diary responds, making it appear as if the notebook itself was alive. The viral demonstration appeared to recreate that same interaction using AI.
Internet Loves The Creation
The project quickly went viral, with Harry Potter fans praising it, with one saying, “Love this! AI is helping the most creative people turn their weird ideas into software. We’re all in a creative renaissance. Followed.”
Fable turned my remarkable into Tom Riddle’s diary from Harry Potter.
My prompts fade, a LLM respond.
Magical! pic.twitter.com/iLFOMWRkNv
— Maxime Rivest 🧙♂️🦙🐧 (@MaximeRivest) July 4, 2026
Another person said, “This is incredible man.”
“Ok now I need one too,” someone else shared.
“Now all it needs is an LLM that answers in Tom Riddle’s personality,” an individual joked.
A person commented, “Waking up to magic today! Harry Potter prompt. Fable porting game to iPad. And I haven’t even had my first coffee!”
How Does It Work?
Rivest also shared details on the project that combined a reMarkable Paper Pro tablet with Anthropic’s Fable 5 AI model. “Write on the page with your pen. After a pause, the diary drinks your ink — your words fade into the paper — the page thinks for a moment, and an answer writes itself back in a flowing hand, stroke by stroke, then fades away. No screen glow, no keyboard, no chat UI. Just ink appearing on paper,” he shared on GitHub.

/images/ppid_59c68470-image-178384253152899205.webp)




/images/ppid_a911dc6a-image-178384504632710901.webp)
/images/ppid_a911dc6a-image-178384515354754001.webp)




