Compare commits

...

3 Commits

Author SHA1 Message Date
Thomas Moreau
d952b7b018
Merge 8ba9092d9cbe19d8a31fe0d98eb14d2acf38607f into c9df70fbb3105dce9c9fde6f6c3f79bd342952f8 2024-12-24 00:25:27 +01:00
c9df70fbb3
add UI links
https://github.com/celogeek/go-comic-converter/issues/39
2024-10-27 15:06:09 +01:00
thomor
8ba9092d9c feat: Made the packages public
In order to let third parties use the package of this library, we moved
the pkg folder out of the locked internal folder
2024-09-24 22:37:00 +02:00
43 changed files with 34 additions and 30 deletions

View File

@ -585,3 +585,7 @@ This project is largely inspired from KCC (Kindle Comic Converter). Thanks:
- [ciromattia](https://github.com/ciromattia/kcc) - [ciromattia](https://github.com/ciromattia/kcc)
- [darodi fork](https://github.com/darodi/kcc) - [darodi fork](https://github.com/darodi/kcc)
# UI
Thanks for UI contribution:
- [manueldidonna / Comic2Books](https://github.com/manueldidonna/comic2books)

View File

@ -14,10 +14,10 @@ import (
"github.com/tcnksm/go-latest" "github.com/tcnksm/go-latest"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/converter" "github.com/celogeek/go-comic-converter/v2/pkg/converter"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epub" "github.com/celogeek/go-comic-converter/v2/pkg/epub"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epuboptions" "github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
func main() { func main() {

View File

@ -18,7 +18,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type Converter struct { type Converter struct {

View File

@ -10,7 +10,7 @@ import (
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type Options struct { type Options struct {

View File

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type Profile struct { type Profile struct {

View File

@ -14,14 +14,14 @@ import (
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimage" "github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimageprocessor" "github.com/celogeek/go-comic-converter/v2/pkg/epubimageprocessor"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epuboptions" "github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubprogress" "github.com/celogeek/go-comic-converter/v2/pkg/epubprogress"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubtemplates" "github.com/celogeek/go-comic-converter/v2/pkg/epubtemplates"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubtree" "github.com/celogeek/go-comic-converter/v2/pkg/epubtree"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubzip" "github.com/celogeek/go-comic-converter/v2/pkg/epubzip"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type EPUB struct { type EPUB struct {

View File

@ -5,7 +5,7 @@ import (
"image" "image"
"strings" "strings"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type EPUBImage struct { type EPUBImage struct {

View File

@ -27,9 +27,9 @@ import (
pdfimage "github.com/raff/pdfreader/image" pdfimage "github.com/raff/pdfreader/image"
"github.com/raff/pdfreader/pdfread" "github.com/raff/pdfreader/pdfread"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/sortpath" "github.com/celogeek/go-comic-converter/v2/pkg/sortpath"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type task struct { type task struct {

View File

@ -9,12 +9,12 @@ import (
"github.com/disintegration/gift" "github.com/disintegration/gift"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimage" "github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimagefilters" "github.com/celogeek/go-comic-converter/v2/pkg/epubimagefilters"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epuboptions" "github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubprogress" "github.com/celogeek/go-comic-converter/v2/pkg/epubprogress"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubzip" "github.com/celogeek/go-comic-converter/v2/pkg/epubzip"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type EPUBImageProcessor struct { type EPUBImageProcessor struct {

View File

@ -1,7 +1,7 @@
package epuboptions package epuboptions
import ( import (
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type View struct { type View struct {

View File

@ -9,7 +9,7 @@ import (
"github.com/schollz/progressbar/v3" "github.com/schollz/progressbar/v3"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type Options struct { type Options struct {

View File

@ -3,9 +3,9 @@ package epubtemplates
import ( import (
"github.com/beevik/etree" "github.com/beevik/etree"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimage" "github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epuboptions" "github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils" "github.com/celogeek/go-comic-converter/v2/pkg/utils"
) )
type Content struct { type Content struct {

View File

@ -6,7 +6,7 @@ import (
"github.com/beevik/etree" "github.com/beevik/etree"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimage" "github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
) )
// Toc create toc // Toc create toc