
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Lightweight library for working with Telegram Bot Api + Generate Images, Audio and Text
Ekogram — лёгкий Python-модуль для Telegram Bot API и работы с нейросетями.
Он объединяет простую работу с Telegram и мощные функции: GPT, генерация изображений, перевод и озвучка.
pip install ekogram
или для macOS:
pip3 install ekogram
Message
, User
, Chat
, Audio
, Photo
, Voice
и т.д.callback_query
, inline_query
, handlers
from ekogram import Bot
bot = Bot("ВАШ_ТОКЕН")
@bot.message_handler(commands=["start"])
def start_handler(message):
bot.reply_message(chat_id=message.chat.id, text="Привет! Я бот Ekogram!")
bot.polling()
FreeGpt
— бесплатный GPTfrom ekogram import FreeGpt
gpt = FreeGpt()
messages = [
{"role": "system", "content": "Отвечай кратко и по делу"},
{"role": "user", "content": "Расскажи, кто такой Эйнштейн?"}
]
print(gpt.deepchat(messages))
FreeImg
— генерация картинокfrom ekogram import FreeImg
img = FreeImg()
print(img.flux("cyberpunk robot with fire"))
Translate
— перевод текстаfrom ekogram import Translate
tr = Translate()
print(tr.deepl("Hello, how are you?", target="ru"))
ChatGPT
— сессия с GPTfrom ekogram import ChatGPT
chat = ChatGPT(url='https://chatgpt.com', headers={})
print(chat.generate_chat_completion(model="gpt-4o-mini", messages=[{"role": 'user', "content": "Hi"}]))
gpt.speech(text="Привет, как дела?", filename="voice", voice="nova") #filename -> voice.mp3
from ekogram import Bot, Markup
bot = Bot("TOKEN")
@bot.message_handler(commands=["menu"])
def menu(message):
buttons = [{"text": "Кнопка 1"}, {"text": "Кнопка 2"}]
markup = Markup.create_reply_keyboard(buttons)
bot.reply_message(chat_id=message.chat.id, text="Выберите вариант:", reply_markup=markup)
User
, Chat
, Message
, File
, Photo
, Voice
, Video
, Sticker
, Document
, Location
, Dice
и др.InputMediaPhoto
, InputMediaVideo
, InputMediaAudio
, InputMediaDocument
, InputMediaAnimation
InlineQuery
, InlineQueryResultArticle
, InlineQueryResultPhoto
, InlineQueryResultVideo
Markup.create_inline_keyboard()
, Markup.create_reply_keyboard()
, Markup.remove_reply_keyboard()
FreeGpt
, FreeImg
, Translate
, ChatGPT
MIT License
Email: siriteamrs@gmail.com
Если возникнут идеи, баги, предложения — пишите 🙌
FAQs
Lightweight library for working with Telegram Bot Api + Generate Images, Audio and Text
We found that ekogram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.