├── .editorconfig ├── .formatter.exs ├── .github ├── dependabot.yml └── workflows │ └── elixir.yml ├── .gitignore ├── .tool-versions ├── .travis.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bench └── saxy_xmerl.exs ├── lib ├── bupe.ex └── bupe │ ├── builder.ex │ ├── builder │ ├── templates.ex │ └── templates │ │ ├── assets │ │ ├── com.apple.ibooks.display-options.xml │ │ └── container.xml │ │ ├── content_template.eex │ │ ├── css │ │ └── stylesheet.css │ │ ├── nav_template.eex │ │ ├── ncx_template.eex │ │ └── title_template.eex │ ├── cli.ex │ ├── config.ex │ ├── exceptions.ex │ ├── item.ex │ ├── parser.ex │ ├── parser │ ├── container_handler.ex │ └── root_file_handler.ex │ ├── util.ex │ └── util │ └── media-types.txt ├── mix.exs ├── mix.lock └── test ├── bupe ├── builder │ └── templates_test.exs ├── builder_test.exs └── cli_test.exs ├── bupe_test.exs ├── fixtures ├── 20 │ ├── bacon.xhtml │ ├── egg.xhtml │ └── ham.xhtml ├── 30 │ ├── bacon.xhtml │ ├── egg.xhtml │ └── ham.xhtml ├── invalid_mimetype.epub └── ocf-minimal-valid.epub ├── support └── case.ex └── test_helper.exs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/.editorconfig -------------------------------------------------------------------------------- /.formatter.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/.formatter.exs -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/elixir.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/.github/workflows/elixir.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/.gitignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | elixir 1.19.0-rc.0-otp-28 2 | erlang 28.0.4 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/README.md -------------------------------------------------------------------------------- /bench/saxy_xmerl.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/bench/saxy_xmerl.exs -------------------------------------------------------------------------------- /lib/bupe.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe.ex -------------------------------------------------------------------------------- /lib/bupe/builder.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder.ex -------------------------------------------------------------------------------- /lib/bupe/builder/templates.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder/templates.ex -------------------------------------------------------------------------------- /lib/bupe/builder/templates/assets/com.apple.ibooks.display-options.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder/templates/assets/com.apple.ibooks.display-options.xml -------------------------------------------------------------------------------- /lib/bupe/builder/templates/assets/container.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder/templates/assets/container.xml -------------------------------------------------------------------------------- /lib/bupe/builder/templates/content_template.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder/templates/content_template.eex -------------------------------------------------------------------------------- /lib/bupe/builder/templates/css/stylesheet.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder/templates/css/stylesheet.css -------------------------------------------------------------------------------- /lib/bupe/builder/templates/nav_template.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder/templates/nav_template.eex -------------------------------------------------------------------------------- /lib/bupe/builder/templates/ncx_template.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder/templates/ncx_template.eex -------------------------------------------------------------------------------- /lib/bupe/builder/templates/title_template.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/builder/templates/title_template.eex -------------------------------------------------------------------------------- /lib/bupe/cli.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/cli.ex -------------------------------------------------------------------------------- /lib/bupe/config.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/config.ex -------------------------------------------------------------------------------- /lib/bupe/exceptions.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/exceptions.ex -------------------------------------------------------------------------------- /lib/bupe/item.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/item.ex -------------------------------------------------------------------------------- /lib/bupe/parser.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/parser.ex -------------------------------------------------------------------------------- /lib/bupe/parser/container_handler.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/parser/container_handler.ex -------------------------------------------------------------------------------- /lib/bupe/parser/root_file_handler.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/parser/root_file_handler.ex -------------------------------------------------------------------------------- /lib/bupe/util.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/util.ex -------------------------------------------------------------------------------- /lib/bupe/util/media-types.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/lib/bupe/util/media-types.txt -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/mix.lock -------------------------------------------------------------------------------- /test/bupe/builder/templates_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/bupe/builder/templates_test.exs -------------------------------------------------------------------------------- /test/bupe/builder_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/bupe/builder_test.exs -------------------------------------------------------------------------------- /test/bupe/cli_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/bupe/cli_test.exs -------------------------------------------------------------------------------- /test/bupe_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/bupe_test.exs -------------------------------------------------------------------------------- /test/fixtures/20/bacon.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/fixtures/20/bacon.xhtml -------------------------------------------------------------------------------- /test/fixtures/20/egg.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/fixtures/20/egg.xhtml -------------------------------------------------------------------------------- /test/fixtures/20/ham.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/fixtures/20/ham.xhtml -------------------------------------------------------------------------------- /test/fixtures/30/bacon.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/fixtures/30/bacon.xhtml -------------------------------------------------------------------------------- /test/fixtures/30/egg.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/fixtures/30/egg.xhtml -------------------------------------------------------------------------------- /test/fixtures/30/ham.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/fixtures/30/ham.xhtml -------------------------------------------------------------------------------- /test/fixtures/invalid_mimetype.epub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/fixtures/invalid_mimetype.epub -------------------------------------------------------------------------------- /test/fixtures/ocf-minimal-valid.epub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/fixtures/ocf-minimal-valid.epub -------------------------------------------------------------------------------- /test/support/case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/support/case.ex -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milmazz/bupe/HEAD/test/test_helper.exs --------------------------------------------------------------------------------