EPUB reader written in Haskell
  • Haskell 91.7%
  • Scheme 4.7%
  • Shell 3.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marko Andjelic fab1d6b84c Add persistence module
This will allow us to save the last chapter the user read, thus making it easier to track progress.

Implement persistence module

saveLastRead saves the chapter after each new one is read and writes it to xdgdata
2026-01-26 08:32:20 +00:00
app Add persistence module 2026-01-26 08:32:20 +00:00
.gitignore add gitignore 2026-01-20 22:37:24 -04:00
LICENSE Initialization 2026-01-21 01:23:54 +00:00
README.md Initialization 2026-01-21 01:23:54 +00:00
svitak.cabal Add directory to dependencies 2026-01-26 07:48:08 +00:00

Svitak 📖

A minimal EPUB parser and reader written in Haskell.

Installation

System prerequisites:

  • GHC ≥ 9.10
  • GTK / WebKit system libraries (required by gi-gtk and gi-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