https://github.com/jacebrowning/slackoff
Automatically sign out of Slack workspaces on macOS.
https://github.com/jacebrowning/slackoff
applescript command-line-tool macos slack
Last synced: 3 months ago
JSON representation
Automatically sign out of Slack workspaces on macOS.
- Host: GitHub
- URL: https://github.com/jacebrowning/slackoff
- Owner: jacebrowning
- License: mit
- Created: 2022-03-27T15:39:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T14:08:55.000Z (over 1 year ago)
- Last Synced: 2025-04-14T01:12:33.975Z (3 months ago)
- Topics: applescript, command-line-tool, macos, slack
- Language: Python
- Homepage: https://slackoff.readthedocs.io
- Size: 239 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Overview
Slackoff is a quick way to sign out of a company Slack workspace at the end of the day to improve one's work-life balance. It can also be used to sign out of "fun" Slack workspaces to avoid distractions during normal working hours.
[](https://github.com/jacebrowning/slackoff/actions)
[](https://codecov.io/gh/jacebrowning/slackoff)
[](https://scrutinizer-ci.com/g/jacebrowning/slackoff)
[](https://pypi.org/project/slackoff)
[](https://pypi.org/project/slackoff)
[](https://pypistats.org/packages/slackoff)## Setup
### Requirements
* macOS (for AppleScript)
* Slack for Mac
* Python 3.10+### Installation
Install this tool globally with [pipx](https://pipxproject.github.io/pipx/) (or pip):
```sh
$ pipx install slackoff
```
or add it to your [Poetry](https://python-poetry.org/docs/) project:```sh
$ poetry add slackoff
```## Usage
After installation, automatically sign out of a Slack workspace:
```sh
$ slackoff My Company Workspace
```or sign back in:
```sh
$ slackoff
```Slackoff will remember the last workspace used and attempt to toggle appropriately.
### Additional Options
To explicitly attempt to sign in or out, include the corresponding flag:
```sh
$ slackoff --signin
$ slackoff --signout
```View the help for more options:
```sh
$ slackoff --help
```