Truelove is an original screenplay and so is not adapted directly from a book.
The series was co-created and written by Iain Weatherby (Humans) and Charlie Covell, the latter of who created the much-loved The End of the F***ing World.