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

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

Awesome Lists containing this project

README

          

# synr: A script that leaving from your unnecessary chat rooms
[![Build Status](https://travis-ci.com/chck/synr.svg?branch=master)](https://travis-ci.com/chck/synr)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](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
```