{"id":13760672,"url":"https://github.com/pgaskin/kepubify","last_synced_at":"2025-12-15T03:57:52.996Z","repository":{"id":39857803,"uuid":"98585722","full_name":"pgaskin/kepubify","owner":"pgaskin","description":"Fast, standalone EPUB to Kobo EPUB conversion tool.","archived":false,"fork":false,"pushed_at":"2025-05-04T20:13:22.000Z","size":9442,"stargazers_count":721,"open_issues_count":24,"forks_count":42,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-04T20:34:47.920Z","etag":null,"topics":["command-line-tool","conversion","converter","ebook","ebooks","epub","file-conversion","file-converter","go","golang","kepub","kobo"],"latest_commit_sha":null,"homepage":"https://pgaskin.net/kepubify","language":"Go","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/pgaskin.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":"2017-07-27T22:48:57.000Z","updated_at":"2025-05-04T10:57:39.000Z","dependencies_parsed_at":"2023-10-14T22:44:44.185Z","dependency_job_id":"76cd7ea1-5d3f-4476-a306-a4996199ea21","html_url":"https://github.com/pgaskin/kepubify","commit_stats":null,"previous_names":["geek1011/kepubify"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fkepubify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fkepubify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fkepubify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Fkepubify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgaskin","download_url":"https://codeload.github.com/pgaskin/kepubify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190395,"owners_count":22029632,"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":["command-line-tool","conversion","converter","ebook","ebooks","epub","file-conversion","file-converter","go","golang","kepub","kobo"],"created_at":"2024-08-03T13:01:16.314Z","updated_at":"2025-12-15T03:57:52.916Z","avatar_url":"https://github.com/pgaskin.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ekepubify\u003c/h1\u003e\n\n**Kepubify converts EPUBs to Kobo EPUBs.** \u003ca href=\"https://github.com/pgaskin/kepubify/actions/workflows/kepubify.yml\"\u003e\u003cimg src=\"https://github.com/pgaskin/kepubify/actions/workflows/kepubify.yml/badge.svg?branch=master\u0026event=push\" align=\"right\"/\u003e\u003c/a\u003e\n\n**[`Website`](https://pgaskin.net/kepubify/)** \u0026nbsp; **[`Download`](https://pgaskin.net/kepubify/dl/)** \u0026nbsp; **[`Documentation`](https://pgaskin.net/kepubify/docs/)** \u0026nbsp; **[`Web Version`](https://pgaskin.net/kepubify/try/)** \u0026nbsp; **[`pkg.go.dev`](https://pkg.go.dev/github.com/pgaskin/kepubify/v4)**\n\n## About\n\nKepubify is standalone (it also works as a library or a webapp), converts most books in a fraction of a second (40-80x faster than Calibre), handles malformed HTML/XHTML without causing further issues, has multiple optional conversion options (punctuation smartening, custom CSS, text replacement, and more), has a full test suite, is interoperable with other applications, and is safe to use with untrusted books.\n\nTwo additional standalone utilities are included with kepubify. [`covergen`](./cmd/covergen) pre-generates cover images to speed up library browsing on Kobo eReaders while providing higher-quality resizing. [`seriesmeta`](./cmd/seriesmeta) scans for EPUBs and KEPUBs, and updates the Kobo database with the Calibre or EPUB3 series metadata.\n\nSee the [releases](https://github.com/pgaskin/kepubify/releases/latest) page for pre-built binaries for Windows, Linux, and macOS. See the [website](https://pgaskin.net/kepubify/) for more [documentation](https://pgaskin.net/kepubify/docs/), pre-built [binaries](https://pgaskin.net/kepubify/dl/) for Windows, Linux, and macOS, and a [web version](https://pgaskin.net/kepubify/try/).\n \n## Building\n\nKepubify requires Go 1.16 or later. To install kepubify directly, run `go install github.com/pgaskin/kepubify@latest`. To build from source, clone this repository, and run `go build ./cmd/kepubify`.\n\nOn Go 1.17 or later, additional optimizations are automatically used to significantly improve kepubify's performance by preventing unchanged files from being re-compressed. To use a [backported](https://github.com/pgaskin/kepubify/tree/forks/go116-zip.go117) version of these optimizations on Go 1.16, add the option `-tags zip117` to the build/install command. If you are using kepubify as a library in another application with `-tags zip117` enabled on Go 1.16, it must also use the backported package when passing a `*zip.Reader` to `(*kepub.Converter).Transform`.\n\nTo build `seriesmeta`, a C compiler must be installed and CGO must be enabled.\n\nNote that kepubify uses a custom [fork](https://github.com/pgaskin/kepubify/tree/forks/html) of [`golang.org/x/net/html`](https://pkg.go.dev/golang.org/x/net/html). This fork provides additional options used by kepubify to allow reading malformed HTML/XHTML and to produce polyglot HTML/XHTML output for maximum compatibility. Previously, kepubify replaced it using a `replace` directive in `go.mod`, but since the fork is now a standalone package, this is not necessary anymore, and will no longer cause conflicts if used as a dependency in applications requiring `golang.org/x/net/html` directly.\n\n## Branches\n\nThis repository contains multiple main branches with code used by kepubify.\n\n| Branch | Description | Status |\n| --- | --- | --- |\n| [master](https://github.com/pgaskin/kepubify/tree/master) | Kepubify, seriesmeta, and covergen (this branch). | [![kepubify](https://github.com/pgaskin/kepubify/actions/workflows/kepubify.yml/badge.svg?branch=master\u0026event=push)](https://github.com/pgaskin/kepubify/actions/workflows/kepubify.yml) |\n| [gh-pages](https://github.com/pgaskin/kepubify/tree/gh-pages) | Kepubify website and JS/WASM library. | [![website](https://github.com/pgaskin/kepubify/actions/workflows/website.yml/badge.svg?branch=gh-pages\u0026event=push)](https://github.com/pgaskin/kepubify/actions/workflows/website.yml) |\n| [forks/html](https://github.com/pgaskin/kepubify/tree/forks/html) | Fork of [golang.org/x/net/html](https://pkg.go.dev/golang.org/x/net/html) with additional features and modifications required by kepubify. | [![forks - html](https://github.com/pgaskin/kepubify/actions/workflows/_html.yml/badge.svg?branch=forks%2Fhtml\u0026event=push)](https://github.com/pgaskin/kepubify/actions/workflows/_html.yml) |\n| [forks/go116-zip.go117](https://github.com/pgaskin/kepubify/tree/forks/go116-zip.go117) | Fork of [archive/zip](https://pkg.go.dev/archive/zip) from Go 1.17 backported to Go 1.16 for performance improvements. | [![forks - go116-zip.go117](https://github.com/pgaskin/kepubify/actions/workflows/_go116-zip.go117.yml/badge.svg?branch=forks%2Fgo116-zip.go117\u0026event=push)](https://github.com/pgaskin/kepubify/actions/workflows/_go116-zip.go117.yml) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgaskin%2Fkepubify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgaskin%2Fkepubify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgaskin%2Fkepubify/lists"}