Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ColumPaget/pocketeer.lua
- Owner: ColumPaget
- License: gpl-3.0
- Created: 2018-01-26T09:48:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-27T22:22:23.000Z (almost 7 years ago)
- Last Synced: 2024-04-16T02:42:34.301Z (7 months ago)
- Topics: cli, getpocket, lua, pocket
- Language: Lua
- Size: 14.6 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## pocketeer.lua: copyright Colum Paget 2018
contact: [email protected]
license: GPLv3This 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 helpThe 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