All Projects → achembarpu → Pockyt

achembarpu / Pockyt

Licence: gpl-3.0
Automate & manage your Pocket.com collection.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pockyt

All Contributors Cli
Tool to help automate adding contributor acknowledgements according to the all-contributors specification ✨
Stars: ✭ 345 (-18.63%)
Mutual labels:  command-line-tool
Corgi
Corgi is a command-line workflow manager that helps with your repetitive command usages by organizing them into reusable snippet
Stars: ✭ 365 (-13.92%)
Mutual labels:  command-line-tool
Webkubectl
Run kubectl command in Web Browser.
Stars: ✭ 390 (-8.02%)
Mutual labels:  command-line-tool
Tcping
ping over a tcp connection
Stars: ✭ 346 (-18.4%)
Mutual labels:  command-line-tool
Tsukae
🧑‍💻📊 Show off your most used shell commands
Stars: ✭ 345 (-18.63%)
Mutual labels:  command-line-tool
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (-11.56%)
Mutual labels:  command-line-tool
Dotbare
Manage dotfiles and any git directories interactively with fzf
Stars: ✭ 327 (-22.88%)
Mutual labels:  command-line-tool
Azure Devops Cli Extension
Azure DevOps Extension for Azure CLI
Stars: ✭ 420 (-0.94%)
Mutual labels:  command-line-tool
Bulksplash
A simple command line tool that lets you bulk download images from Unsplash
Stars: ✭ 362 (-14.62%)
Mutual labels:  command-line-tool
Ledger
Double-entry accounting system with a command-line reporting interface
Stars: ✭ 4,062 (+858.02%)
Mutual labels:  command-line-tool
Rebound
Command-line tool that instantly fetches Stack Overflow results when an exception is thrown
Stars: ✭ 3,763 (+787.5%)
Mutual labels:  command-line-tool
Speed Test
Test your internet connection speed and ping using speedtest.net from the CLI
Stars: ✭ 3,654 (+761.79%)
Mutual labels:  command-line-tool
Stylesync
A command line tool to extract shared styles from a Sketch document, and generate native code for any platform.
Stars: ✭ 382 (-9.91%)
Mutual labels:  command-line-tool
Gitui
Blazing 💥 fast terminal-ui for git written in rust 🦀
Stars: ✭ 6,762 (+1494.81%)
Mutual labels:  command-line-tool
Woeusb
A Microsoft Windows® USB installation media preparer for GNU+Linux
Stars: ✭ 394 (-7.08%)
Mutual labels:  command-line-tool
Jwt Cli
A super fast CLI tool to decode and encode JWTs built in Rust
Stars: ✭ 336 (-20.75%)
Mutual labels:  command-line-tool
T Rec Rs
Blazingly fast terminal recorder that generates animated gif images for the web written in rust
Stars: ✭ 361 (-14.86%)
Mutual labels:  command-line-tool
Remarshal
Convert between CBOR, JSON, MessagePack, TOML, and YAML
Stars: ✭ 421 (-0.71%)
Mutual labels:  command-line-tool
Sendmidi
Multi-platform command-line tool to send out MIDI messages
Stars: ✭ 411 (-3.07%)
Mutual labels:  command-line-tool
Jmxterm
Interactive command line JMX client
Stars: ✭ 389 (-8.25%)
Mutual labels:  command-line-tool

====== pockyt

A simple, yet powerful, commandline client for your Pocket <https://getpocket.com/>_ collection.

.. image:: http://img.shields.io/pypi/v/pockyt.svg?style=flat :target: https://pypi.python.org/pypi/pockyt

.. image:: http://img.shields.io/pypi/l/pockyt.svg?style=flat :target: https://pypi.python.org/pypi/pockyt

Links

  • PyPi package <https://pypi.python.org/pypi/pockyt>_
  • GitHub repository <https://github.com/achembarpu/pockyt>_

About

Pocket <https://getpocket.com/>_ is an application for managing a reading list of articles from the Internet.

pockyt is a commandline client that interfaces the pocket API and provides a way to interact with your Pocket collection. Using simple command sequences, routine tasks can be automated and reusable scripts can be created.

Privacy

pockyt does NOT track, store, or monitor your usage and/or data. Moreover, pockyt interacts with the pocket API using local credentials and does not attempt to communicate with any other services.

Installation

pockyt supports Python 2.7+ & 3.4+ on Windows, macOS, & GNU/Linux platforms.

  1. Install pockyt: :code:pip install -U pockyt
  2. Connect Pocket account: :code:pockyt reg
  3. Refer the Examples & Documentation below.

Examples

  • Get the latest 5 items' links & excerpts and save them to a file.

    .. code::

      pockyt get -n 5 -f '{link} - {excerpt}' -o readlater.txt
    
  • Get the oldest 10 items and delete them from Pocket.

    .. code::

      pockyt get -n 10 -r oldest -f '{id}' | pockyt mod -d -i redirect
    
  • Get all the items about 'python' and open them in a browser.

    .. code::

      pockyt get -q 'python' -o browser
    
  • Get all the links from a 'links.txt' and add them to Pocket.

    .. code::

      pockyt put -i links.txt
    
  • Get all favorited items and archive them.

    .. code::

      pockyt get -v 1 | pockyt mod -a 1 -i redirect
    
  • Get all favorited items and save offline copies of them.

    .. code::

      pockyt get -v 1 -a ./pocket
    

Contribute

Feel free to contribute features, bugfixes, improvements, and usage ideas.

  1. Fork <https://github.com/achembarpu/pockyt/fork>_ pockyt.

  2. Work on the source code.

    .. code::

     git clone [email protected]:<username>/pockyt.git
     cd pockyt
     pip install -e .
     git checkout -b new-feature
     ...
     # do stuff
     ...
     git add .
     git commit -am 'commit msg'
     git push origin new-feature
    
  3. Submit a pull request <https://github.com/achembarpu/pockyt/compare>_.

License

This project uses the GNU GPLv3 License <https://github.com/achembarpu/pockyt/blob/master/LICENSE.txt>_.

Documentation

pockyt help/-h/--help :

help
    show pockyt usage help
reg
    connect a pocket account
get
    get pocket collection, with useful item info
put
    add to pocket collection, using links
mod
    modify pocket collection, using item ids

pockyt get -h :

-h, --help show this help message and exit -c , --content content type : : {all, [article, video, image]} -s , --state collection state : : {all, [unread, archive]} -r , --sort item sorting : : {newest, [oldest, title, site]} -n , --count number of items : : {-1: all, [n: amount]} -q , --query search query : : {None} -t , --tag filter tag : {-1: nofilter, [tagname: tagged, 0: untagged} -v , --favorite filter favorites : : {-1: No Filter, [1: favorited, 0: un-favorited]} -d , --domain restrict items to domain : : {None} -f , --format format output : : {'{id} | {title} | {link}', [id, title, link, excerpt, tags]} -o , --output redirect output : : {None, [browser, filename]} -a , --archive save offline copies : : path/to/archive/folder

pockyt put -h :

-h, --help show this help message and exit -f , --format unformat input : : {'{link}', [id, title, link, excerpt, tags]} -i , --input obtain input : : {console, [redirect, link, filename]}

pockyt mod -h :

-h, --help show this help message and exit -f , --format unformat input : : {'{id}', [id, title, link, excerpt, tags]} -i , --input obtain input : : {console, [redirect, filename]} -d, --delete delete items -a , --archive archive items : : {-1: None, [1: archive, 0: unarchive]} -v , --favorite favorite items : : {-1: None, [1: favorite, 0: unfavorite]}

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].