https://github.com/naoty/sweep
Delete expired items in Pocket
https://github.com/naoty/sweep
Last synced: about 1 month 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-11T06:56:58.000Z (almost 10 years ago)
- Last Synced: 2025-01-30T02:13:14.774Z (3 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.[](https://heroku.com/deploy)
## Author
[naoty](https://github.com/naoty)