A command line interface for xbsapi as well as the official xBrowserSync API.
go build .
xbscli \
-s "https://xbsapi.myserver.com/api/v1" \
-i $(pass show xbs/id) \
-p $(pass show xbs/password) \
-f pretty
- json (default)
- pretty - formatted text
- html - produces a basic HTML file similar to browser export of bookmarks as html. Handy as an input to static-marks
An alternate way to run xbscli
docker build -t xbscli .
docker run --rm xbscli \
-s "https://xbsapi.myserver.com/api/v1" \
-i $(pass show xbs/id) \
-p $(pass show xbs/password) \
-f pretty