GithubHelp home page GithubHelp logo

isabella232 / mite-reminder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leanovate/mite-reminder

0.0 0.0 0.0 2.32 MB

Slack App that reminds users about missing times in https://mite.yo.lk/

License: MIT License

JavaScript 0.83% TypeScript 98.83% Dockerfile 0.33%

mite-reminder's Introduction

Node.js CI

mite-reminder

This is a slack app for reminding mite users about missing time entries.

demonstration .gif

How to run

You will need to set up a few environment variables. Either export <VAR_NAME>=<VAR_VALUE> them or put them in a .env file.

You will need:

  • SLACK_TOKEN and SLACK_SIGNING_SECRET. You can get these when you setup a new app in slack.
  • MITE_ACCOUNT_NAME. This is the prefix of your mite url in https://<MITE_ACCOUNT_NAME>.mite.yo.lk
  • (optionally) MITE_API_KEY. Adding a mite api key with admin rights allows the user to check for times without having to provide its own api key.

Then, run the app with:

npm i
npm start

The bot will need some scopes to work properly, which you will need to setup in the slack app settings at OAuth & Permissions -> Scopes -> Bot Token Scopes:

  • chat:write for sending messages to users
  • im:write for sending messages to users
  • im:history for reading direct messages from users
  • im:read for reading direct messages from users
  • users:read for checking times for all users of a channel
  • users:read.email for automatic matching between slack and mite acocunts

mite-reminder's People

Contributors

dependabot[bot] avatar gontrum avatar kainoffke avatar moritzr 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.