https://github.com/michimani/jsc
Joins multiple slack channels to display posts in chronological order.
https://github.com/michimani/jsc
Last synced: 3 months ago
JSON representation
Joins multiple slack channels to display posts in chronological order.
- Host: GitHub
- URL: https://github.com/michimani/jsc
- Owner: michimani
- License: mit
- Created: 2022-08-26T16:31:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T07:39:41.000Z (almost 3 years ago)
- Last Synced: 2025-01-04T15:57:18.387Z (5 months ago)
- Language: Go
- Size: 36.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jsc
==='jsc' is a tool that joins multiple slack channels to display posts in chronological order.
# Install
```bash
brew install michimani/jsc/jsc
```### Required Slack Permissions
#### User Token Scopes
- `channels:history`
- `groups:history`
- `im:history`
- `mpim:history`
- `users:read`# Usage
```bash
jsc -h
``````text
_
(_)___ ___
| / __|/ __|
| \__ \ (__
_/ |___/\___|
|__/Usage:
jsc [flags] [values]
Flags:
-c (string)
ID of the channels you want to join.
This option can be used multiple times to specify multiple channels.-l (integer)
Limit of messages to be retrieved for each channel (default: 10)-o (string)
Specify the output method as 'json' or 'timeline'. The default is 'timeline',
which outputs in a format suitable for display.-t (string)
Specify the OAuth Token for the Slack API. It must either be specified
with this option or set in the environment variable 'SLACK_OAUTH_TOKEN'.
If both are set, the one specified in this option takes precedence.Example:
jsc -c CHANNEL1 -c CHANNEL2 -l 5
```# License
[MIT](https://github.com/michimani/jsc/blob/main/LICENSE)
# Author
[michimani210](https://twitter.com/michimani210)