ff-ruyijs
A AI Browser run any site JavaScript from Python with the real Firefox engine. Headless SpiderMonkey + Necko for automation and scraping.
Run a Telegram bot server; access the bot via its Telegram username
Translation pending
AI summary · website content
Developer toolsJavaScriptGitHub @vl595858-dotOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Код полностью готов. Ниже — шаги, которые нужно сделать руками, каждый занимает несколько минут. Ни один из них не требует OAuth или Google Cloud Console — именно этим бот проще предыдущего проекта.
/newbotbot, например moi_dela_bot)123456:ABC-DEF.... Сохрани его.moidelishki)schema.sql из этой папки, выполни (кнопка Run) — создадутся все таблицыpostgresql://... — это DATABASE_URLТочно так же, как в прошлый раз:
git init
git add .
git commit -m "init"
Создай новый пустой репозиторий на github.com (например toki-clone), затем:
git remote add origin https://github.com/ТВОЙ-ЛОГИН/toki-clone.git
git branch -M main
git push -u origin main
На vercel.com → Add New → Project → импортируй toki-clone → Deploy
(сборка упадёт без переменных окружения — это ожидаемо, идём дальше)
Settings → Environment Variables, добавь семь штук:
| Имя | Значение |
|---|---|
TELEGRAM_BOT_TOKEN | токен из шага 1 |
TELEGRAM_WEBHOOK_SECRET | любая случайная строка, придумай сама |
SETUP_KEY | ещё одна случайная строка |
DATABASE_URL | строка из шага 2 |
OPENAI_API_KEY | ключ из шага 3 |
CRON_SECRET | ещё одна случайная строка |
DEFAULT_TZ_OFFSET | +03:00 для Москвы (или другое смещение) |
После сохранения — Deployments → верхний деплой → три точки → Redeploy.
Узнай адрес сайта (Settings → Domains), затем один раз открой в браузере:
https://твой-адрес.vercel.app/api/setup-webhook?key=ТВОЙ_SETUP_KEY
(ТВОЙ_SETUP_KEY — то, что ты вписала в переменную SETUP_KEY)
Должен прийти ответ вида {"telegramResponse":{"ok":true,...}} — значит Telegram
теперь знает, куда слать сообщения.
На https://cron-job.org создай задание:
https://твой-адрес.vercel.app/api/cron/remindersAuthorization = Bearer ТВОЙ_CRON_SECRET (то же значение, что на Vercel)Если cron-job.org сам отключит задание после серии ошибок, открой его → «Изменить» → «Включить задание» → «Сохранить».
Открой бота в Telegram по его username, напиши или скажи голосом:
Встреча с юристом завтра в 15:00, напомни за час
Бот должен ответить подтверждением с эмодзи и датой. За час до события придёт отдельное сообщение-напоминание (с точностью до минуты).
Спроси и про погоду: «погода в Перми».
Логи смотри на Vercel: проект → Deployments → последний деплой → Runtime Logs. Пришли мне текст ошибки — по нему я скажу точную причину.