Skip to content

Latest commit

 

History

History
77 lines (56 loc) · 2.03 KB

README.md

File metadata and controls

77 lines (56 loc) · 2.03 KB

tegofy

A command line tool for ego-search notify in Typetalk.

Description

tegofy observes Typetalk's posts and notifies you of posts that contain the specified keyword. It never misses the information you want. tegofy lets you choose desktop and Typetalk as notification destinations.

Installation

Go

If you have the Go(go1.14+) installed, you can also install it with go get command.

$ go get github.com/typetalk-gadget/tegofy

Usage

Usage:
  tegofy [flags]

Flags:
      --client_id string       typetalk client id [TEGOFY_CLIENT_ID]
      --client_secret string   typetalk client secret [TEGOFY_CLIENT_SECRET]
  -c, --config string          config file path (default "config.yml")
      --debug                  debug mode
  -h, --help                   help for tegofy
      --ignore_bot             ignore bot posts [TEGOFY_IGNORE_BOT]
      --ignore_users strings   ignore user posts [TEGOFY_IGNORE_USERS]
      --keywords strings       matching keywords [TEGOFY_KEYWORDS]
      --notify_desktop         enable desktop notifications [TEGOFY_NOTIFY_DESKTOP]
      --notify_typetalk int    enable typetalk notifications with topic id [TEGOFY_NOTIFY_TYPETALK]
      --space_keys strings     keys of space to include in search [TEGOFY_SPACE_KEYS]
      -v, --version            version for tegofy
      --with_mention           with mentions in notifications[TEGOFY_WITH_MENTION]

Config File

YAML

debug: true
client_id: "deadbeef"
client_secret: "deadcode"
notify_desktop: true
notify_typetalk: 9999999999999999
with_mention: true
space_keys:
  - "your_space_key"
keywords:
  - keyword: "Hello"
    topic_id: 11111111
  - keyword: "bye"
    topic_id: 22222222
ignore_bot: false
ignore_users: []

Acknowledgments

futahashi for the core concept of tegofy

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

License

MIT License

Author

vvatanabe