1.0.8 • Published 2 years ago

tg-notice v1.0.8

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
2 years ago

TG Notice

Get notice from telegram user's messages over telegram api.

npm Package Version

Setup

ArchLinux with yaourt

run ./setup

press Ctrl + C after login

General

run telegram-cli (only once on this device). Finish the login action.

Then run npm install && npm run build

Install with npm

npm i -g tg-notice

Running

Just get message from one friend:

tg-notice name=Gena

You can also specify the icon for the friend:

tg-notice name=Gena icon=res/gena.png

Run with more settings:

tg-notice app="Gena Notice" name=Gena name="Beeno Tung"

Setting multiple name will trigger notice when a message is sent from any of the users.

You can also specify the icon of for each name alternatively:

tg-notice app="Gena Notice" \
  name=Gena icon=res/gena.png \
  name="Beeno Tung" icon=res/beeno.png \

Run with Daemon

  1. put the scripts folder into PATH
  2. make sure this repo is cloned on ~/local/opt. otherwise update the scripts/tg-notice line 17 (the cd command)
  3. run tg-notice from the shell

License

BSD-2-Clause (Free and Open Sourced Software)

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago