A developer has designed an ereader tool that mimics Tom Riddle's diary from the Harry Potter series.