slack_update

Crates.ioslack_update
lib.rsslack_update
version0.1.7
sourcesrc
created_at2023-07-16 10:49:43.69973
updated_at2023-07-19 20:07:15.984178
descriptionsimple app to set Slack status, emoji and photo
homepage
repository
max_upload_size
id917726
size10,008,049
Daniil Naumetc (kekonen)

documentation

README

Slack Update πŸ•ΊπŸ’ƒ

A tool for updating certain things in your Slack Profile:

  • Status (emoji, text, expiration)
  • Profile pic

Setup

To start using this tool you first need to create an app and connect it to your workspace

Creating the app

  1. https://api.slack.com/apps
  2. Create New App
  3. Choose "from scratch"
  4. Give it a name and choose the workspace
  5. In the next window find and press "OAuth & Permissions"
  6. Follow "Scopes" > "User Token Scopes" > press "Add OAuth Scope"
  7. Add "users.profile:write" scope
  8. Then, within the same page find "OAuth Tokens for Your Workspace" > "Install to Workspace" > Install
  9. This will provide you with a Token that looks like "xoxp-...". Save it for the next step

Install the cli

Install the binary

cargo install slack_update

Set up your token from the previous step. It will be stored into ~/.config/slack_update/config.toml

slack_update set-token "xoxp-..."

Usage

Set emoji, text and expiration (as a unix timestamp)

slack_update status -e ":crazy:" -t gotcha! -x 1337

Set image (with cropping)

slack_update photo -w 150 ./bubble_gum.png 

Get further help with

slack_update -h
Commit count: 0

cargo fmt