Development of a chat bot with WebApp and GPT integration (Node.js server + Typescript)
Нужно разработать приложение по ТЗ ниже, работать будем по этапам (смотрите дорожную карту ниже), сейчас нужно выбрать финальную сумму за которую вы сделаете всю систему от и до, а также мне нужно выбрать исполнителя, работать будем через сейф, предлагайте бюджеты и кейсы.
Прикрепил склете проекта с чего будем начинать (это ориентир для разработки от ГПТ)
Что получает клиент (результат за ≤ 1 минуту)
Свое мини-приложение (PWA) под личный поддомен вида
u123-abc.myapps.com(на старте можноmyapps.com/deploy/slug).Реально полезные классы (от простых до «средне-сложных», но без бэка):
To-Do / Task manager с разделами и приоритетами
Habit/Expense tracker с локальной статистикой (графики)
Калькуляторы по своим формулам (FOPO/любые выражения)
Mini-CRM (контакты+заметки)
Personal dashboard (виджеты: заметки, таймер, погода)
Уникализация «под себя»: собственные поля, собственные формулы, свои фильтры/логика — не «шаблон», а свой инструмент.
Офлайн-доступ (PWA + IndexedDB), экспорт/импорт JSON, история версий и быстрые правки через чат.
Как это работает (flow)
Пользователь видит рекламу → заходит в Telegram-бот →
/start.Пишет задачу: «Сделай калькулятор по моей формуле X со страницей результатов».
Бот → AI (GPT-5) генерит набор файлов (HTML/JS/CSS +
manifest.json+service-worker.js) строго по схеме (Structured Outputs) и, при правках, точечными патчами (function/tool-calling). platform.openai.com+1Билдер сохраняет файлы, деплоит статик → отдаёт ссылку.
Пользователь открывает и устанавливает как приложение (PWA).
Любая новая реплика «Добавь виджет/логотип/формулу/таймер» → перегенерация и деплой новой версии.
По желанию открывает Mini WebApp (встроенную панель) из бота — для списков проектов и «быстрых» правок. Telegram WebApp шлёт данные обратно боту через встроенные механики (initData/sendData). core.telegram.org
Архитектура (минимум для живого MVP)
Интерфейсы
Telegram Bot — главный UI (диалоги, создание/правки, список проектов). Доставка апдейтов: либо long polling, либо webhooks (любой из официально поддержанных способов). core.telegram.org+1
Telegram Mini WebApp — лёгкая панель управления (список проектов, переименовать, «перегенерировать», предпросмотр). Авторизация через
initData. core.telegram.orgPWA проектов — статические приложения, хостятся и отдаются CDN.
Сервер (Node.js + TS)
API-шлюз: REST эндпойнты
/projects,/generate,/edit,/versions,/deploy.Сервис кодогенерации (AI): вызывает OpenAI Responses API с Structured Outputs и function/tool-calling(строгие JSON-схемы планов и патчей). Reutersplatform.openai.com+1
Билд-раннер: собирает/валидирует статик (Vite/React или чистый HTML/JS), пакует артефакт.
Деплой-сервис: кладёт артефакт в сторадж и отдаёт URL; позже — автоматом поднимает CNAME поддомен через Cloudflare-API.
Хранилища:
мета (users/projects/versions/logs) — SQLite → Postgres при росте,
файлы/артефакты — локально → R2/S3 при росте,
кэш/очереди — Redis/BullMQ (асинхронные билды).
Статик-сервер: Express для
/deploy/<slug>→ позже переносим на Cloudflare Pages/R2 (CDN).
Домен и DNS
MVP:
myapps.com/deploy/<slug>(просто и быстро).V2:
u123-abc.myapps.comчерез Cloudflare DNS API (CNAME → статика).
Данные и схемы (упрощённо)
users: id, tg_id, username, plan, created_at
projects: id, user_id, slug, title, last_url, created_at, updated_at
versions: id, project_id, number, summary, created_at
files: id, project_id, path, storage_key, sha256, created_at
builds: id, project_id, version_id, status, logs_url, artifact_key, created_at
events (аудит/метрики): user_id, project_id, type, meta, ts
conversations: связь реплик с версиями (прозрачный трейс правок)
API (минимальный контур)
POST /projects→ создать проектGET /projects→ список проектов юзераPOST /projects/:id/generate→ первичное создание по промптуPOST /projects/:id/edit→ вторичные правки (точечные патчи)GET /projects/:id/versions→ список версийPOST /projects/:id/rollback→ откатPOST /projects/:id/build→ вручную собратьPOST /projects/:id/deploy→ задеплоить и получить URL
AI-слой (надёжная генерация и правки)
Structured Outputs: заставляем модель строго вернуть
PLANпо JSON-схеме: какие файлы создать/править/удалить, и почему. platform.openai.comopenai.comFunction / Tool calling: инструменты
read_file,apply_patch(unified diff с base_sha),create_file,delete_file,pwa_scaffold,run_build,deploy_static. Модель сначала планирует, потом вызывает инструменты, потом проверяет сборку и только затем отвечает пользователю. platform.openai.comРелевантный контекст: вместо «всего проекта» даём деревце + нужные куски (быстро и дёшево).
Патчи вместо перегенерации: вторичные запросы — микро-diff в нужный файл (слишком большие изменения запрещаем политикой).
Формулы/правила: для FOPO и прочего — в код добавляем мини-движок выражений (ограниченный, без
eval), чтобы клиент мог менять формулы в одном месте (JSON илиtokens.ts).Ограничения безопасности: операции только в
/workspace/{projectId}, размер файлов/патчей лимитируем, base_sha — обязательный, откаты и журнал.
PWA и данные
PWA по умолчанию:
manifest.json,service-worker.js,
Архив проекта:
telegram-codegen-mvp-updated/
│── package.json # зависимости, скрипты (start, dev, build, serve, cf:dns:create и т.д.)
│── tsconfig.json # конфиг TypeScript
│── .env.example # пример переменных окружения (TELEGRAM_BOT_TOKEN, OPENAI_API_KEY, PUBLIC_BASE_URL и др.)
│── README.md # инструкция по запуску и описанию проекта
│
├── src/ # исходники TypeScript
│ ├── bot.ts # Telegram-бот (Telegraf): создание проектов, правки, выдача ссылок
│ ├── server.ts # Express REST API + раздача статики (deploy + webapp)
│ ├── db.ts # SQLite: users, projects, versions, conversations
│ ├── config.ts # загрузка .env и глобальных переменных
│ ├── openai.ts # интеграция с OpenAI Responses API (Structured Outputs → файлы)
│ ├── schemas.ts # JSON-схемы (PLAN/PATCH для AI)
│ ├── tools.ts # инструменты: read/create/patch/delete, run_build, deploy_static, pwa_scaffold
│ └── deploy.ts # вспомогательный деплой файлов (slug, url)
│
├── webapp/ # Mini WebApp (панель управления)
│ └── index.html # простая панель: ввод TG ID → список проектов (названия + ссылки)
│
├── scripts/ # вспомогательные утилиты
│ ├── cf-dns-create.mjs # создание поддоменов через Cloudflare API
│ └── serve-webapp.mjs # заглушка-скрипт для запуска webapp
│
├── cloudflare/
│ └── README.md # пояснение по работе с Cloudflare DNS
│
└── data/ # рабочая папка (создаётся в рантайме)
├── app.db # SQLite база
├── workspace/ # рабочая директория проектов (исходники файлов)
├── artifacts/ # собранные билды (копии workspace)
└── deployments/ # задеплоенные версии (отдаёт Express или CDN)
⚡ Логика:
Бот (
src/bot.ts) — точка входа для пользователя, создаёт проект, принимает запросы, вызывает OpenAI, деплоит и выдаёт ссылку.OpenAI (
src/openai.ts) — получает от модели PLAN (JSON) и применяет его черезtools.ts.Tools (
src/tools.ts) — набор разрешённых операций (создать файл, пропатчить, собрать билд, задеплоить).Server (
src/server.ts) — REST API для интеграций + раздаёт/deploy/*и/webapp/.Mini WebApp (
webapp/index.html) — быстрый UI в Telegram (список проектов и открытие ссылок).Cloudflare скрипт — позволяет дать каждому проекту свой поддомен вида
u123-abc123.myapps.com.
Applications 1
-
342 Hello! 👋
My name is Danya, I am a developer with experience in Node.js/TypeScript and creating PWA services. I am interested in your project and ready to implement the system "from start to finish" according to your specifications, including a Telegram bot, AI code generation, PWA applications, and a Mini WebApp for project management.
My approach:
Clear architecture of the service, modular and scalable code.
Execution of all stages according to the roadmap, version control, and stability of the PWA.
Integration with Cloudflare DNS for personalized subdomains.
… Guarantee of fast and reliable deployment of static projects.
I am ready to start discussing the project details, time estimates, and budget in a private chat to agree on the optimal action plan.
-
8753 60 0 1 Hello, Roman!
I am ready to develop the application according to the specifications. I have extensive development experience and will implement all your ideas with GPT integration.
Here is my portfolio:Freelancehunt
Write to me and we will discuss all aspects of collaboration and budget.
-
238 Good day! I am taking on this task. I see that your project has great potential, and it has intrigued me.
-
8817 27 0 1 I have experience in full-stack development (Node.js + TypeScript, React, PWA, integration with Telegram API and OpenAI API), as well as in building architectures with CDN/Cloudflare and deployment through CI/CD. I carefully studied your technical specifications — the structure of the MVP is clear: a Telegram bot as the main interface, code generation and patching through OpenAI, builds and deployment to subdomains.
-
95799 1272 1 10 Hello. I have extensive experience in developing Telegram bots. I am ready to collaborate. Feel free to contact me.
-
15075 32 0 1 Good day!
My name is Valentin, and I represent Arctic Web Agency. We are a team of experienced web developers specializing in creating modern and effective web solutions for businesses. I can provide examples of our similar work in personal messages. We are ready to take your project to work!
Sincerely,
Arctic Web Team
Freelancehunt
-
1616 8 0 Hello,
I am a developer in the field of AI/ML & JS-TS. I can complete your project. Write to me, and we will discuss.
-
278 5 1 1 I will build your AI application builder turnkey: Telegram bot → PLAN/PATCH → build → deploy PWA ≤ 1 minute.
Details of the proposal, critical gaps and risks of the skeleton, assessment of all work stages: https://www.notion.so/AI-25cea80ec59480a3a704ce4701428779?source=copy_link
1. There is already a working skeleton, I will deploy it and close all risks: normal patch applier, strict Structured Outputs, build queue, offline-PWA with data and import/export.
2. Result, not hours: by stages with readiness metrics, no surprises in the budget.
3. The architecture is designed for growth: SQLite → Postgres, local storage → R2/S3, subdomains via Cloudflare API.
Acceptance criteria:
… — message to the bot → link to PWA ≤ 60 sec, repeated edits — via PATCH with base_sha check;
— offline (IndexedDB + SW), import/export JSON for all classes;
— auto-subdomain u*-*.myapps.com after deployment;
— Mini WebApp: project list, renaming, regeneration, preview.
Roadmap and budget:
1. M1 — Core stabilization (PLAN/PATCH, API, security) — 64 hours / $1,920
2. M2 — PWA infrastructure + IndexedDB + import/export — 34 hours / $1,020
3. M3 — 5 presets (To-Do, Habit/Expense+charts, Calculators, Mini-CRM, Dashboard) — 70 hours / $2,100
4. M4 — Mini WebApp, auto-subdomains, build queue — 28 hours / $840
5. M5 — Tests and observability — 22 hours / $660
6. M6 — Documentation and handover — 8 hours / $240
Total fixed: $6,780
Ready to start, we work through escrow. I prefer a clean HTML/JS profile for PWA for build speed, if necessary — React/Vite.
-
147 Hello
I can take on the project
deadline - a week/one and a half (7-10 days)
Current freelance projects in the category Bot Development
Software maintenance
111 USD
It is necessary to make adjustments to the software and maintain it in the future; the software places orders based on specified parameters and sends them to a Telegram bot. Python, Bot Development ∙ 56 minutes back ∙ 33 proposals |
Telegram bot
269 USD
It is necessary to completely replicate the interface and functionality, but without the payment platform. It needs to be done in a short time. Bot Development ∙ 22 hours 48 minutes back ∙ 96 proposals |
Automatic video posting on social media according to a scheduleTechnical Assignment (TA) Automatic video publication on social media according to a scheduleProject Description A script/bot (Python preferred, or any other solution of your choice — the main thing is stability and ease of maintenance) is needed, which automatically publishes… Python, Bot Development ∙ 1 day back ∙ 50 proposals |
Bot for receiving/searching applications
28 USD
In short: Create a bot where users can create and find profiles, the bot should have referral links, etc. Everything is detailed below. Client-side bot: Before the /start button, text in the center of the chat: What can this bot do? Welcome to Sugar Secret Agency! -Premium… Python, Bot Development ∙ 1 day 2 hours back ∙ 56 proposals |
Signal bot with automation in Google SheetsA bot is needed that will accept an application and automatically place it in Google Sheets, for example: store1, 26.06, 500kg or 200kg, and it will automatically mark 500 or 200 in the cell of the date on the store's line in the table. Bot Development ∙ 1 day 2 hours back ∙ 59 proposals |