https://github.com/chck/synr
A script that leaving from your unnecessary chat rooms
https://github.com/chck/synr
chatwork slack
Last synced: 4 months ago
JSON representation
A script that leaving from your unnecessary chat rooms
- Host: GitHub
- URL: https://github.com/chck/synr
- Owner: chck
- License: mit
- Created: 2016-09-19T21:10:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T16:00:41.000Z (almost 7 years ago)
- Last Synced: 2024-06-21T01:57:00.252Z (almost 2 years ago)
- Topics: chatwork, slack
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# synr: A script that leaving from your unnecessary chat rooms
[](https://travis-ci.com/chck/synr)
[](https://github.com/chck/synr/blob/master/LICENSE)
## Requirements
```bash
go==1.12.*
```
## Installation
```bash
% go get -u github.com/chck/synr
```
## Setup
```bash
# Set tokens in config/secrets.yaml
# slack: https://api.slack.com/docs/oauth-test-tokens
# chatwork: http://developer.chatwork.com/ja/authenticate.html
vi config/secrets.yaml
---
tokens:
chatwork: YOUR_CHARWORK_TOKEN
slack: YOUR_SLACK_TOKEN
```
## Usage
```bash
# Show usage with options
% synr help
# Dry-run
% synr -c slack -d
# Run
% synr -c slack
# Run with selected months elapsed from last update (default: 1)
% synr -c slack -m 3
# Supported chats are slack and chatwork
% synr -c chatwork -m 3
```