Coder Social home page Coder Social logo

timparenti / channeltime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monkbroc/channeltime

0.0 1.0 0.0 44 KB

Time zone conversion for Slack

Home Page: https://channeltime.info

License: GNU Affero General Public License v3.0

JavaScript 100.00%

channeltime's Introduction

Channel Time

Automatic time zone conversion for Slack

Usage

To simply use this for your Slack team, visit https://channeltime.info

Installation

To work on this app you'll need to create a Slack app at https://api.slack.com/apps

Provide the Slack app client ID and secret.

Create a slash command and note the verification token.

Set these environment variables on your machine:

  • SLACK_CLIENT_ID: Slack app client ID
  • SLACK_CLIENT_SECRET: Slack app client secret
  • SLACK_SLASH_TOKEN: slash command verification token
  • PORT: HTTP server port

The database is MongoDB, so you'll need to install it for your machine.

Install dependencies npm install

Run the server npm start

The easiest way to test on your machine before pushing to production is to use https://ngrok.com, a secure tunnel service.

ngrok http 3000 will give you a tunnel from a public URL such as https://77ab8d40.ngrok.io to http://localhost:3000

You can then use the public HTTPS endpoint in your Slack app:

Start the process of adding a team by visiting https://77ab8d40.ngrok.com/slack/login

To run to production: Find a host, set your domain name, set the environment variables, deploy your code and run the app on boot.

TODO

The static HTML part of Channel Time is actually served statically by Nginx and generated through Middleman, a Ruby static site generator. It would be best to just bite the bullet, figure out how Gulp works and put everything in a single application.

Static portion of the site: https://github.com/monkbroc/channeltime-web

License

Copyright 2015 Julien Vanier

Licensed under the GNU Affero GPL

channeltime's People

Contributors

monkbroc avatar

Watchers

James Cloos avatar

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.