The television show Dexter was based on the book . Darkly Dreaming Dexter is a 2004 novel by Jeff Lindsay , the first in his series about serial killer Dexter Morgan . It has formed the basis of the Showtime television series Dexter and won the 2005 Dilys Award .