ospkit
clone your own copy | download snapshot

About

OSPKit

This browser is meant to be used with the project html2print available here: http://osp.kitchen/tools/html2print/. The aim is to lay out printed documents within a web browser. We built our own webkit browser in order to have a faster browser and good typography (weirdly, the bearings and kernings can be weird in certain webkit browsers).

Download

Download the zip file and decompress it (or git clone it), then go into the directory

cd tools.ospkit

QTwebkit Install

bash install-qtwebkit.sh

OSPKit Install

cd src
qmake
make

Launch the app

From the WebkitApp directory:

./OSPKit

Available shortcuts

  • Ctrl + P: Print to file
  • Ctrl + Shift + P: Print dialog (allows output page resizing)
  • Ctrl + R: Reload

    sudo ninja install

Run OSPKit with this newly-built code

 cd ..

 ./OSPKit

Does the software launch itself with a black background? If not, send us feedback on miam@osp.kitchen (we will try to help if possible). If yes, a blank window is still not really exciting :) but we are preparing a boilerplate to start really to use it!

Césures françaises

Pour installer ce dictionnaire sur votre système:

sudo apt update && sudo apt install hyphen-fr
cd /usr/share/hyphen

Déplacer le dict système qu'on vient d'installer:

sudo mv hyph_fr.dic hyph_fr.dic.orig

Remplacer le fichier par celui-ci https://gitlab.com/medor/hyph_fr/blob/master/hyph_fr_FR.dic

sudo wget -O hyph_fr.dic https://gitlab.com/medor/hyph_fr/raw/master/hyph_fr_FR.dic

Redémarrer votre navigateur web, OSPkit ou logiciel qui se sert du dict de césures

Snapshots | iceberg

Inside this repository

Log

 

Alex Leraypublished

— Basic QTBrowser prototype we made with François.

It seems to work like a charm except for printing: the scale of the
document isn't right; too small.

Sunday, 17th April 2016 - 11:56

 

Stéphanie Vilayphiousaid

— - Added comments to François and Alex's code.
- Removed zoom + and zoom - as it makes visual errors when using the
browser zoom.
- Added Ctrl+R for Reload.
- Added Ctrl + O for Print dialog (to be changed).

Thursday, 28th April 2016 - 23:39

 

Stéphanie Vilayphiourendered

— Added a Makefile and a README for others to test out.

Sunday, 1st May 2016 - 21:52

 

Stéphanie Vilayphiouexposed

— Changed shortcut for Print Dialog, it is now set on Ctrl + Shift + P.

Thursday, 5th May 2016 - 16:21

 

Stéphanie Vilayphioubabbled out

— some iceberg pictures to prove that this is working!

Thursday, 5th May 2016 - 16:26

 

Antoine-Gelgonwhistled

— installation for ubuntu users

Friday, 6th May 2016 - 17:44

 

Alex Leraydivulged

— Welcome to OSPKit!

Monday, 27th June 2016 - 14:04

 

Alex Leraylet the cat out of the bag

— Instruction to use the latest version of webkit with OSPKit

Wednesday, 20th July 2016 - 16:17

 

Alex Leraybrought out

— Extra info for QTWebkit installation

Tuesday, 9th August 2016 - 22:56

 

Alex Lerayverbalised

— An first move toward headless ospkit

Tuesday, 10th January 2017 - 17:21

 

Alex Leraylet the cat out of the bag

— Update README to test the gitlab webhook

Tuesday, 10th January 2017 - 17:30

 

Alex Leraytold

— Licence AGPL

Monday, 23rd January 2017 - 22:08

 

sarahsaid

— in QTWebkit installation don't forget to install cmake

Wednesday, 11th January 2017 - 12:28

 

sarahblabbed out

— Update README.md

Wednesday, 11th January 2017 - 15:22

 

sarahlet the cat out of the bag

— change link to webkit repo to clone

Saturday, 14th January 2017 - 20:30

 

Alex Lerayspilled the beans

— Merge branch 'master' of gitlab.constantvzw.org:osp/tools.ospkit

Monday, 23rd January 2017 - 22:09

 

alexandreblabbed

— Update README.md

Monday, 13th February 2017 - 13:17

 

alexandreblabbed

— Update README.md

Monday, 13th February 2017 - 13:29

 

alexandrediscovered

— Update README.md

Friday, 24th March 2017 - 11:44

 

Gabrieldisclosed

— updated README

Tuesday, 23rd May 2017 - 13:48

 

pierrehrevealed

— Update README.md during a session to test it with new users

Thursday, 6th July 2017 - 10:29

 

pierrehtweeted

— Update README.md

Thursday, 6th July 2017 - 10:34

 

pierrehlet on

— Update README.md

Thursday, 6th July 2017 - 10:35

 

pierrehtweeted

— Update README.md

Thursday, 6th July 2017 - 10:36

 

pierrehgave away

— Update README.md

Thursday, 6th July 2017 - 10:44

 

pierrehverbalised

— Update README.md

Thursday, 6th July 2017 - 10:46

 

pierrehconfessed

— Update README.md

Thursday, 6th July 2017 - 13:15

 

pierrehdiscovered

— Update README.md

Thursday, 6th July 2017 - 15:28

 

pierrehwhispered

— Update README.md

Thursday, 6th July 2017 - 16:48

 

pierrehsaid

— Update README.md

Thursday, 6th July 2017 - 17:17

 

pierrehblabbed out

— Update README.md

Thursday, 6th July 2017 - 17:18

 

pierrehspilled the beans

— Update README.md

Friday, 7th July 2017 - 09:27

 

svilayphiouverbalized

— Update README.md

Friday, 10th May 2019 - 12:17

 

svilayphioushouted

— Update README.md

Friday, 10th May 2019 - 12:58

 

svilayphioutold

— Add new directory

Tuesday, 14th May 2019 - 22:57

 

svilayphioudiscovered

— Upload New File

Tuesday, 14th May 2019 - 22:58

 

svilayphiouconfessed

— Upload New File

Tuesday, 14th May 2019 - 22:59

 

svilayphiousaid

— Upload New File

Tuesday, 14th May 2019 - 22:59

 

svilayphioudisclosed

— Upload New File

Tuesday, 14th May 2019 - 23:00

 

svilayphioutweeted

— Upload New File

Tuesday, 14th May 2019 - 23:00

 

svilayphioublabbed

— Upload New File

Tuesday, 14th May 2019 - 23:00

 

svilayphioutold

— Upload New File

Tuesday, 14th May 2019 - 23:00

 

svilayphioudivulged

— script d'install de qtwebkit personnalisé pour OSPkit

Friday, 17th May 2019 - 10:30

 

svilayphiougave away

— Update README.md

Friday, 17th May 2019 - 10:35