forked from marko/svitak
EPUB reader written in Haskell
- Haskell 92%
- Scheme 4.5%
- Shell 3.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The dev shell (guix shell -D) has the full toolchain and network, so the build happens there. The isolated 'guix shell -C -N' container only runs the already-compiled binary, which needs just the GTK/WebKit C libraries via LD_LIBRARY_PATH. Also export WEBKIT_DISABLE_COMPOSITING_MODE and WEBKIT_DISABLE_DMABUF_RENDERER, without which WebKit renders a blank surface inside the sandbox. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
| app | ||
| test | ||
| .envrc | ||
| .gitignore | ||
| guix.scm | ||
| LICENSE | ||
| README.md | ||
| run-svitak.sh | ||
| svitak.cabal | ||
Svitak 📖
A minimal EPUB parser and reader written in Haskell.
Installation
System prerequisites:
- GHC ≥ 9.10
- GTK / WebKit system libraries (required by
gi-gtkandgi-webkit)
Dependencies
Arch:
sudo pacman -S \
ghc cabal-install \
gtk4 \
webkitgtk-6.0 \
gobject-introspection \
pkgconf
Feel free to make a pull request for instructions regarding your OS/distro
Clone the repo
git clone "https://git.ajattix.org/castelia/svitak.git" && cd svitak
Building
Update the package index (optional but recommended):
cabal update
Proceed with building:
cabal build