A Telegram Bot written in Rust to Track new Github releases

Overview

Release Tracker

This is used to track Releases posted on GitHub Releases and Post it on a Telegram Channel/Group.

Setup

  1. Export env variables or just fill the .env file
    CHAT_ID="" //ID of the chat where you wanna set the alert to
    API_TOKEN="" //API Token of the bot
    REPO_LIST="" //List of repos seperated by comma(,) with format <username>/<reponame>
    
  2. Install cargo using by running
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
  3. And finally run the bot using cargo run
You might also like...
Visual Odometry in Rust (vors)

Visual Odometry in Rust (vors) This repository provides both a library ("crate" as we say in Rust) named visual-odometry-rs, (shortened vors) and a bi

A Simple-to-use, cross-platform Rust Webcam Capture Library

Cross Platform Rust Library for powerful Webcam Capture and Virtual Webcams

Classical Rainbow Triangle using Rust and Vulkan via vulkano bindings
Classical Rainbow Triangle using Rust and Vulkan via vulkano bindings

Vulkano Rainbow Triangle Classical Rainbow Triangle using Rust and Vulkan via vulkano bindings. Based on the vulkano triangle example Quick Start $ ca

A simple command-line utility (and Rust crate!) for converting from a conventional image file (e.g. a PNG file) into a pixel-art version constructed with emoji
A simple command-line utility (and Rust crate!) for converting from a conventional image file (e.g. a PNG file) into a pixel-art version constructed with emoji

EmojiPix This is a simple command-line utility (and Rust crate!) for converting from a conventional image file (e.g. a PNG file) into a pixel-art vers

Silicon is an alternative to Carbon implemented in Rust.
Silicon is an alternative to Carbon implemented in Rust.

Silicon is an alternative to Carbon implemented in Rust.

😱 Dead fast thumbnail library for browser and NodeJs! Built with Rust 🦀 and WebAssembly 🕸

thumbo-core 😱 Dead fast thumbnail library for browser and NodeJs Built with Rust 🦀 & WebAssembly 🕸 📖 About thumbo-core is a thubnail library for b

A Simple Image to Ascii converter in Rust
A Simple Image to Ascii converter in Rust

Image to Ascii A Simple Image to Ascii converter in Rust Brief 📖 In my way to learn Rust i decided to make this converter. Challenges 🐢 new to Rust

@Buildspace project creating a Web3 Solana Dapp with React and Rust
@Buildspace project creating a Web3 Solana Dapp with React and Rust

buildspace Solana GIF Portal Project Welcome 👋 To get started with this course, clone this repo and follow these commands: Run npm install at the roo

Boids example ported from wgpu to rust-gpu
Boids example ported from wgpu to rust-gpu

wgpu is Rust's main GPU project and rust-gpu is a project to write GPU shaders in Rust.

Comments
  • ¿Bug?

    ¿Bug?

    Hi. I have been using this bot for a couple of days but I have encountered what it seems to be a bug. I'm using this repo to get notified of new releases: https://github.com/jobobby04/TachiyomiSYPreview/releases But even though the last release was published 6 days ago and the latest version is 425, a moment ago the bot pinned in my channel version 423 as if it was a recent release.

    opened by DarremMolko 4
  • Wrong repo/author link

    Wrong repo/author link

    I have noticed for a while now that it gives the wrong repository and author link, as shown in the screenshots below Author Screenshot_20220130-135658 Repository IMG_20220130_140617 The repository is https://github.com/tachiyomiorg/tachiyomi-preview and belongs to tachiyomiorg.

    opened by DarremMolko 3
  • panicked at 'called `Option::unwrap()` on a `None` value'

    panicked at 'called `Option::unwrap()` on a `None` value'

    Bug report

    Environment

    OS version : 5.13.0-27-generic #29-Ubuntu SMP Wed Jan 12 17:36:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

    Expecte Behavior

    Shouldn't have crashed

    Current Behavior

    Finished dev [unoptimized + debuginfo] target(s) in 0.18s
         Running `target/debug/release-track`
    We are up to date
    thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/telegram.rs:59:18
    

    Backtrace

        Finished dev [unoptimized + debuginfo] target(s) in 0.18s
         Running `target/debug/release-track`
    We are up to date
    thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/telegram.rs:59:18
    stack backtrace:
       0: rust_begin_unwind
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/std/src/panicking.rs:498:5
       1: core::panicking::panic_fmt
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/panicking.rs:107:14
       2: core::panicking::panic
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/panicking.rs:48:5
       3: core::option::Option<T>::unwrap
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/option.rs:746:21
       4: release_track::telegram::TelegramClient::can_pin_messages::{{closure}}
                 at ./src/telegram.rs:55:37
       5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/future/mod.rs:80:19
       6: release_track::telegram::TelegramClient::send_message::{{closure}}
                 at ./src/telegram.rs:100:16
       7: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/future/mod.rs:80:19
       8: release_track::run::{{closure}}
                 at ./src/main.rs:46:21
       9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/future/mod.rs:80:19
      10: release_track::main::{{closure}}
                 at ./src/main.rs:15:9
      11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/future/mod.rs:80:19
      12: tokio::park::thread::CachedParkThread::block_on::{{closure}}
                 at /home/jaga-matrix/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.1/src/park/thread.rs:263:54
      13: tokio::coop::with_budget::{{closure}}
                 at /home/jaga-matrix/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.1/src/coop.rs:102:9
      14: std::thread::local::LocalKey<T>::try_with
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/std/src/thread/local.rs:399:16
      15: std::thread::local::LocalKey<T>::with
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/std/src/thread/local.rs:375:9
      16: tokio::coop::with_budget
                 at /home/jaga-matrix/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.1/src/coop.rs:95:5
      17: tokio::coop::budget
                 at /home/jaga-matrix/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.1/src/coop.rs:72:5
      18: tokio::park::thread::CachedParkThread::block_on
                 at /home/jaga-matrix/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.1/src/park/thread.rs:263:31
      19: tokio::runtime::enter::Enter::block_on
                 at /home/jaga-matrix/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.1/src/runtime/enter.rs:151:13
      20: tokio::runtime::thread_pool::ThreadPool::block_on
                 at /home/jaga-matrix/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.1/src/runtime/thread_pool/mod.rs:73:9
      21: tokio::runtime::Runtime::block_on
                 at /home/jaga-matrix/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.1/src/runtime/mod.rs:477:43
      22: release_track::main
                 at ./src/main.rs:14:5
      23: core::ops::function::FnOnce::call_once
                 at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/ops/function.rs:227:5
    note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
    
    bug 
    opened by ms-jagadeeshan 3
Owner
Kartikeya Hegde
"What I cannot create I do not understand"
Kartikeya Hegde
tai (Terminal Ascii Image) tool to convert images to ascii written in Rust

TAI Terminal Ascii Image A tool to convert images to ascii art written in Rust ?? Notes This tool is still in development stage. Contributions All Con

Mustafa Salih 258 Dec 5, 2022
🎨 Example-based texture synthesis written in Rust 🦀

?? texture-synthesis A light Rust API for Multiresolution Stochastic Texture Synthesis [1], a non-parametric example-based algorithm for image generat

Embark 1.7k Dec 31, 2022
A simple image average color extractor written in 🦀 Rust

A simple image average color extractor written in ?? Rust

Victor Aremu 3 Sep 23, 2021
Antialiased 2D vector drawing library written in Rust

femtovg Join the femtovg Discord channel Work in progress! Antialiased 2D vector drawing library written in Rust.

Tomasz Sterna 0 Aug 24, 2021
A Rust library for calculating perceptual hash values of images

img_hash Now builds on stable Rust! (But needs nightly to bench.) A library for getting perceptual hash values of images. Thanks to Dr. Neal Krawetz f

Austin Bonander 264 Dec 9, 2022
Encoding and decoding images in Rust

Image Maintainers: @HeroicKatora, @fintelia How to contribute An Image Processing Library This crate provides basic image processing functions and met

image-rs 3.5k Jan 9, 2023
Rust bindings for OpenCV 3 & 4

Rust OpenCV bindings Experimental Rust bindings for OpenCV 3 and 4. The API is usable, but unstable and not very battle-tested; use at your own risk.

null 1.2k Dec 30, 2022
Zero dependency images (of chaos) in Rust

bifurcate-rs Zero dependency images (of chaos) in Rust To run: time cargo run --release > img.pgm To convert from PGM to PNG using Image Magick: conve

Stephen Merity 32 Nov 17, 2021
Face detection library for the Rust programming language

Rustface SeetaFace detection library for the Rust programming language Example of demo program output SEETAFACE C++ – Github repository for the origin

Andrei Tomashpolskiy 323 Dec 27, 2022
Rust CV mono-repo

Rust CV Rust CV is a project to implement computer vision algorithms, abstractions, and systems in Rust. #[no_std] is supported where possible. Docume

Rust Computer Vision 429 Dec 29, 2022