Adrift on the Pacific: A Boys [sic] Story of the Sea and its Perils by Ellis, Edward Sylvester
 is a Project Gutenberg book, now on Github.