Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ColumPaget/pocketeer.lua

Lua script to list/add/delete items to getpocket.com. Requires libUseful and libUseful-lua
https://github.com/ColumPaget/pocketeer.lua

cli getpocket lua pocket

Last synced: 3 months ago
JSON representation

Lua script to list/add/delete items to getpocket.com. Requires libUseful and libUseful-lua

Awesome Lists containing this project

README

        

## pocketeer.lua: copyright Colum Paget 2018
contact: [email protected]
license: GPLv3

This is just a basic command-line tool for the getpocket.com API. It lets you add, remove, tag, untag and list items.

#BUILDING
Pocketeer requires both libUseful and libUseful-lua to be installed. These are available at:

```
https://www.github.com/ColumPaget/libUseful
https://www.github.com/ColumPaget/libUseful-lua
```

you will also need SWIG installed to compile libUseful-lua (http://www.swig.org)

## USAGE
```
lua pocketeer.lua add - add a url to your pocket
lua pocketeer.lua del - delete an item from your pocket
lua pocketeer.lua delete - delete an item from your pocket
lua pocketeer.lua rm - delete an item from your pocket
lua pocketeer.lua tag - add a tag to items
lua pocketeer.lua untag - remove a tag from items
lua pocketeer.lua ls - list items in pocket (color output)
lua pocketeer.lua list - list items in pocket (color output)
lua pocketeer.lua plain - list items in pocket (plain text output)
lua pocketeer.lua - this help

The argument is an optional selector, which can have one of the following forms:
title:
id:
tag:
url:
```

The extra argument `-proxy ` allows specifying the use of a proxy-server. Supported proxy types are 'https', 'socks4', 'socks5', and 'sshtunnel'. URL format can include username and password. e.g. `sshtunnel:bill:secret1234@sshhost:1022`.
The 'ls' and 'list' commands can accept the switches '-light' and '-dark' for choosing colors appropriate to a light or dark background