Depending on the type of bookmark, I use a combination of Read It Later and leander https://github.com/rudle/leander .
Shameless self-promotion: leander provides full text search on webpages from the command line. There is also an (experimental) sinatra web frontend/API.