Urgent.News

What's breaking now, across hundreds of outlets.

AI

I recreated Tom Riddle's diary from Harry Potter with Claude, and it feels like magic

My younger self would be freaking out

I recreated Tom Riddle's diary from Harry Potter with Claude, and it feels like magic

There are moments in life that are unforgettable. The author, who jokes about having a poor memory, recalls the first time they read and watched the entire Harry Potter series. They remember wishing for a diary that could write back to them. Recently, they have been recreating parts of their childhood using vibe coding, including recreating a Harry Potter diary on their Boox e-reader.

Tom Riddle's diary was a seemingly ordinary diary with blank pages, but it was fascinating because anything written in it would disappear, and the diary would respond in writing. The idea of writing a letter that would write back to you seemed magical. Maxime Rivest recreated this experience on his reMarkable Paper Pro using Anthropic's Fable model, which is open-source and available on GitHub.

Rivest implemented a memory system that let users retrieve previous diary entries by writing what they were looking for. The author used Claude's Fable model to recreate this experience on their Boox Note Air 6C, which gave them a more full-fledged version of the diary with a black cover, proper handwriting animation, and a persistent memory system.

The diary generated responses using the author's existing Claude account. Watching the diary write back to them felt magical, and the memory system worked well. The diary also interpreted drawings correctly and continued to stay in character, even when asked about the Chamber of Secrets. The experience felt closer to interacting with the diary from Harry Potter than with an AI chatbot.

Rewritten by urgent.news; may contain errors — check the original.

Source: xda-developers.com

Read the original at xda-developers.com →

Report a problem with this story

More in AI

More from Friday 27 November →