All Projects → kalvn → Shaarli Material

kalvn / Shaarli Material

Licence: mit
Shaarli Material is a theme for Shaarli, the famous personal, minimalist, super-fast, database free, bookmarking service.

Projects that are alternatives of or similar to Shaarli Material

remark-bookmarks
plugin to manage links
Stars: ✭ 15 (-93.42%)
Mutual labels:  bookmark, link
Bkmrkd
Bkmrkd is a self-hosted, lightweight bookmarking service run on node.js and rethinkdb
Stars: ✭ 52 (-77.19%)
Mutual labels:  self-hosted, bookmark
Segnalibro
Save and comment your favorite links from the web. It's just a bookmarking application.
Stars: ✭ 14 (-93.86%)
Mutual labels:  bookmark, self-hosted
Reminiscence
Self-Hosted Bookmark And Archive Manager
Stars: ✭ 1,303 (+471.49%)
Mutual labels:  self-hosted, bookmark
web
Cloverleaf is a free, open source app to replace your password manager without storing your passwords anywhere.
Stars: ✭ 33 (-85.53%)
Mutual labels:  material, self-hosted
Cardboard
A better New Tab Page with sleek google design and useful features
Stars: ✭ 152 (-33.33%)
Mutual labels:  bookmark, material
Viewscreen
Viewscreen - a personal video streaming server
Stars: ✭ 215 (-5.7%)
Mutual labels:  self-hosted
Simplesearchview
A simple SearchView for Android based on Material Design
Stars: ✭ 222 (-2.63%)
Mutual labels:  material
Matblazor
Material Design components for Blazor and Razor Components
Stars: ✭ 2,599 (+1039.91%)
Mutual labels:  material
Materialize Blog
redesign blog using material design
Stars: ✭ 212 (-7.02%)
Mutual labels:  material
Ragtextfield
Subclass of UITextField that adds an animated placeholder and an optional hint label below the text.
Stars: ✭ 227 (-0.44%)
Mutual labels:  material
Miscord
Facebook Messenger to Discord bridge
Stars: ✭ 225 (-1.32%)
Mutual labels:  link
Material Admin
Free Material Admin Template
Stars: ✭ 219 (-3.95%)
Mutual labels:  material
Rplibs
Refs.cn 原型设计元件库,基于Axure RP 10/9/8,支持 Android、Apple、Windows、微信,移动、桌面平台的应用和网站原型设计。五年历程 2.6k+ star,感谢大家使用。
Stars: ✭ 2,622 (+1050%)
Mutual labels:  material
Alfred Pinboard Rs
Alfred Workflow for Pinboard (Rust)
Stars: ✭ 223 (-2.19%)
Mutual labels:  bookmark
Shrine Materialdesign2
implementation of Material Design 2 Shrine project
Stars: ✭ 215 (-5.7%)
Mutual labels:  material
Discord History Tracker
Browser script that saves Discord chat history into a file, and an offline viewer that displays the file.
Stars: ✭ 224 (-1.75%)
Mutual labels:  bookmark
Webstackpage.github.io
❤️静态响应式网址导航网站 - webstack.cc
Stars: ✭ 3,054 (+1239.47%)
Mutual labels:  bookmark
Bookmarks.dev
Bookmarks and Code Snippets Manager for Developers & Co
Stars: ✭ 218 (-4.39%)
Mutual labels:  bookmark
Angular Awesome List
Список ресурсов по Angular на русском
Stars: ✭ 224 (-1.75%)
Mutual labels:  material

Shaarli Material Theme

Shaarli Material is a theme for Shaarli, the famous personal, minimalist, super-fast, database free, bookmarking service.

Screenshots

Shaarli Material Screenshot Home

More screenshots.

Compatibility

Shaarli Material follows the exact same versions numbers than Shaarli. It means that if you install Shaarli vX.Y.Z, you must use Shaarli Material vX.Y.Z.

Shaarli Material was tested and validated with Shaarli 0.12.1.

Download

To download this theme, visit this page and choose the most recent version matching the version of your Shaarli installation. Both use the same notation.

Versions suffixed by -patch.x include some bugfix so take those preferentially if they exist for the version that fits your Shaarli installation.

If you install an older version, please read the README.md file you'll find in the root folder rather than this one.

Installation

Download the material folder into the tpl directory of your Shaarli installation next to the default directory.

Access your Shaarli and finish the setup process. Then, go into menu Tools > Configure your Shaarli and change the setting Theme to Material.

You can now enjoy your new Material theme.

Customization

You can add your own CSS rules in file data/user.css. You'll find an example that shows how to change the whole theme color in user.example.css.

You can customize a few things using the data/config.json.php file of your Shaarli installation. If the file doesn't exist, just create it. Be careful to respect the JSON format notation (end lines with a comma except for the last item, just before the closing curly brace), otherwise you'll get errors.

Here are parameters you can set.

  • config.MATERIAL_PHP_DATE_PATTERN (optional): Customizes the date format. Check this to know what to write: https://php.net/manual/function.strftime.php (ex: "%d/%m/%Y" will output for example '30/05/2015').
  • config.MATERIAL_NO_QRCODE (optional): Removes the QR code control of the theme. To completely get rid of QR Codes, you of course need to disable the qrcode plugin as well.
  • config.MATERIAL_COLOR (optional): Customizes the theme's colors. It's used for example on Android for notification bar. It will generate <meta name="theme-color" content="YOURCOLORHERE">.

Here is an example of what you can configure (in real life, there will be other parameters in the file, just add those to the different categories):

{
    "resource": {
        "raintpl_tpl": "tpl\/material\/"
    },

    "config": {
        "MATERIAL_PHP_DATE_PATTERN": "%d\/%m\/%Y %H:%M:%S",
        "MATERIAL_NO_QRCODE": true,
        "MATERIAL_COLOR": "#607D8B"
    }
}

Add custom resources

If you want to add your custom scripts or styles (for example analytics script), you must create a new template named extra.html in the material folder. Then, anything you add in this file will be included at the end of the <head> tag.

This file is NOT commited on the repository, which allows you to update the theme without overriding this file.

Plugins

As from Shaarli v0.6.0, you can install plugins to enrich your experience. Most of them should work properly, although it's up to the plugin developer to ensure the code is as minimal as possible to integrates well in custom themes. I tested all plugins available with Shaarli 0.6.0 and they all work well even though the display is a bit weird for some of them. I will keep monitoring the behavior of popular plugins in the future.

Libraries used

This theme uses a few JavaScript libraries.

Demo

A read-only demo is available on my personal Shaarli : https://links.kalvn.net

Develop and debug

To tweak this theme, you'll need to install dependencies and to build JavaScript and CSS libraries. To do this, install Node.js and NPM and run this from the root folder:

$ npm install
$ npm run dev

Build for production

$ npm install
$ npm run build

You can download Shaarli via the Github project page: https://github.com/shaarli/Shaarli

Original project page: http://sebsauvage.net/wiki/doku.php?id=php:shaarli

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].