MyShaarly is a fork of https://github.com/shaarli/Shaarli. It build for my usage, feel free to try.
42a72c02fa
i was getting error ``` An error occurred while parsing JSON configuration file (data/config.json.php): error code #4 ➜ Syntax error Please check your JSON syntax (without PHP comment tags) using a JSON lint tool such as jsonlint.com. ``` after debug i found ```php $data = str_replace(self::getPhpHeaders(), '', $data); $data = str_replace(self::getPhpSuffix(), '', $data); ``` doesn't removing php header and php suffix cause of this issue was PHP_EOL represents the endline character for the current system. if my ```config.json.php``` was encoded with unix ( LF ) and php running on windows windows encoding ( CR LF ) is not same as unix encoding ( LF ) so ```str_replace``` doesn't replace strin then it causes issue. |
||
---|---|---|
.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.