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édenteDernière révisionLes deux révisions suivantes | ||
php:shaarli [2012/01/26 14:01] – [Features] sebsauvage | php:shaarli [2018/11/15 09:47] – [Online example] 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 7: | ||
* 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 | + | |
- | * FeedBurner/ | + | * Brute force protected login form |
- | * Shaarli is a bookmarking application, | + | * Protected against XSRF, session cookie hijacking. |
+ | * Automatic removal of annoying | ||
+ | * 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 | Requires php 5.1 | ||
- | |||
- | (Note that autocomplete will only work if you have php 5.2 and above.) | ||
===== Screenshots ===== | ===== Screenshots ===== | ||
Ligne 41: | Ligne 46: | ||
===== 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, points always 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 66: | Ligne 80: | ||
* 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 79: | Ligne 95: | ||
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 95: | Ligne 112: | ||
* **Use Shaarli as a personal twitter**: Click "Add link" in the menu then press Enter: This will create an empty entry in Shaarli which points to itself. You can add title and your bable in description. Unlike twitter, you are not limited to 140 characters, and you are not mandated to use URL shortening services. | * **Use Shaarli as a personal twitter**: Click "Add link" in the menu then press Enter: This will create an empty entry in Shaarli which points to itself. You can add title and your bable in description. Unlike twitter, you are not limited to 140 characters, and you are not mandated to use URL shortening services. | ||
- | * **Use Shaarli as a private pastebin/ | + | * **Use Shaarli as a private pastebin/ |
===== FAQ ===== | ===== FAQ ===== | ||
Ligne 155: | Ligne 172: | ||
+ | **If you want to disable the session cookie hijacking protection**, | ||
+ | <code php> | ||
+ | to | ||
+ | <code php> | ||
==== I have a problem ==== | ==== I have a problem ==== | ||
Ligne 180: | Ligne 201: | ||
==== 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 236: | Ligne 257: | ||
* **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 242: | Ligne 264: | ||
* **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 258: | Ligne 280: | ||
===== 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