Send messages through Pushbullet API.
$ go install github.com/meinside/pb-send@latest
Get your access token from here,
then create a file named config.json
in your $XDG_CONFIG_HOME/pb-send/
directory:
{
"access_token": "PUT_YOUR_ACCESS_TOKEN_HERE"
}
You can use Infisical for retrieving your access token:
{
"infisical": {
"client_id": "abcd-efgh-ijkl-mnop",
"client_secret": "0123456789abcdefghijklmnop",
"project_id": "012345abcdefg",
"environment": "dev",
"secret_type": "shared",
"key_path": "/path/to/your/KEY_TO_ACCESS_TOKEN"
}
}
$ pb-send [any message to send]
MIT