Skip to content

Instantly share code, notes, and snippets.

@mnemocron
Created August 3, 2023 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnemocron/fccd0905292a9d1a4d261789926bcb9e to your computer and use it in GitHub Desktop.
Save mnemocron/fccd0905292a9d1a4d261789926bcb9e to your computer and use it in GitHub Desktop.
Xilinx to Telegram notification "Synthesis Complete" / "Implementation Complete"
#!/usr/bin/tclsh
cd /home/USER/Documents/vivado/scripts
exec ./telegram_synth_msg.sh
#!/bin/bash
curl -s -X POST \
-H 'Content-Type: application/json' \
-d '{"chat_id": "CHAT_ID", "text": "Vivado: Synthesis Complete", "disable_notification": false}' \
https://api.telegram.org/BOT_TOKEN/sendMessage > /dev/null
#curl -X POST \
# -H 'Content-Type: application/json' \
# -d '{"chat_id": "CHAT_ID", "text": "This is a test from curl", "disable_notification": true}' \
# https://api.telegram.org/BOT_TOKEN/sendMessage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment