Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iyadassaf/go-away
Automatically set a custom Slack status when you're on webcam 🎥
https://github.com/iyadassaf/go-away
cli do-not-disturb on-air osx slack webcam
Last synced: about 2 months ago
JSON representation
Automatically set a custom Slack status when you're on webcam 🎥
- Host: GitHub
- URL: https://github.com/iyadassaf/go-away
- Owner: IyadAssaf
- Created: 2020-04-17T16:32:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T10:21:09.000Z (over 4 years ago)
- Last Synced: 2024-04-16T00:02:45.278Z (9 months ago)
- Topics: cli, do-not-disturb, on-air, osx, slack, webcam
- Language: Go
- Homepage:
- Size: 470 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A tiny CLI tool and taskbar app to change your Slack status when you're on webcam.
Useful for stopping people from walking into the room when you're on a work call### Setup
1. [Download and install the most recent version of Go](https://golang.org/dl).
2. [Set up a slack app](https://api.slack.com/authentication/basics) and install it in your slack workspace
### GoAway.app
- Run `make install-app` and copy your app to your Applications folder
- Start the app, you'll see the app in your task bar
![go-away](assets/screenshot.png)
- Select "Preferences" from the dropdown menu and enter your "OAuth Access Token" from the Slack app console. You can also edit your slack emoji and status message here.![prefs](assets/prefs.png)
### CLI `go-away`
3. Find your "OAuth Access Token" from the Slack app console and set it to an environment variable called `SLACK_API_TOKEN`
- Run `make install-cli` to install it to install the CLI tool
```
$ go-away --help
NAME:
go-away - ./go-awayUSAGE:
go-away [global options] command [command options] [arguments...]DESCRIPTION:
update slack with a status when you're on webcamCOMMANDS:
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--debug enable debug logging (default: false)
--status-text value text to use for slack status (default: "On webcam")
--status-emoji value emoji to use for slack status (default: "🎥")
--refresh-rate value number of seconds to refresh webcam status (default: 5)
--help, -h show help (default: false)
```