Git Product home page Git Product logo

isitup-for-slack's Introduction

isitup-for-slack

Custom slash command to use isitup.org to check if a site is up from within Slack

REQUIREMENTS

  • A custom slash command on a Slack team
  • A web server running PHP5 with cURL enabled
  • A valid SSL certificate for your web server (not self-signed)

USAGE

  • Place the isitup.php script on a server running PHP5 with cURL and a valid SSL certificate.
  • Set up a new custom slash command on your Slack team: https://slack.com/apps/A0F82E8CA-slash-commands
  • Under "Choose a command", enter whatever you want for the command. /isitup is easy to remember.
  • Under "URL", enter the URL for the script on your server.
  • Leave "Method" set to "Post".
  • Decide whether you want this command to show in the autocomplete list for slash commands.
  • If you do, enter a short description and usage hint.
  • Update the isitup.php script with your slash command's token.

DOWNLOAD

You can download the completed script and a tutorial for writing your own at https://github.com/mccreath/isitup-for-slack/

isitup-for-slack's People

Contributors

chippd avatar csullivan102 avatar mccreath avatar stevenbenitez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

isitup-for-slack's Issues

http vs https

Great tutorial! Not sure if anyone else ran into this, but I ended up needing https instead of http to get a response.

$url_to_check = "https://isitup.org/".$text.".json";

Ironically, isitup is always unreachable...

David,

Further to twitter DMs, thought I would outline my issues and see if you had any ideas for a noddy newbie:

it feels like cURL might to blame, just not sure how to trouble shoot? or what to look for.

Any thoughts gratefully received.

Toby

Do you have a write up on sending response from any channel requests?

You mentioned that you will explore sending the response to Slack as a public slash command reply or through an incoming webhook, which gives you more options for formatting and allows you to send the reply to any channel for everyone on the team to see. Does that mean users will be able to access the public slash command and interact with it from any channels?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.