Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 19 days 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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T14:08:55.000Z (10 months ago)
- Last Synced: 2025-01-03T15:15:55.771Z (21 days ago)
- Topics: applescript, command-line-tool, macos, slack
- Language: Python
- Homepage: https://slackoff.readthedocs.io
- Size: 239 KB
- Stars: 5
- Watchers: 3
- 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.
[![Build Status](https://img.shields.io/github/actions/workflow/status/jacebrowning/slackoff/main.yml?branch=main)](https://github.com/jacebrowning/slackoff/actions)
[![Coverage Status](https://img.shields.io/codecov/c/gh/jacebrowning/slackoff)](https://codecov.io/gh/jacebrowning/slackoff)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/jacebrowning/slackoff.svg)](https://scrutinizer-ci.com/g/jacebrowning/slackoff)
[![PyPI License](https://img.shields.io/pypi/l/slackoff.svg)](https://pypi.org/project/slackoff)
[![PyPI Version](https://img.shields.io/pypi/v/slackoff.svg)](https://pypi.org/project/slackoff)
[![PyPI Downloads](https://img.shields.io/pypi/dm/slackoff.svg?color=orange)](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
```