Skip to content

motemen/slack-stream-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-stream-json

Prints Slack's Real Time Messaging (RTM) API streams to stdout.

Usage

Set SLACK_TOKEN environment variable to a token for RTM API, for example obtained from Legacy Tokens page. Once invoked, slack-stream-json prints RTM event JSON line by line.

slack-stream-json 0.1.0

USAGE:
    slack-stream-json [FLAGS]

FLAGS:
    -f, --format-message          Resolve Slack message format, including mentions and links
    -h, --help                    Prints help information
    -i, --inflate-fields          Inflate "user", "channel" ID fields to corresponding JSON objects
    -p, --print-start-response    Print rtm.start response JSON before starting RTM stream
    -V, --version                 Prints version information

Install

  • Download binaries from Releases, or
  • Clone this repository and install by cargo install.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages