Logfather is a powerful Telegram notification tool for VibeScript that allows you to send messages to Telegram chats directly from the command line. It provides a simple profile-based system for managing multiple Telegram bot configurations:
- Install VibeScript runtime
- Configure Logfather with your Telegram bot credentials
- Send notifications from anywhere
This tool is designed for developers who want to:
- Send notifications from scripts and automation workflows
- Monitor application status via Telegram
- Receive alerts and logs in real-time
- Integrate Telegram notifications into CI/CD pipelines
- Profile Management - Store multiple Telegram bot configurations with profiles.
- Simple Message Sending - Send text messages directly from command line.
- File-based Messages - Send message content from text files.
- Multiple Profiles - Manage different bots and chats with ease.
- Easy Configuration - Set up bot tokens and chat IDs with simple commands.
Choose the appropriate installation method for your operating system:
curl -L https://github.com/OUIsolutions/VibeScript/releases/download/0.32.0/vibescript.out -o vibescript.out && chmod +x vibescript.out && sudo mv vibescript.out /usr/local/bin/vibescriptcurl -L https://github.com/OUIsolutions/VibeScript/releases/download/0.35.0/amalgamation.c -o vibescript.c && gcc vibescript.c -o vibescript.out && sudo mv vibescript.out /usr/local/bin/vibescriptvibescript add_script --file https://github.com/OUIsolutions/Logfather/releases/download/0.1.0/logfather.lua logfatherLogfather uses a profile-based system to manage your Telegram bot configurations. First, set up a profile with your bot credentials, then send messages using that profile.
Configure a new profile with your Telegram bot token and chat ID:
vibescript logfather set_profile --profile <profile> --token <TOKEN> --chat_id <CHAT_ID>--profileor-p: The name of the profile to create or update.--tokenor-t: Your Telegram bot token (obtain from @BotFather).--chat_idor-c: The chat ID where messages will be sent.
--profileor-p: The profile name to use for sending.--messageor-m: The message text to send.--message_fileor-mf: Path to a text file containing the message.
vibescript logfather list_profilesvibescript logfather set_profile --profile devops --token "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" --chat_id "123456789"vibescript logfather send_message --profile devops --message "Deployment completed successfully!"vibescript logfather send_message --profile devops --message_file "./logs/error.txt"vibescript logfather send -p devops -m "Build #42 started"- Create a Bot: Talk to @BotFather on Telegram and use
/newbotto create a bot. You'll receive a bot token. - Get Chat ID:
- Add your bot to a chat or start a conversation with it
- Send a message to the bot
- Visit:
https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates - Look for the
"chat":{"id":field in the response
This project is licensed under the MIT License - see the LICENSE file for details.