GithubHelp home page GithubHelp logo

mhkafadar / notifine Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 5.0 283 KB

Notifine helps with events in your work tools like Gitlab, Github, and Trello. Just send a message to notifine or add it to your telegram group. It will provide you with a webhook link right away. Copy this link and paste it to your favorite tool.

Home Page: https://notifine.com

Rust 98.18% PLpgSQL 1.46% Dockerfile 0.35%
actix bot github gitlab rust rust-tutorial telegram telegram-bot

notifine's People

Contributors

mhkafadar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

notifine's Issues

Docker compose

Hey there, this project looks great, i've been looking for a gitlab_bot (Integram) alternative for a long time and I've finally found this. It would be great to have also an example of docker compose to setup everything withous using aws, I'm working on a possibile docker compose on my own and if it works well enough I will try and publish it somewhere but it would be great to have an official example. Thanks for all the great work!

Implement Health Check Bot for Uptime Monitoring

Develop a new bot for website, bot, and service owners. Users can add their health endpoints, and the bot will send status updates every minute. If a service is detected as down, the bot will send notifications. Additionally, the bot will send a confirmation message upon the initial connection to the health endpoint, even if the result is successful.

Gitlab Pipeline events not actually supported

README says Gitlab > โœ… Pipeline however that doesn't seem to be so. Pipeline events are not in fact transmitted to Telegram, and the respective source code seems to be completely commented out:

// // use crate::webhooks::gitlab::http_server::GitlabEvent;
// //
// // pub fn handle_pipeline_event(gitlab_event: &GitlabEvent) -> String {
// // let project = &gitlab_event.project;
// // let project_name = &project.name;
// // let project_url = &project.web_url;

Fix Api(Unknown("Bad Request")) issue

thread 'actix-server worker 0' panicked at 'called Result::unwrap() on an Err value: Api(Unknown("Bad Request: not enough rights to send text messages to the chat"))', src/webhooks/gitlab/http_server.rs:151:10

Support for telegram forums?

Hi, would it be possible to (configure and) send events to a specific topic in a forum group?

Also it seems that the bot does not work whatsoever in forum groups.

Thanks for your efforts โ€” best regards.

How to build the project on Linux

Hi @mhkafadar
I am interested in working on and using this project
please give me some detail on how to build the project on Linux
I don't want to use the docker.

I installed Rust, Build Essentioal, Postgress, and GCC on my machine and got this error
linking with cc failed: exit status: 1

Fix Api(ChatNotFound) issue

thread 'actix-server worker 0' panicked at 'called Result::unwrap() on an Err value: Api(ChatNotFound)', src/webhooks/gitlab/http_server.rs:151:10

Allow notifications in group chats

Hi @mhkafadar !
Your bot looks promising and is a great replacement for integram gitlab_bot.
I've noticed that Gitlab notifications to group chats failing with the following error:
Hook executed successfully but returned HTTP 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> </body> </html>

It would be great to have the same notification list (ex: push, pipelines) in group chats.
I guess you have disabled the Groups function in Telegram bot settings.

How to get GITLAB_TELOXIDE_TOKEN

Thanks your bot working fine ,
but if i wanna build it my own
seems this is the most difficult part for noobs like me
how to get webhook
how to get GITLAB_TELOXIDE_TOKEN

Fix Api(BotBlocked) issue

thread 'actix-server worker 0' panicked at 'called Result::unwrap() on an Err value: Api(BotBlocked)', src/webhooks/gitlab/http_server.rs:151:10

Bot should remove webhook once blocked.

Fix Api(MessageIsTooLong) issue

thread 'actix-server worker 0' panicked at 'called Result::unwrap() on an Err value: Api(MessageIsTooLong)', src/webhooks/gitlab/http_server.rs:151:10

Fix actix-server panic issue

thread 'actix-server worker 0' panicked at 'called Result::unwrap() on an Err value: Error("invalid type: null, expected f64", line: 1, column: 427)', src/webhooks/gitlab/webhook_handlers/job.rs:28:60

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.