8000 Feature Request: webhook for notifications · Issue #54 · nesfit/fitcrack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature Request: webhook for notifications #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of 8000 service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
J-Run opened this issue Sep 12, 2022 · 4 comments
Open

Feature Request: webhook for notifications #54

J-Run opened this issue Sep 12, 2022 · 4 comments

Comments

@J-Run
Copy link
J-Run commented Sep 12, 2022

It would be great to have a webhook functionality that make possible to send valueable events notifications such as:

  • N new hashes cracked on job M
  • job M finished
  • An error has occurred on job M

to telegram chat with bot, or any other notification api that accepts GET req with params.

Example webhook URI for telegram:
https://api.telegram.org/bot000000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/sendMessage?chat_id=-0000000000000&text=URL_encoded_message_text

@davidbolvansky
Copy link
Contributor

Yeah, it sounds as a good idea. But not sure how it could look like, simply "some_user_defined_url&text=message_from_fitcrack"?

So for your use case, you would enter:
"https://api.telegram.org/bot000000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/sendMessage?chat_id=-0000000000000&text="

?

@J-Run
Copy link
Author
J-Run commented Oct 3, 2022

Yeah, but i believe that not only telegram is widely used for notification purposes so some kind of template is applicable here.
e.g.:

https://api.telegram.org/bot000000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/sendMessage?chat_id=-0000000000000&text={fitcrack_message}

where substring {fitcrack_message} will be replaced with actual urlencoded message

@felixd
Copy link
felixd commented Jan 14, 2023

Check Apprise: https://github.com/caronc/apprise

That might help a bit ;)

@davidbolvansky
Copy link
Contributor

Apprise looks really nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0