MyShaarly is a fork of https://github.com/shaarli/Shaarli. It build for my usage, feel free to try.
4e3875c0ce
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 |
||
---|---|---|
.dev | ||
.docker | ||
.github | ||
application | ||
assets | ||
cache | ||
data | ||
doc | ||
inc | ||
pagecache | ||
plugins | ||
tests | ||
tmp | ||
tpl | ||
.dockerignore | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.htaccess | ||
.readthedocs.yml | ||
.travis.yml | ||
AUTHORS | ||
CHANGELOG.md | ||
composer.json | ||
composer.lock | ||
CONTRIBUTING.md | ||
COPYING | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile.armhf | ||
index.php | ||
init.php | ||
Makefile | ||
mkdocs.yml | ||
package.json | ||
phpcs.xml | ||
phpdoc.dist.xml | ||
phpunit.xml | ||
README.md | ||
shaarli_version.php | ||
webpack.config.js | ||
yarn.lock |
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.
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.