slacktee

slacktee is a bash script that works like tee command. Instead of writing the standard input to files, slacktee posts it to Slack.

APACHE-2.0 License

Stars
826
slacktee - v1.5.3 Latest Release

Published by Chikashi-Kato over 3 years ago

  • Fix the icon_url issue reported by PR #77 and #78
slacktee - v1.5.2

Published by Chikashi-Kato over 3 years ago

  • Fix #75 : Removing carriage return characters from the message in order to avoid sending error
slacktee - v1.5.1

Published by Chikashi-Kato over 3 years ago

No difference from v1.5.0. Please ignore this version

slacktee - v1.5.0

Published by Chikashi-Kato about 4 years ago

  • Support specifying multiple -c options for sending a message to multiple channels
  • Add -s/--skip-setup option to install.sh
slacktee - v1.4.2

Published by Chikashi-Kato almost 5 years ago

  • Fix the issue CTRL+C is not handled correctly (#64)
slacktee - v1.4.1

Published by Chikashi-Kato almost 5 years ago

This release includes following changes.

  • #62 Fix the issue color doesn't stay in the streaming mode
slacktee - v1.4.0

Published by Chikashi-Kato about 5 years ago

This release includes following changes.

  • #60 Use chat.postMessage API for posting a message
  • #61 Continue the process even if posting a message to Slack is failed

Note: From this version, webhook_url is marked as deprecated and using token is recommended.
For the backward compatibility, webhook_url still has greater precedence than token but following warning is output in stderr when it's specified.

slacktee.sh: webhook_url is deprecated but still set. Recommend to remove it and use token instead.
slacktee - v1.3.1

Published by Chikashi-Kato over 6 years ago

  • Fix bugs with --streaming option
slacktee - v1.3.0

Published by Chikashi-Kato over 6 years ago

  • Add --streaming option
    This option post the input to Slack without buffering, but unlike --no-buffering option, --streaming option is appending the new input to the message posted at the beginning.
slacktee - v1.2.15

Published by Chikashi-Kato about 7 years ago

  • Added no output option (-q / --no-output)
slacktee - v1.2.14

Published by Chikashi-Kato about 7 years ago

  • Enforce character limits as described in docs
  • Add a copyright notice
slacktee - v1.2.13

Published by Chikashi-Kato about 7 years ago

  • Allow to change the script name of slacktee.sh during the installation
  • Show an error message if curl fails to install
  • Use the default webhook icon if 'icon' is unset
slacktee - v1.2.12

Published by Chikashi-Kato over 7 years ago

Addressed the issue #35.

  • Checks the existence of 'curl' command in the setup mode and tries to install it if it doesn't exist
  • Checks the existence of 'curl' command in the check_configuration and displays an error message if it doesn't exist
  • Prepend the command name to the error message
slacktee - v1.2.11

Published by Chikashi-Kato about 8 years ago

Escape special characters properly:

  • Handle backslash properly
  • Escape the value of the command line options
  • Add test cases to check the escape function. Also, clean up existing tests.
slacktee - v1.2.10

Published by Chikashi-Kato over 8 years ago

  • Merged a pull request #28: fixes conditional prefix constantly being added to the title
  • Updated README
slacktee - v1.2.9

Published by Chikashi-Kato over 8 years ago

  • Add a conditional prefix option (-d or --cond-prefix). If a regex pattern specified with this option matches with the input, its corresponding prefix is prepended to the message.
slacktee - v1.2.8

Published by Chikashi-Kato over 8 years ago

  • Add a conditional coloring option (-o or --cond-color). If a regex pattern specified with this option matches with the input, its corresponding color is used for posting the message.
  • Create test directory and move test files into it.
  • Consolidate redundant code
slacktee - v1.2.7

Published by Chikashi-Kato almost 9 years ago

Add --config option to specify a configuration file in a command line option

slacktee - v1.2.6

Published by Chikashi-Kato almost 9 years ago

Support new format of the file object which is used in the 'file' mode (-f option).
Since url and url_download have been deprecated, use url_private and url_private_download instead.
Also, channels parameter is set in the file upload API call for making the uploaded file accessible.

For more detail about the file object, please refer this page.
https://api.slack.com/types/file

slacktee - v1.2.5

Published by Chikashi-Kato almost 9 years ago

Fixed the issue #24 : Error happens when input is empty with -f option