Claude 4f6a232a42 Import the project as ReKoPub před 1 dnem
..
README.md 4f6a232a42 Import the project as ReKoPub před 1 dnem

README.md

Import the project as ReKoPub

Branch feature/rekopub-import · no version change (the code is the same as the last imported commit)

What changed

  • Whole project imported from the previous repository's latest main: the CLI, internal/ packages, tests and test data, PLAN.md, SECURITY.md, build.cmd, test-examples.cmd, the GoReleaser config and the GitHub workflow files. It's a single commit with no earlier history, so the old name only survives in the old repository.
  • Renamed to ReKoPub. The project is called ReKoPub in prose and rekopub in code: the binary, cmd/rekopub/, the usage text, -VERSION output, the user agent (compatible; rekopub), error messages, the internal stand-in host for image URLs (rekopub.invalid), the build scripts, GoReleaser archive names and .gitignore.
  • New module path git.monoexp.com/bajdev/rekopub (Gogs answers ?go-get=1 for it), so go install git.monoexp.com/bajdev/rekopub/cmd/rekopub@latest works. Clone and Releases links in the README point to git.monoexp.com/bajdev/ReKoPub.
  • LICENSE: the Gogs template's <year> <copyright holders> placeholder is replaced by the project's MIT licence, Copyright (c) 2026 bajdev.
  • README.md: the project README replaces the Gogs placeholder, keeping its "Turn any web article into a clean EPUB for your e-ink reader" tagline.
  • pull-releases/: this record and the index, started with this PR.

Notes

These still describe GitHub and need a decision before the next release:

  • .github/workflows/ (CI and Release) don't run on Gogs. The README's "Releasing" section and the "CI always runs them" line describe them.
  • .goreleaser.yaml takes its changelog from GitHub and creates a draft GitHub release. Gogs can't receive GoReleaser uploads, so archives would have to be built locally and attached to a Gogs release by hand.
  • SECURITY.md asks for reports through GitHub's Security tab, which Gogs doesn't have.

Testing

  • gofmt -l . is clean; go vet ./... passes; go test ./... passes (epubcheck checks skipped: no EPUBCHECK_JAR).
  • go build -ldflags "-X main.version=dev" ./cmd/rekopub, then rekopub -VERSION prints rekopub dev and -h shows Usage: rekopub ….
  • Converted https://en.wikipedia.org/wiki/E_Ink to e-ink-wikipedia.epub (309 KB). No file in the book contains the old name.
  • A case-insensitive search for the old name across the repository finds nothing.