~taiju/kintai-el

posting kintai
Bump up version number.
Add the CHANGES file.

clone

read-only
https://git.sr.ht/~taiju/kintai-el
read/write
git@git.sr.ht:~taiju/kintai-el

You can also use your local clone with git send-email.

#kintai.el - posting kintai

This package provides commands that post messages that start work and end work to a specific slack channel.

#Requirements

Emacs 27+

#Installation

(add-to-list 'load-path "/path/to/kintai-el")
(require 'kintai)

Or else.

#Customization

M-x customize-group RET kintai RET

#kintai-start-message

The message to post when starting work.

default value: :house:

#kintai-end-message

The message to post when ending work.

default value: :end:

#kintai-slack-channel

The Slack channel to post to.

default value: #kintai

#Settings

#kintai-slack-xoxc-token (required)

The token that starts with xoxc-.

(setq kintai-slack-xoxc-token "xoxc-...")

#kintai-slack-xoxd-token (required)

The token that starts with xoxd-.

(setq kintai-slack-xoxd-token "xoxd-...")

#keybinding

This is just an example. You can set your preferred keybindings.

(global-set-key (kbd "C-c k s") 'kintai-start)
(global-set-key (kbd "C-c k e") 'kintai-end)

#Commands

#M-x kintai-start RET

Post the message that starts work to the Slack channel.

#M-x kintai-end RET

Post the message that ends work to the Slack channel.

#M-x kintai-start-with-additional-text RET <additional text> RET

A variant of the kintai-start command that allows additional text to be added interactively.

#M-x kintai-end-with-additional-text RET <additional text> RET

A variant of the kintai-end command that allows additional text to be added interactively.

#How to get tokens?

SEE: https://github.com/yuya373/emacs-slack#how-to-get-token-and-cookie

#How to secure your token?

SEE: https://github.com/yuya373/emacs-slack#how-to-secure-your-token

#LICENSE

SEE: COPYING.

#Contribution

Please send patches or questions to my public inbox below.

~taiju/public-inbox@lists.sr.ht