{"id":1545,"date":"2017-01-14T15:38:21","date_gmt":"2017-01-14T15:38:21","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1545"},"modified":"2017-01-14T15:40:19","modified_gmt":"2017-01-14T15:40:19","slug":"install-slackcat-on-raspberry-pi-raspbian","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/install-slackcat-on-raspberry-pi-raspbian\/","title":{"rendered":"Install Slackcat on Raspberry Pi (Raspbian)"},"content":{"rendered":"<p>Slackcat allows you to send Slack messages from the Linux command line.<\/p>\n<p>Update pi<\/p>\n<pre>sudo apt-get update<\/pre>\n<p>Install Ruby and other components<\/p>\n<pre>sudo apt-get install ruby1.9.1 ruby ruby-dev rubygems<\/pre>\n<p>Install Slackcat<\/p>\n<pre>sudo gem install slackcat<\/pre>\n<p>Use Slackcat.\u00a0 You will need to generate an API Key from Slacks website.<\/p>\n<pre>echo \"Hello World\" | slackcat -k API-KEY -p --channels=#CHANNEL_NAME<\/pre>\n<p><strong>Examples :<\/strong><br \/>\nSend to Channel<\/p>\n<pre>echo \"Hello World\" | slackcat -k xoxp-94827839414-94819543146-441447827184-h7dt2hg2h8ggs7d24ce638edrw9q8def -p --channels=#General<\/pre>\n<p>Send Direct Message<\/p>\n<pre>echo \"Hello World\" | slackcat -k xoxp-94827839414-94819543146-441447827184-h7dt2hg2h8ggs7d24ce638edrw9q8def -p --users=#General<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Slackcat allows you to send Slack messages from the Linux command line. Update pi sudo apt-get update Install Ruby and other components sudo apt-get install ruby1.9.1 ruby ruby-dev rubygems Install Slackcat sudo gem install slackcat Use Slackcat.\u00a0 You will need &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/install-slackcat-on-raspberry-pi-raspbian\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,91],"tags":[8,7,92,332],"class_list":["post-1545","post","type-post","status-publish","format-standard","hentry","category-command-line","category-linux","category-raspberry-pi","tag-command-line-2","tag-linux-2","tag-raspberry-pi-2","tag-slack"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1545"}],"version-history":[{"count":5,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1545\/revisions"}],"predecessor-version":[{"id":1550,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1545\/revisions\/1550"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}