Futures
Access hundreds of perpetual contracts
CFD
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
CFD
U.S. stock CFD derivatives
US Stocks
Access real US stocks and ETFs
HK Stocks
Trade quality Hong Kong-listed stocks
Korean Stocks
SK Hynix
Real Korean stocks and top assets
Stock Futures
High leverage, 24/7 trading
Tokenized Stocks
Backed by real stock assets
IPO Access
Unlock full access to global stock IPOs
GUSD
Mint GUSD for Treasury RWA yields
Stocks Activities
Trade Popular Stocks and Unlock Generous Airdrops
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
IPO Access
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
I used AI to recreate Tom Riddle's magical diary from Harry Potter.
Developer MaximeRivest created the open-source project riddle, turning the reMarkable Paper Pro e-paper tablet into a magical diary that "eats ink" and allows handwritten replies, inspired by Tom Riddle's diary from Harry Potter.
(Previous: Fable 5 Self-Improvement System in Practice: 14 Steps to Build an AI Agent That "Compounds")
(Background: AI Renaissance? E-paper Notebooks Defy Trends to Become High-End Workplace Tools)
The magic happens when the ink disappears! Recently, a developer named MaximeRivest used AI to create a delightful user experience: after writing on the e-paper with a stylus, the ink gradually fades as if being eaten, followed by a response appearing like in the Harry Potter novels.
A Diary That Thinks
This open-source project is called riddle, and the author nicknames it "Tom Riddle's diary," inspired by the magical diary from Harry Potter that thinks and responds.
Currently, it only supports the reMarkable Paper Pro (an e-paper tablet designed specifically for handwritten notes). The usage logic is simple: write, pause, wait. After pausing for about 2.8 seconds, the ink gradually fades from the page, the screen "thinks" for a moment, and then replies are written back page by page using the Dancing Script handwriting font, making it look like someone is writing a reply right before your eyes.
The Soul Behind This Diary
This diary can generate human-like text thanks to its AI backend called oracle. In the developer's words, it's "the soul of the diary." riddle's architecture is divided into three layers: the core written in Rust handles pen input and ink animation synthesis, the C/C++ quill directly controls the e-paper's display engine, bypassing the usual UI intermediate layers to reduce latency, and the "thinking" part is handled by oracle.
It defaults to the OpenAI-compatible API. Simply put, as long as a service follows OpenAI's /chat/completions format—whether it's OpenAI official, OpenRouter, Groq, or even a self-hosted local server—it can connect to riddle by changing a few environment variables to switch backends. Another mode runs locally for even lower latency.
Turning the pen over erases, drawing a question mark brings up instructions, pressing all five fingers simultaneously exits the program... The entire project is open-sourced on GitHub under the MIT license.