Orbeo DevОткрыть в Orbeo

Архив · страница 1 из 2 · 2 ноября 2026 — 2 ноября 2026

🧠 AI writes the posts: store-api.com + an Orbeo bot

store-api.com gives you one key for Claude, GPT, Gemini and DeepSeek. The API is OpenAI-compatible, so any OpenAI code or SDK works.

The idea: a scheduled script asks a model to write a post → the bot publishes it to your channel.

curl https://store-api.com/v1/chat/completions \
  -H "Authorization: Bearer $STORE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"model":"anthropic/claude-haiku-4.5",
       "messages":[{"role":"user","content":"Write a post about ..."}]}'

The ready script below:
• your channel's topic and style live at the top of the file (TOPIC, STYLE);
• remembers past topics and doesn't repeat itself;
• one post per run, or --every 180 for every 3 hours (or cron).

Tips:
• cheap models are plenty for posts: Claude Haiku 4.5, Gemini Flash, DeepSeek;
• don't ask for “today's news” without a source — the model will make it up. Feed it RSS text instead;
• read the first few posts yourself and tune STYLE.

#guide #ai #storeapi

🧠 Посты пишет ИИ: store-api.com + бот Orbeo

store-api.com — один ключ к Claude, GPT, Gemini и DeepSeek, оплата в рублях. API как у OpenAI, поэтому подходит любой код и SDK для OpenAI.

Схема: скрипт по расписанию просит модель написать пост → бот публикует его в канал.

curl https://store-api.com/v1/chat/completions \
  -H "Authorization: Bearer $STORE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"model":"anthropic/claude-haiku-4.5",
       "messages":[{"role":"user","content":"Напиши пост про ..."}]}'

Готовый скрипт ниже:
• тема и стиль канала — в начале файла (TOPIC, STYLE);
• помнит прошлые темы и не повторяется;
• один пост — запуском, или --every 180 — каждые 3 часа (или cron).

Советы:
• для постов хватает недорогих моделей: Claude Haiku 4.5, Gemini Flash, DeepSeek;
• не просите «свежие новости» без источника — модель их выдумает. Для новостей подавайте ей текст из RSS;
• первые посты проверьте глазами и подкрутите STYLE.

#гайд #ии #storeapi

tg_to_orbeo_repost.py5,9 КБ · скачать в Orbeo

📎 Telegram → Orbeo: репост постов канала · channel mirror

TG_BOT_TOKEN=... ORBEO_BOT_TOKEN=... ORBEO_CHANNEL=@mychannel python3 tg_to_orbeo_repost.py

Необязательно · optional: TG_CHANNEL=@source — брать только из этого канала · only this channel; SIGNATURE="..." — подпись · footer.

🔁 Mirror your Telegram channel into Orbeo

Running a channel on Telegram? Let every new post appear on Orbeo too.

How it works:
1. Telegram: @BotFather → /newbot → token. Add that bot as an administrator of your Telegram channel — it then receives every post (channel_post).
2. Orbeo: create a bot and add it as an administrator of your Orbeo channel.
3. The script listens to Telegram and publishes to Orbeo: text with formatting (bold, links) and photos with captions.

TG_BOT_TOKEN=... ORBEO_BOT_TOKEN=... \
ORBEO_CHANNEL=@mychannel python3 tg_to_orbeo_repost.py

No dependencies, Python 3.8+. Keep it running on a server or your PC: systemd, pm2, screen. Optional SIGNATURE adds a line under every post.

⚠️ Only mirror channels you own or have permission to copy.

#guide #telegram #mirror

🔁 Репост из Telegram в Orbeo

Ведёте канал в Telegram? Пусть каждый новый пост сам появляется и в Orbeo.

Как устроено:
1. В Telegram: @BotFather → /newbot → токен. Добавьте этого бота администратором своего Telegram-канала — тогда он получает каждый пост (channel_post).
2. В Orbeo: создайте бота и добавьте его администратором своего канала Orbeo.
3. Скрипт слушает Telegram и публикует пост в Orbeo: текст с оформлением (жирный, ссылки), фото с подписью.

TG_BOT_TOKEN=... ORBEO_BOT_TOKEN=... \
ORBEO_CHANNEL=@mychannel python3 tg_to_orbeo_repost.py

Без библиотек, Python 3.8+. Держите его запущенным на сервере или ПК: systemd, pm2, screen. По желанию SIGNATURE — подпись под каждым постом.

