cympfh / dobato.sh

Re-implemented https://github.com/himkt/dobato as shellscripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dobato.sh - 堂鳩.sh

Notification for your Discord.

Re-implemented https://github.com/himkt/dobato as shellscripts

Install

Download a script file: https://github.com/cympfh/dobato.sh/blob/main/bin/dobato.sh

For example,

> mkdir -p ~/.local/bin
> wget https://github.com/cympfh/dobato.sh/blob/main/bin/dobato.sh > ~/.local/bin/dobato.sh
> chmod +x ~/.local/bin/dobato.sh
> export PATH=~/.local/bin/:$PATH

Setup

Run dobato.sh config

> dobato.sh config
Discord webhook url: https://discord.com/api/webhooks/123/ABCabc

By default, config makes ~/.dobato as a global config. Use flag --local to make a local config file.

Usage

Notify by text or file. The filename must be *.txt.

> dobato.sh notify "Hello, World"
> dobato.sh notify longmessage.txt

References

About

Re-implemented https://github.com/himkt/dobato as shellscripts


Languages

Language:Shell 100.0%