MyShaarly is a fork of https://github.com/shaarli/Shaarli. It build for my usage, feel free to try.
Go to file
ArthurHoaro 4e3875c0ce Feature: highlight fulltext search results
How it works:

  1. when a fulltext search is made, Shaarli looks for the first
occurence position of every term matching the search. No change here,
but we store these positions in an array, in Bookmark's additionalContent.
  2. when formatting bookmarks (through BookmarkFormatter
implementation):
    1. first we insert specific tokens at every search result positions
    2. we format the content (escape HTML, apply markdown, etc.)
    3. as a last step, we replace our token with displayable span
elements

Cons: this tightens coupling between search filters and formatters
Pros: it was absolutely necessary not to perform the
search twice. this solution has close to no impact on performances.

Fixes #205
2020-10-16 20:31:12 +02:00
.dev Upgrade front end dependencies 2020-09-22 17:51:42 +02:00
.docker docker: build the images from the local sources 2018-06-17 01:02:50 +02:00
.github Update CHANGELOG and AUTHOR 2020-09-30 11:55:51 +02:00
application Feature: highlight fulltext search results 2020-10-16 20:31:12 +02:00
assets Feature: highlight fulltext search results 2020-10-16 20:31:12 +02:00
cache .htaccess files: support Apache 2.4+ syntax 2016-11-08 11:38:14 +01:00
data Fix: enable access to data/user.css (Apache 2.2 & 2.4) 2017-10-16 19:41:22 +02:00
doc Doc: typo 2020-10-16 19:20:45 +02:00
inc Improve Manage tags page 2020-10-16 20:03:25 +02:00
pagecache .htaccess files: support Apache 2.4+ syntax 2016-11-08 11:38:14 +01:00
plugins Inject ROOT_PATH in plugin instead of regenerating it everywhere 2020-10-16 13:06:06 +02:00
tests Strict types: fix an issue in daily where the date could be an int 2020-10-16 12:04:46 +02:00
tmp .htaccess files: support Apache 2.4+ syntax 2016-11-08 11:38:14 +01:00
tpl Feature: highlight fulltext search results 2020-10-16 20:31:12 +02:00
.dockerignore Provide a Docker Compose example 2018-07-12 21:48:48 +02:00
.editorconfig Process picwall rendering through Slim controller + UT 2020-07-23 21:19:21 +02:00
.gitattributes Provide a Docker Compose example 2018-07-12 21:48:48 +02:00
.gitignore WIP - Plugin to override default template colors 2019-07-08 23:20:56 +02:00
.htaccess Workaround for hoster (ionos) 2020-09-29 12:15:04 +02:00
.readthedocs.yml docs: add readthedocs configuration file 2019-03-30 17:07:31 +01:00
.travis.yml Ignore PHP deps when removing phpunit in PHP 8.0 environment 2020-09-29 18:57:25 +02:00
AUTHORS CHANGELOG and AUTHORS for v0.12.0 2020-10-13 11:44:31 +02:00
CHANGELOG.md CHANGELOG and AUTHORS for v0.12.0 2020-10-13 11:44:31 +02:00
composer.json Add mutex on datastore I/O operations 2020-10-13 12:38:19 +02:00
composer.lock Add mutex on datastore I/O operations 2020-10-13 12:38:19 +02:00
CONTRIBUTING.md migrated Github wiki links to readthedocs 2017-08-26 09:40:57 +02:00
COPYING Update COPYING 2018-04-05 20:30:00 +02:00
docker-compose.yml docker-compose.yml: pin traefik image to 1.7-alpine 2020-10-03 14:35:06 +02:00
Dockerfile Fix Docker build: gcc is no longer included in python alpine image 2020-07-23 21:05:10 +02:00
Dockerfile.armhf Fix missing php7-simplexml plugin 2020-05-23 14:26:04 +02:00
index.php Add manual configuration for root URL 2020-09-12 21:39:01 +02:00
init.php Add mutex on datastore I/O operations 2020-10-13 12:38:19 +02:00
Makefile Merge pull request #1566 from nodiscc/makefile-composer-install 2020-09-30 11:12:17 +02:00
mkdocs.yml **General rewording, proof-reading, deduplication, shortening, reordering, simplification, cleanup/formatting/standardization** 2020-09-12 14:31:45 +02:00
package.json Upgrade front end dependencies 2020-09-22 17:51:42 +02:00
phpcs.xml lint: setup PHPCS for PSR-1 and PSR-2 2018-12-02 22:39:16 +01:00
phpdoc.dist.xml doc: add phpDocumentor configuration 2019-01-18 22:24:58 +01:00
phpunit.xml Run languages tests using PHPUnit test suites 2017-03-06 21:11:18 +01:00
README.md Update badge versions 2020-10-13 12:01:19 +02:00
shaarli_version.php Use 'dev' version on the master branch 2017-03-12 15:05:59 +01:00
webpack.config.js Upgrade front end dependencies 2020-09-22 17:51:42 +02:00
yarn.lock Upgrade front end dependencies 2020-09-22 17:51:42 +02:00

Shaarli logo

The personal, minimalist, super-fast, database free, bookmarking service.

Do you want to share the links you discover? Shaarli is a minimalist link sharing service that you can install on your own server. It is designed to be personal (single-user), fast and handy.

Join the chat at https://gitter.im/shaarli/Shaarli Bountysource Docker repository

Quickstart

Demo

You can use this public demo instance of Shaarli. It runs the latest development version of Shaarli and is updated/reset daily.

Login: demo; Password: demo

License

Shaarli is Free Software. See COPYING for a detail of the contributors and licenses for each individual component.