⚠️ Копируйте только свои каналы или с разрешения автора.

#гайд #telegram #репост

📣 A bot that publishes to your channel

1. Create a bot (Settings → My bots).
2. Open your channel → header → Administrators → Add a bot → type the bot's handle. A bot can post to a channel only as an admin.
3. Send posts with chat_id = the channel handle:

import requests
TOKEN = "123:..."
requests.post(f"https://orbeo.me/botapi/bot{TOKEN}/sendMessage", json={
    "chat_id": "@mychannel",
    "text": "<b>News of the day</b>\nPost text",
    "parse_mode": "HTML",
    "reply_markup": {"inline_keyboard": [[{"text": "Read", "url": "https://orbeo.me"}]]},
})

Photos: sendPhoto with photo (a file or a URL) and caption.

Put it in cron or a systemd timer and the channel runs itself: exchange rates, weather, reports from your CRM, new products in your shop.

This very channel is posted by our bot @orbidevbot — the same way.

#guide #autoposting

📣 Бот, который сам публикует посты в канал

1. Создайте бота (Настройки → Мои боты).
2. Откройте свой канал → шапка → Администраторы → Добавить бота → введите адрес бота. Публиковать в канал бот может только администратором.
3. Отправляйте посты с chat_id = адрес канала:

import requests
TOKEN = "123:..."
requests.post(f"https://orbeo.me/botapi/bot{TOKEN}/sendMessage", json={
    "chat_id": "@mychannel",
    "text": "<b>Новость дня</b>\nТекст поста",
    "parse_mode": "HTML",
    "reply_markup": {"inline_keyboard": [[{"text": "Читать", "url": "https://orbeo.me"}]]},
})

Фото — sendPhoto с полем photo (файл или ссылка) и caption.

Поставьте скрипт в cron или systemd-таймер — и канал живёт сам: курсы валют, погода, сводки из вашей CRM, новые товары магазина.

Этот канал публикует наш бот @orbidevbot — тем же способом.

#гайд #автопостинг

📚 Telegram bot libraries work on Orbeo

Change only the server address — the rest of your code stays the same.

aiogram 3

session = AiohttpSession(api=TelegramAPIServer.from_base("https://orbeo.me/botapi"))
bot = Bot(TOKEN, session=session)

python-telegram-bot

Application.builder().token(TOKEN)
  .base_url("https://orbeo.me/botapi/bot")
  .base_file_url("https://orbeo.me/botapi/file/bot")

Telegraf — keep the trailing slash, otherwise Telegraf drops /botapi:

new Telegraf(TOKEN, { telegram: { apiRoot: 'https://orbeo.me/botapi/' } })

node-telegram-bot-api

new TelegramBot(TOKEN, { polling: true, baseApiUrl: 'https://orbeo.me/botapi' })

Supported: text and photos, inline and reply keyboards, commands, editing and deleting, polls, inline mode “@bot query”, groups and channels.

Limits: 30 messages/s per bot, 1/s per DM, 20/min per group — beyond that you get 429 with retry_after.

Below: two ready bots, on aiogram and on Telegraf.

#guide #aiogram #telegraf

📚 Готовые библиотеки Telegram работают в Orbeo

Меняете только адрес сервера — остальной код остаётся как был.

aiogram 3

session = AiohttpSession(api=TelegramAPIServer.from_base("https://orbeo.me/botapi"))
bot = Bot(TOKEN, session=session)

python-telegram-bot

Application.builder().token(TOKEN)
  .base_url("https://orbeo.me/botapi/bot")
  .base_file_url("https://orbeo.me/botapi/file/bot")

Telegraf — косая черта в конце обязательна, иначе Telegraf отрежет /botapi:

new Telegraf(TOKEN, { telegram: { apiRoot: 'https://orbeo.me/botapi/' } })

node-telegram-bot-api

new TelegramBot(TOKEN, { polling: true, baseApiUrl: 'https://orbeo.me/botapi' })

Работают текст и фото, кнопки под сообщением и вместо клавиатуры, команды, правка и удаление, опросы, встроенный режим «@бот запрос», группы и каналы.

Лимиты: 30 сообщений в секунду на бота, 1 в секунду в одну личку, 20 в минуту в группу — сверх них сервер ответит 429 с retry_after.

Ниже два готовых бота: на aiogram и на Telegraf.

#гайд #aiogram #telegraf

