php:shaarli
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
php:shaarli [2012/01/26 14:13] – [Tips] sebsauvage | php:shaarli [2022/09/03 15:50] (Version actuelle) – sebsauvage | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | {{: | + | {{: |
You want to share the links you discover ? Shaarli is a minimalist delicious clone you can install on your own website. It is designed to be personal (single-user), | You want to share the links you discover ? Shaarli is a minimalist delicious clone you can install on your own website. It is designed to be personal (single-user), | ||
Ligne 6: | Ligne 6: | ||
* Minimalist design (simple is beautiful) | * Minimalist design (simple is beautiful) | ||
- | | + | * FAST |
* Dead-simple installation: | * Dead-simple installation: | ||
- | * Easy to use: Single button in your browser to bookmark a page | + | * Easy to use: Single button in your browser to bookmark a page (There is also an [[https:// |
* Save url, title, description (unlimited size). Classify links with tags (with autocomplete) | * Save url, title, description (unlimited size). Classify links with tags (with autocomplete) | ||
- | * Automatic thumbnails for various services (imgur, imageshack.us, | + | |
- | * Save bookmarks | + | |
+ | * Automatic conversion of URLs to clickable links in descriptions. Support for http/ | ||
+ | * Save links as public or private | ||
+ | * 1-clic access to your private links/notes | ||
* Browse links by page, filter by tag or use the full text search engine | * Browse links by page, filter by tag or use the full text search engine | ||
* Permalinks (with QR-Code) for easy reference | * Permalinks (with QR-Code) for easy reference | ||
+ | * RSS and ATOM feeds (which can be filtered by tag or text search) | ||
* Tag cloud | * Tag cloud | ||
* Picture wall (which can be filtered by tag or text search) | * Picture wall (which can be filtered by tag or text search) | ||
- | * "Links of the day" | + | * “Links of the day” Newspaper-like digest, browsable by day. |
- | * RSS and ATOM feeds (which can be filtered by tag or text search) | + | * “Daily” |
* [[https:// | * [[https:// | ||
* Easy backup (Data stored in a single file) | * Easy backup (Data stored in a single file) | ||
* Compact storage (1315 links stored in 150 kb) | * Compact storage (1315 links stored in 150 kb) | ||
- | * Can import/ | + | |
- | * Automatic ban of IP address upon too many failed logins | + | * Also works with javascript disabled |
- | * Protected against | + | |
- | * Automatic removal of annoying FeedBurner/ | + | * Brute force protected login form |
- | * Shaarli is a bookmarking application, | + | * Protected against XSRF, session cookie hijacking. |
+ | * Automatic removal of annoying FeedBurner/ | ||
+ | * Shaarli is a bookmarking application, | ||
* You will be automatically notified by a discreet popup if a new version is available | * You will be automatically notified by a discreet popup if a new version is available | ||
- | * Pages are customisable | + | * Pages are easy to customize |
- | + | | |
- | Requires php 5.1 (php 5.2 required for autocomplete.) | + | Requires php 5.1 |
===== Screenshots ===== | ===== Screenshots ===== | ||
Ligne 39: | Ligne 45: | ||
===== Online example ===== | ===== Online example ===== | ||
- | http:// | ||
- | Note that the admin interface is not available. | + | My own instance: https:// |
+ | |||
+ | (Note that the admin interface is not available.) | ||
===== Download ===== | ===== Download ===== | ||
- | You can download Shaarli here: [[http://sebsauvage.net/files/shaarli_0.0.36beta.zip|shaarli_0.0.36beta.zip]] | + | < |
- | ( Static URL, always points to the latest | + | * **Latest |
+ | * < | ||
+ | * https:// | ||
===== Licence ===== | ===== Licence ===== | ||
Shaarli is under the [[http:// | Shaarli is under the [[http:// | ||
+ | ===== Credits ===== | ||
+ | |||
+ | * Developer & maintainer: [[https:// | ||
+ | * Shaarli visual design & logo : [[http:// | ||
+ | * Shaarli logo typeface: "Comic Andy" used with the kind permission of [[http:// | ||
+ | * Thanks to the many many people who contributed patches. | ||
===== Installation ===== | ===== Installation ===== | ||
Ligne 64: | Ligne 79: | ||
* On **free.fr** : Don't forget to create a directory ' | * On **free.fr** : Don't forget to create a directory ' | ||
SetEnv PHP_VER 5</ | SetEnv PHP_VER 5</ | ||
+ | * If you have an error such as: < | ||
* On **1and1** : If you add the link from the page (and not from the bookmarklet), | * On **1and1** : If you add the link from the page (and not from the bookmarklet), | ||
+ | * On hosts which forbid outgoing HTTP requests (such as free.fr), some thumbnails will not work. | ||
* Conclusion: Most php hosts are crap. | * Conclusion: Most php hosts are crap. | ||
Ligne 77: | Ligne 94: | ||
This bookmarklet button in compatible with Firefox, Opera, Chrome and Safari. | This bookmarklet button in compatible with Firefox, Opera, Chrome and Safari. | ||
+ | Under Opera, you can't drag'n drop the button: You have to right-click on it and add a bookmark to your personal toolbar. | ||
==== Sharing a link ==== | ==== Sharing a link ==== | ||
Ligne 153: | Ligne 171: | ||
+ | **If you want to disable the session cookie hijacking protection**, | ||
+ | <code php> | ||
+ | to | ||
+ | <code php> | ||
==== I have a problem ==== | ==== I have a problem ==== | ||
Ligne 178: | Ligne 200: | ||
==== Why not use a real database ? Files are slow ! ==== | ==== Why not use a real database ? Files are slow ! ==== | ||
- | Do browsing [[http:// | + | Do browsing [[https:// |
- | It's not slow at all, is it ? And don't forget the database contains more than 9200 links, and it's //on a shared host//, with 17000 visitors/ | + | It's not slow at all, is it ? And don't forget the database contains more than 16000 links, and it's //on a shared host//, with 32000 visitors/ |
- | The data file is only 1,5 Mb. It's read 99% of the time, and is probably already in the operation system disk cache. So generating a page involves no I/O at all most of the time. | + | The data file is only 3.7 Mb. It's read 99% of the time, and is probably already in the operation system disk cache. So generating a page involves no I/O at all most of the time. |
===== Technical details ===== | ===== Technical details ===== | ||
Ligne 234: | Ligne 256: | ||
* **jquery-ui.min.js** : jQuery-UI javascript library. | * **jquery-ui.min.js** : jQuery-UI javascript library. | ||
* **jquery-MIT-LICENSE.txt**: | * **jquery-MIT-LICENSE.txt**: | ||
+ | * **jquery.lazyload.min.js**: | ||
* **rain.tpl.class.php** : RainTPL templating library. | * **rain.tpl.class.php** : RainTPL templating library. | ||
* **tpl/** : RainTPL templates for Shaarli. They are used to build the pages. | * **tpl/** : RainTPL templates for Shaarli. They are used to build the pages. | ||
Ligne 240: | Ligne 263: | ||
* **config.php** : Shaarli configuration (login, password, timezone, title...) | * **config.php** : Shaarli configuration (login, password, timezone, title...) | ||
* **datastore.php** : Your link database (compressed). | * **datastore.php** : Your link database (compressed). | ||
- | * **ipband.php** : IP address ban system data. | + | * **ipban.php** : IP address ban system data. |
* **lastupdatecheck.txt** : Update check timestamp file (used to check every 24 hours if a new version of Shaarli is available). | * **lastupdatecheck.txt** : Update check timestamp file (used to check every 24 hours if a new version of Shaarli is available). | ||
* **log.txt** : login/IPban log. | * **log.txt** : login/IPban log. | ||
Ligne 256: | Ligne 279: | ||
===== Discussion ===== | ===== Discussion ===== | ||
- | You can discuss | + | If you have a bug report or a new feature suggestion, please add them in the [[https:// |
+ | |||
+ | Alternatively, |
php/shaarli.txt · Dernière modification : 2022/09/03 15:50 de sebsauvage