{"id":20079620,"url":"https://github.com/transpect/epubcheck-transpect","last_synced_at":"2026-03-19T13:30:29.435Z","repository":{"id":93859516,"uuid":"46272811","full_name":"transpect/epubcheck-transpect","owner":"transpect","description":"XProc pipeline to check EPUBs for compliance with IDPF EPUB2/3, Amazon MOBI/KF8 and custom Schematron","archived":false,"fork":false,"pushed_at":"2016-12-14T22:35:22.000Z","size":58,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-02T13:17:20.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"XProc","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/transpect.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-16T12:18:28.000Z","updated_at":"2024-06-23T13:00:10.000Z","dependencies_parsed_at":"2023-03-09T20:30:28.179Z","dependency_job_id":null,"html_url":"https://github.com/transpect/epubcheck-transpect","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/transpect/epubcheck-transpect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fepubcheck-transpect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fepubcheck-transpect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fepubcheck-transpect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fepubcheck-transpect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transpect","download_url":"https://codeload.github.com/transpect/epubcheck-transpect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fepubcheck-transpect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30173694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-13T15:23:44.828Z","updated_at":"2026-03-06T11:30:57.090Z","avatar_url":"https://github.com/transpect.png","language":"XProc","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epubcheck-transpect\nXProc pipeline to check EPUBs for compliance with IDPF EPUB2/3, Amazon MOBI/KF8, retailer, and publisher requirements\n\n## Requirements\n\n* Java 1.7 or higher\n* Bash if you don’t want to invoke calabash directly\n\n## Installation\n\nDownload the [latest release](https://github.com/transpect/epubcheck-transpect/releases) or checkout with git:\n```\ngit clone https://github.com/transpect/epubcheck-transpect.git --recursive\n```\nIf you want to see kindlegen errors, you’d have to get [kindlegen](http://www.amazon.com/gp/feature.html?docId=1000765211) and copy the kindlegen binary to `infrastructure/kindlegen/i386/kindlegen` (for Linux), `infrastructure/kindlegen/i386/macos/kindlegen` (for Mac OS), or `infrastructure/kindlegen/i386/kindlegen.exe` (for Windows). You’ll have to create the directory beforehand.\n\n## Invocation\n\nIn the directory that the checkout created:\n```\n./epubcheck-transpect /path/to/file.epub\n```\nInvocation without arguments will show you the options.\n\nFor direct invocation of calabash, please look at how it is invoked in the [epubcheck-transpect](epubcheck-transpect) script. For Windows, until we provide an `epubcheck-transpect.bat` file, you can use this calabash invocation with `calabash\\calabash.bat` instead of `calabash/calabash.sh`.\n\n# Customization\n\n## Parameter Set\n\nThe parameters for image size checking etc. are in [config/params.xml](config/params.xml). We will provide an option to supply another parameter file. \n\n## Custom Schematron\n\nThere will also be an option to run your own Schematron in addition to the [one that is bundled](https://github.com/transpect/epubtools/blob/master/schematron/epub.sch.xml). Run epubcheck-transpect with `-s` switch and add the path to your own Schematron file. The file `example/example.sch` provides an example. You may extend it for your needs.\n\nSchematron files are always applied to an XML representation of the EPUB file. In order to find out what the input for Schematron looks like, invoke the check with `-d`, the debug switch. You’ll find a file `debug/epubcheck-validate/wrap-with-srcpaths.xml` in the debug directory that the script will tell you. This file also has an `\u003c?xml-model?\u003e` processing instruction that points to the canonical URL of the Schematron file. If you are using oXygen XML Editor and if you have opened the project [epubcheck-transpect.xpr](epubcheck-transpect.xpr), you will be able to perform the bundled Schematron check on this wrapper file. You can add an additional Schematron schema association that points to your custom Schematron.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fepubcheck-transpect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftranspect%2Fepubcheck-transpect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fepubcheck-transpect/lists"}