|
vor 7 Jahren | |
---|---|---|
bin | vor 7 Jahren | |
libriis | vor 7 Jahren | |
.gitignore | vor 7 Jahren | |
MANIFEST.in | vor 7 Jahren | |
agpl-3.0.txt | vor 7 Jahren | |
readme.md | vor 7 Jahren | |
requirements.txt | vor 7 Jahren | |
setup.py | vor 7 Jahren | |
start | vor 7 Jahren |
A Markup Cascading Styles Printing software.
Inspired by html2print from osp, you can write and organize your contents with markdown, design your layout with css and js, export to pdf and share your work with git.
Libriis is developed with python and pyqt5, if you are confident with theese tools you should be able to build the app.
!! following install code is not yet functional !!
For Arch Linux and derivated distro, an aur package exists :
yaourt -S libriis-git
dependences
apt-get install qt5-base pandoc python3 python3-pyqt5 python3-pip
pip3 install sass markdown beautifulsoup4 pypandoc pygments setuptools pyphen
clone
git clone https://figureslibres.io/gogs/bachir/libriis.git
cd libriis
python3 start
install
python3 setup.py install --optimize=1 -f
for now, pdf export needs a custom build of qtwebkit, see ospkit
sudo apt-get install build-essential perl python ruby flex gperf bison \
cmake ninja-build libfontconfig1-dev libicu-dev libsqlite3-dev \
zlib1g-dev libpng12-dev libjpeg-dev libxslt1-dev libxml2-dev libhyphen-dev
git clone -b ospkit --single-branch https://github.com/aleray/webkit.git
cd webkit
WEBKIT_OUTPUTDIR=`pwd`/build/qt
Tools/Scripts/build-webkit --qt --release --no-web-audio --no-video
cd build/qt/Release
sudo ninja install
[] add git features [] handle pictures [] embed custom build of qtwebkit specialized in print (eg remove video)