initial commit

This commit is contained in:
2024-09-12 14:13:51 -07:00
commit dd6e0118bd
4 changed files with 20 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*~

3
Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM debian
RUN apt update && apt install -y calibre libcairo2-dev fonts-noto fonts-noto-cjk pipenv && rm -r /var/lib/apt/lists/* && pipenv install cchardet==2.2.0a2 && pipenv install ebookmaker
ENTRYPOINT ["pipenv", "run", "ebookmaker"]

10
README.md Normal file
View File

@@ -0,0 +1,10 @@
Ebookmaker for Docker
=====================
This packages up Project Gutenberg's
[Ebookmaker](https://github.com/gutenbergtools/ebookmaker) to run under
Docker. I'm working on my own Gutenberg mirror that will download HTML
source from Project Gutenberg, produce EPUB and Kindle files from the
source, and generate a web interface to make it usable, as it appears that
the Kiwix mirror I've been using up to now is no longer being updated.

6
build.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
registry=cr.gitlab.alfter.us:443
tag=salfter/ebookmaker:latest
docker build -t $tag . && \
docker tag $tag $registry/$tag && \
docker push $registry/$tag