{"id":13483971,"url":"https://github.com/jugyo/eeepub","last_synced_at":"2025-03-27T15:30:46.301Z","repository":{"id":56844496,"uuid":"642536","full_name":"jugyo/eeepub","owner":"jugyo","description":"EeePub is a Ruby  ePub generator","archived":false,"fork":false,"pushed_at":"2013-03-21T03:24:11.000Z","size":218,"stargazers_count":220,"open_issues_count":17,"forks_count":57,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-26T20:59:04.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jugyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-05-02T13:13:07.000Z","updated_at":"2025-02-16T01:38:01.000Z","dependencies_parsed_at":"2022-09-09T04:11:26.969Z","dependency_job_id":null,"html_url":"https://github.com/jugyo/eeepub","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jugyo%2Feeepub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jugyo%2Feeepub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jugyo%2Feeepub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jugyo%2Feeepub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jugyo","download_url":"https://codeload.github.com/jugyo/eeepub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245871703,"owners_count":20686250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T17:01:17.441Z","updated_at":"2025-03-27T15:30:45.599Z","avatar_url":"https://github.com/jugyo.png","language":"Ruby","readme":"EeePub\n======\n\nEeePub is a Ruby ePub generator.\n\nUsage\n-------\n\n    epub = EeePub.make do\n      title       'sample'\n      creator     'jugyo'\n      publisher   'jugyo.org'\n      date        '2010-05-06'\n      identifier  'http://example.com/book/foo', :scheme =\u003e 'URL'\n      uid         'http://example.com/book/foo'\n\n      files ['/path/to/foo.html', '/path/to/bar.html'] # or files [{'/path/to/foo.html' =\u003e 'dest/dir'}, {'/path/to/bar.html' =\u003e 'dest/dir'}]\n      nav [\n        {:label =\u003e '1. foo', :content =\u003e 'foo.html', :nav =\u003e [\n          {:label =\u003e '1.1 foo-1', :content =\u003e 'foo.html#foo-1'}\n        ]},\n        {:label =\u003e '1. bar', :content =\u003e 'bar.html'}\n      ]\n    end\n    epub.save('sample.epub')\n\n### Low Level API\n\nCreate NCX:\n\n    EeePub::NCX.new(\n      :uid =\u003e 'xxxx',\n      :title =\u003e 'sample',\n      :nav =\u003e [\n        {:label =\u003e '1. foo', :content =\u003e 'foo.html'},\n        {:label =\u003e '2. bar', :content =\u003e 'bar.html'}\n      ]\n    ).save(File.join('sample', 'toc.ncx'))\n\nCreate OPF:\n\n    EeePub::OPF.new(\n      :title =\u003e 'sample',\n      :identifier =\u003e {:value =\u003e '0-0000000-0-0', :scheme =\u003e 'ISBN'},\n      :manifest =\u003e ['foo.html', 'bar.html'],\n      :ncx =\u003e 'toc.ncx'\n    ).save(File.join('sample', 'content.opf'))\n\nCreate OCF and ePub file:\n\n    EeePub::OCF.new(\n      :dir =\u003e 'sample',\n      :container =\u003e 'content.opf'\n    ).save('sample.epub')\n\nInstall\n-------\n\n    gem install eeepub\n\nRequirements\n-------\n\n* builder\n* eBook Reader :)\n\nLinks\n-------\n\n* Documentation: [http://yardoc.org/docs/jugyo-eeepub](http://yardoc.org/docs/jugyo-eeepub)\n* Source code: [http://github.com/jugyo/eeepub](http://github.com/jugyo/eeepub)\n\nCopyright\n-------\n\nCopyright (c) 2010 jugyo. See LICENSE for details.\n","funding_links":[],"categories":["Ruby","Ebook"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjugyo%2Feeepub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjugyo%2Feeepub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjugyo%2Feeepub/lists"}