Shaarli Stack is a theme for Shaarli, the personal, minimalist, bookmarking service.
Stack has been updated for Shaarli 0.15.0
You can have a preview here : https://liens.rolandtisserand.fr/ or here (with custom user.css) : https://index.rolandtisserand.fr/
Stack offers three display modes : small / medium /large.
The admin can set a default view and the user choose antoher one. The display is persistent, thanks to localStorage.
By default, Stack use prefers-color-scheme to match the user display.
You can also use the default colors plugin to set anything else.
Thanks to Shaarli-Material, Stack now use the config.json.php,
to add options.
- You can choose the default view (small/medium/large). The user will still be free to set & save a different one.
- Hide the Daily tab (I never use it).
- Add a direct link to make a note (and save one clic!)
Options are stored in data/config.json.php :
"config": { "STACK_HIDE_DAILY": true, "STACK_SHOW_NOTE": true, "STACK_DEFAULT_UI": "small" // small, medium or large },
Your data/config.json.php should look like :
// ... "resource": { "data_dir": "data", "config": "data/config.php", "datastore": "data/datastore.php", "ban_file": "data/ipbans.php", "updates": "data/updates.txt", "log": "data/log.txt", "update_check": "data/lastupdatecheck.txt", "history": "data/history.php", "raintpl_tpl": "tpl/", "theme": "stack", "raintpl_tmp": "tmp/", "thumbnails_cache": "cache", "page_cache": "pagecache" }, "config": { "STACK_HIDE_DAILY": true, "STACK_SHOW_NOTE": true, "STACK_DEFAULT_UI": "small" }, //...
- markdown toolbar
- addlink toolbar
- default colors
- persistags
- playvideos
- qrcode
- wallabag
- readitlater
Upload stack folder to the /tpl/ folder.
Activate it through admin panel.
- Better accessibility
- Optimize JS