Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/westurner/pbm
pbm works with Chrome and Chromium bookmarks JSON https://pypi.python.org/pypi/pbm
https://github.com/westurner/pbm
bookmarks command-line python tornado webapp
Last synced: 3 months ago
JSON representation
pbm works with Chrome and Chromium bookmarks JSON https://pypi.python.org/pypi/pbm
- Host: GitHub
- URL: https://github.com/westurner/pbm
- Owner: westurner
- License: bsd-3-clause
- Created: 2014-12-13T22:49:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T19:45:41.000Z (almost 2 years ago)
- Last Synced: 2024-07-26T21:31:26.303Z (3 months ago)
- Topics: bookmarks, command-line, python, tornado, webapp
- Language: Python
- Homepage: https://pypi.python.org/pypi/pbm
- Size: 187 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 11
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - westurner/pbm - pbm works with Chrome and Chromium bookmarks JSON https://pypi.python.org/pypi/pbm (Python)
README
===============================
pbm
===============================.. image:: https://badge.fury.io/py/pbm.png
:target: http://badge.fury.io/py/pbm.. .. image:: https://travis-ci.org/westurner/pbm.png?branch=master
.. :target: https://travis-ci.org/westurner/pbm.. image:: https://pypip.in/d/pbm/badge.png
:target: https://pypi.python.org/pypi/pbmpbm works with Chrome and Chromium bookmarks JSON.
* Free software: BSD license
* Source: https://github.com/westurner/pbm
* PyPI: https://pypi.python.org/pypi/pbm.. * Documentation: https://pbm.readthedocs.org.
Features
========* List Chrome and Chromium Bookmarks JSON files (``-l`` / ``-L``)
* Print all bookmarks (``--print-all``)
* Reorganize all bookmarks into the Bookmarks Bar (``--organize``)
Bookmarks Bar Folders
-----------------------+------------------+-------------------------------------------------------------+
| Name | Description |
+------------------+-------------------------------------------------------------+
| yearly | date-based folders: ``YYYY`` > ``YYYY-MM`` > ``YYYY-MM-DD`` |
+------------------+-------------------------------------------------------------+
| ``bookmarklets`` | bookmarklets (additions will be merged with a default set) |
+------------------+-------------------------------------------------------------+
| ``chrome`` | select ``chrome://`` URLs |
+------------------+-------------------------------------------------------------+
| ``quicklinks`` | custom quicklinks (optional; copied as-is) |
+------------------+-------------------------------------------------------------+
| ``starred`` | bookmarks ending in one or more ``#`` are copied here |
| | searchably prefixed with ``[XO]``, ``[XOOOO]`` |
+------------------+-------------------------------------------------------------+
| ``queue`` | default folder for new bookmarks |
+------------------+-------------------------------------------------------------+Installation
==============
Install from PyPI with pip:.. code:: bash
pip install pbm
Development:
.. code:: bash
pip install -e git+ssh://[email protected]/westurner/pbm#egg=pbm
Usage
=======
List available ``Bookmarks`` files in Chrome and Chromium User Data
directories:.. code:: bash
pbm -l # or -L to also list Bookmarks.%FT%T%z.bkp backups
Reorganize all bookmarks into Bookmarks Bar folders:
.. code:: bash
bmarks=$(pbm -l | grep "Profile 1" | head -n1)
pbm --organize "${bmarks}"Serve and search bookmarks with the Tornado webapp:
.. code:: bash
pbmweb -H localhost -P 8080 -f "${bmarks}"
Then access the searchable bookmarks jstree at
http://localhost:28881/bookmarks/chrome