Skip to main content

Readit - Command Line Bookmark Manager Tool

Project description

**************************
Readit - Command Line Tool
**************************

.. class:: no-web no-pdf

|Python| |Licence| |Build Status| |docs passing|


.. image:: https://asciinema.org/a/XHY1hKrgOry69OeWG04iucT1k.png
:alt: asciicast
:scale: 50%
:target: https://asciinema.org/a/XHY1hKrgOry69OeWG04iucT1k?t=1


Introduction
************
Readit is command line bookmark manager. It is a command line utility to add, delete, update and display the bookmarks. It is a powerful bookmark manager written in Python. It uses SQLite3 database to store the bookmarks.


Features
********
* Bookmark multiple URLs at a time
* Bookmark URL with respective Tags
* Search and display Bookmarks by TAG and URL's substring
* Display all Bookmarks in table format
* Remove a Bookmarked URL
* Remove all Bookmarked URLs
* Update a Bookmarked URL with a specific ID
* URL validation
* Open URL in the browser
* Export bookmarks into the CSV file
* Show all Tags available in the database
* Bookmark URLs either online or offline


Dependencies
************
============================================= ==================
Features Dependancy
============================================= ==================
``Scripting Language`` Python 3.0+
``HTTP(S)`` requests
``Command-Line Option and argument parsing`` click
``Database Used`` SQLite3
``Display Bookmarks in Table`` beautifultable
============================================= ==================

Installation
************
readit is available on PyPI and can be installed with pip3:

.. code-block:: bash

pip3 install --user readit

Command line options
********************
.. code-block:: bash

Usage: readit [OPTIONS] [INSERT]...

Readit - Command-line bookmark manager tool.

Options:
-a, --add TEXT... Add URLs with space-separated
-t, --tag TEXT... Add Tag with space-separated URL
-d, --delete TEXT Remove a URL of particular ID
-c, --clear TEXT... Clear bookmarks
-u, --update TEXT... Update a URL for specific ID
-s, --search TEXT Search all bookmarks by Tag and URL's substring
-v, --view TEXT... Show bookmarks
-o, --openurl TEXT Open URL in Browser using id, tag or URL's substring
-V, --version Check latest version
-e, --export TEXT... Export URLs in csv file
-tl, --taglist TEXT... Show all Tags
--help Show this message and exit.


Examples
********
1. **Bookmark** multiple URLs:

.. code-block:: bash

$ readit url1 url2 ...
or
$ readit --add url1 url2 ...
or
$ readit -a url1 url2 ...

2. **View** all available bookmarks:

.. code-block:: bash

$ readit -v
or
$ readit --view

3. **Update** a bookmark using its ID:

.. code-block:: bash

$ readit -u url_id url
or
$ readit --update url_id url

4. **Delete** a bookmarked URL using its ID:

.. code-block:: bash

$ readit -d url_id
or
$ readit --delete url_id

5. **Clear** all the bookmarks:

.. code-block:: bash

$ readit -c
or
$ readit --clear

6. **Bookmark** URL along with TAG:

.. code-block:: bash

$ readit -t tag_name url
or
$ readit --tag tag_name url

7. **Search** and **Display** all bookmarks using the TAG or URL's substring:

.. code-block:: bash

$ readit -s tag_name
or
$ readit --search tag_name
or
$ readit -s url_substring

8. Open URL in the Browser using specific ID, TAG or URL's substring:

.. code-block:: bash

$ readit -o urlid
or
$ readit --openurl urlid
or
$ readit -o url_substring
or
$ readit -o tag

9. **Export** bookmarks into the CSV file:

.. code-block:: bash

$ readit --export
or
$ readit -e

10. Show all Tags available in the database

.. code-block:: bash

$ readit -tl
or
$ readit --taglist

How to install source code for development
**********************************************
* Clone project from github:

.. code-block:: bash

$ git clone https://github.com/projectreadit/readit.git

* We recommend to create and activate a virtualenv first:

.. code-block:: bash

$ cd readit/

$ python3 -m venv env

$ source env/bin/activate

(env) $

* To install using setup.py file:

.. code-block:: bash

(env) $ python setup.py install

* To make a build of the project:

.. code-block:: bash

(env) $ python setup.py build

************************************************************************
`Licence <https://github.com/projectreadit/readit/blob/master/LICENSE>`_
************************************************************************
Readit - Command line tool is licensed under `GNU General Public License v3.0. <https://github.com/projectreadit/readit/blob/master/LICENSE>`_

.. |Python| image:: https://img.shields.io/badge/python-3.6-blue.svg

.. |Licence| image:: https://img.shields.io/badge/license-GPLv3-yellow.svg?maxAge=2592000
:target: https://github.com/projectreadit/readit/blob/master/LICENSE

.. |Build Status| image:: https://travis-ci.org/projectreadit/readit.svg?branch=master
:target: https://travis-ci.org/projectreadit/readit

.. |docs passing| image:: https://readthedocs.org/projects/readit/badge/?version=latest
:target: http://readittool.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

readit-0.3.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

readit-0.3-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file readit-0.3.tar.gz.

File metadata

  • Download URL: readit-0.3.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for readit-0.3.tar.gz
Algorithm Hash digest
SHA256 1c7fe629294fcde4832c0ac6979de4f1e00c10427a152479f344692c38684409
MD5 5b7e5e5e7441c97b989858ac8649f9fd
BLAKE2b-256 b618fb457705af7b602e5331146df8834077034f2b9407f58f6f0660c34c0c5c

See more details on using hashes here.

File details

Details for the file readit-0.3-py3-none-any.whl.

File metadata

  • Download URL: readit-0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for readit-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9fd52bd1f912fc66f69abf6ffaf65240261154703ad939ae04742ec632619481
MD5 78fadcd746447c7bf3cf13614596110f
BLAKE2b-256 683cc594c9d44a51b80eb33793abc8d4ba240634e4980b44c35e56bffe7c902c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page