Crates.io | eloran |
lib.rs | eloran |
version | 0.2.0 |
source | src |
created_at | 2023-06-24 20:53:38.839735 |
updated_at | 2023-12-09 14:49:12.830465 |
description | Comics and Ebook web library written in rust, with reading, search, reading status, bookmarks... |
homepage | |
repository | https://github.com/thasos/eloran.git |
max_upload_size | |
id | 899123 |
size | 1,159,264 |
Comics and Ebook web library written in rust, with reading, search, reading status, bookmarks...
I used Ubooquity during a few years, but unfortunatly it is not opensource, and there is no read status, so I decided to find another solution.
I tried some alternatives :
So here I am, a personal project named after my childrens (Elora and Revan).
Feel free to use, improve, and cry to my low code quality !
I know this is AWFUL ðĪŪ, I have not worked on the css yet, please be patient (or help meeeee ð) !
Feel free to customize listen port and path...
podman pull ghcr.io/thasos/eloran:latest
podman run -d -p 0.0.0.0:3200:3200 \
-v /host_data/eloran/sqlite:/opt/eloran/sqlite \
-v /host_data/library:/library \
--name eloran \
ghcr.io/thasos/eloran:latest
For now you need the css
directory, so the simpliest way is to clone sources and build it with cargo, a usable binary and docker image will be available soon.
git clone https://github.com/thasos/eloran.git
cd eloran
just build
target/x86_64-unknown-linux-gnu/release/eloran
If you do note use just, use it ð or just launch cargo build --release
Nix :
nix-shell shell.nix
Arch :
sudo pacman -S libarchive cairo poppler-glib
# if you want to package it in alpine image
sudo pacman -S musl
Debian/ubuntu :
sudo apt install libarchive-dev libcairo2-dev libpoppler-glib-dev
# if you want to package it in alpine image
sudo apt install musl-dev
Fedora :
sudo dnf install rust-glib-sys-devel.noarch
sudo dnf install rust-cairo-sys-rs0.16-devel.noarch
sudo dnf install cairo-gobject-devel.x86_64
sudo dnf install poppler-glib-devel.x86_64
sudo dnf install libarchive-devel.x86_64
fn create_router()
in src/http_server.rs)library_path
cover.jpg
files for directories (or use first file's cover ?)