orangino logo

ORANGINO

An amazing Tangerino plugin for Slack to punch in and out from your CLI, while automatically letting your team know if you're available or not.


Orangino uses the Reqwest crate to interact with the Tangerino API, while binding with Python to benefit from the official Slack client to publish messages to the channel of your choice.

Development directions ▶️

You will need:

  1. A Slack app installed on your workspace with the following features and permissions:
  2. Python version 3.5 up installed.
  3. Rust's nightly version installed.
  4. A .env file with your credentials, following the .env.example model:

```s EMPLOYERCODE=12345 PIN=9876 TANGERINOBASIC_TOKEN="Basic xeAxZyEwTOsPZKdlIA=="

SLACKCHANNEL="#random" SLACKAPITOKEN="xoxp-22f3f6aa-1a75-452c-b023-5365db9409ae" GREETINGMESSAGE="Hello world!" GOODBYE_MESSAGE="Goodbye world!" ```

  1. To install the dependencies: pip install -r requirements.txt && cargo build

You are good to go now, make changes to the app and run it: cargo run