Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naoty/sweep
Delete expired items in Pocket
https://github.com/naoty/sweep
Last synced: 21 days ago
JSON representation
Delete expired items in Pocket
- Host: GitHub
- URL: https://github.com/naoty/sweep
- Owner: naoty
- Created: 2015-07-10T08:18:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-11T06:56:58.000Z (over 9 years ago)
- Last Synced: 2024-10-22T14:00:07.898Z (2 months ago)
- Language: Go
- Homepage:
- Size: 152 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sweep
Delete expired items in [Pocket](https://getpocket.com)
## Installation
```
$ go get github.com/naoty/sweep
```## Usage
```
$ sweep
```## Configuration
```
POCKET_CONSUMER_KEY: A consumer key for your Pocket application
POCKET_ACCESS_TOKEN: An access token for your Pocket application
POCKET_EXPIRATION: An expiration hours after which items are deleted (Default: 24)
```## sweeper
You can deploy a job to run sweep on Heroku.
1. Get a consumer key and an access token of your Pocket application.
2. Deploy sweeper from below Heroku button.
3. Add a new job at Heroku scheduler dashboad.[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
## Author
[naoty](https://github.com/naoty)