Minimalistic bookmark manager for your own server written in PHP. Bookmarks are stored in a sqlite database.
b is a minimalistic bookmark manager for your own server. Written in PHP. Bookmarks are stored in a sqlite database. Features:
Tested on Ubuntu 21.04 and macOS Big Sur.
This web app uses HTTP basic auth password protection. Create a htusers
file
and specify username/password like this:
mkdir db
./htpasswd -c db/htusers peter
The bookmark manager can host multiple databases. To initialize a new database, simply create a subdirectory:
mkdir db/peter
This will make bookmarks accessible via http://localhost:9090/peter
.
Use make
to start the webserver container and make down
to stop it.
To prevent forking the container into the background, use make up
instead of
make
(useful for debugging).
http://example.com #example #bla #wurst
If you have a massive amount of bookmarks and you don't want to load them all at
once, you can activate infinite scrolling. This will load a limited amount of
bookmarks initially and load more when you scroll to the bottom of the page.
Activate infinite scrolling by adding INFINITE_SCROLLING=200
to .env
.
Replace 200
with the number of bookmarks you want to load each time you hit
the bottom.
Visit /[user]/bookmarklet
to access the user's bookmarklet, e.g.
http://bookmarks.example.com/peter/bookmarklet
. (Thanks to nibreh for the
suggestion!)
Copyright (c) 2011-2021 Sebastian Volland http://github.com/sebcode
The source code is licensed under the terms of the MIT license (see LICENSE file).