https://github.com/nezort11/open-webapp-bot
Open any link as Mini-App in Telegram https://t.me/openwebappbot
https://github.com/nezort11/open-webapp-bot
function serverless
Last synced: 3 months ago
JSON representation
Open any link as Mini-App in Telegram https://t.me/openwebappbot
- Host: GitHub
- URL: https://github.com/nezort11/open-webapp-bot
- Owner: nezort11
- Created: 2023-01-10T10:53:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-24T12:23:48.000Z (about 1 year ago)
- Last Synced: 2025-05-08T22:59:46.175Z (11 months ago)
- Topics: function, serverless
- Language: HCL
- Homepage:
- Size: 262 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Open webapp bot
- volta
- nodejs
- telegraf framework
- serverless framework
- serverless-http
- yandex-cloud-serverless-plugin
## Setup
- install [volta](https://docs.volta.sh/guide/getting-started)
- install [yc cli](https://yandex.cloud/ru/docs/cli/quickstart)
```sh
git clone https://github.com/nezort11/telegraf-serverless-yandex-cloud-template.git your-project-name
cd ./your-project-name
rm -rf .git
volta install node@18
pnpm install
# Start development server
pnpm dev
```
## Deploy
```sh
pnpm bot:deploy
# or
pnpm build
pnpm serverless:deploy
pnpm serverless:info
pnpm webhook:set
```
Clear resource and reset
```sh
pnpm bot:purge
# or
pnpm serverless:purge
pnpm webhook:delete
```