orbeo_echo_bot.py3 КБ · скачать в Orbeo

📎 Эхо-бот без библиотек · Echo bot, no dependencies

ORBEO_BOT_TOKEN=123:... python3 orbeo_echo_bot.py

Отвечает на /start и /help, повторяет текст, сам ставит меню команд. · Answers /start and /help, echoes text, sets the command menu.

⚡ Bot API: your first requests

Server address: https://orbeo.me/botapi. Same protocol as the Telegram Bot API — same methods, same fields, same errors.

T=123:your_token
curl https://orbeo.me/botapi/bot$T/getMe

curl -X POST https://orbeo.me/botapi/bot$T/sendMessage \
  -H 'Content-Type: application/json' \
  -d '{"chat_id":"@mychannel","text":"Hello from the API!"}'

• Every response is {"ok": true, "result": …} or {"ok": false, "description": …}.
• chat_id: in a DM use chat.id from the update; in groups and channels — "@handle".
• Incoming messages: getUpdates (long polling up to 50 s) or setWebhook (https only).

Below: an echo bot in plain Python — zero dependencies, one command to run.

#guide #api

⚡ Bot API: первые запросы

Адрес сервера — https://orbeo.me/botapi. Протокол тот же, что у Telegram Bot API: те же методы, те же поля, те же ошибки.

T=123:ваш_токен
curl https://orbeo.me/botapi/bot$T/getMe

curl -X POST https://orbeo.me/botapi/bot$T/sendMessage \
  -H 'Content-Type: application/json' \
  -d '{"chat_id":"@mychannel","text":"Привет из API!"}'

• Ответ всегда {"ok": true, "result": …} или {"ok": false, "description": …}.
• chat_id: в личке — chat.id из обновления, в группе и канале — "@адрес".
• Новые сообщения: getUpdates (долгий опрос до 50 с) или setWebhook (только https).

Ниже — эхо-бот на чистом Python: ни одной библиотеки, запускается одной командой.

#гайд #api

🤖 How to create a bot on Orbeo

1. Settings → My bots → Create a bot.
2. Any name. The handle: Latin letters, digits and “_”, and it must end with bot — e.g. weather_bot.
3. Copy the token. It's shown only once. Lost it? “Issue a new token” — the old one stops working immediately.
4. On the same screen: avatar, “About” (shown before the Start button), commands (one per line: “start — Start”), group privacy mode and inline mode.

🔐 The token is your bot's password. Never post it, never commit it — keep it in an environment variable.

Limits: up to 20 bots per account, 5 new ones per day.

#guide #bots

🤖 Как создать бота в Orbeo

1. Настройки → Мои боты → Создать бота.
2. Имя — любое. Адрес — латиница, цифры и «_», в конце обязательно bot: например weather_bot.
3. Скопируйте токен. Он показывается один раз. Потеряли — «Выпустить новый токен», старый сразу перестанет работать.
4. Там же настраиваются аватар, «О боте» (видно до кнопки «Начать»), команды (строка «start — Начать»), режим приватности в группах и встроенный режим.

🔐 Токен — это пароль бота. Не публикуйте его, не кладите в git, храните в переменной окружения.

Лимиты: до 20 ботов на аккаунт и 5 новых в сутки.

#гайд #боты

👋 Orbeo Dev — a channel for people who build bots and automation on Orbeo.

What you'll find here:
• how to create a bot and get its token;
• the Orbeo Bot API — it's Telegram-compatible, so aiogram, Telegraf and other libraries just work;
• a bot that publishes posts to your channel by itself;
• mirroring a Telegram channel into Orbeo;
• posts written by AI via store-api.com;
• ready-to-run files: download → paste your token → run.

Posts come in Russian and English. Questions — DM @orbeo_help.

#orbeodev

👋 Orbeo Dev — канал для тех, кто делает ботов и автоматизацию в Orbeo.

Что здесь будет:
• как создать бота и получить токен;
• Bot API Orbeo — он совместим с Telegram, подходят aiogram, Telegraf и другие библиотеки;
• бот, который сам публикует посты в канал;
• перенос постов из Telegram-канала в Orbeo;
• посты, которые пишет ИИ через store-api.com;
• готовые файлы: скачал → вставил токен → запустил.

Посты выходят на русском и английском. Вопросы — в личку @orbeo_help.

#orbeodev

orbeo.me · мессенджер без номера телефона