A literary festival is set to return to a North Yorkshire coastal town following a hugely successful debut event.