Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devsubid/telegram-bot
Telegram Bot using nodeJS with Typescript
https://github.com/devsubid/telegram-bot
nodejs telegram-bot typescirpt
Last synced: 6 days ago
JSON representation
Telegram Bot using nodeJS with Typescript
- Host: GitHub
- URL: https://github.com/devsubid/telegram-bot
- Owner: devsubid
- License: gpl-3.0
- Created: 2022-12-21T19:29:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T22:12:59.000Z (about 2 years ago)
- Last Synced: 2024-12-22T11:44:09.719Z (11 days ago)
- Topics: nodejs, telegram-bot, typescirpt
- Language: TypeScript
- Homepage: https://github.com/itsme-Subid/Telegram-Bot
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# [Telegram Bot](https://github.com/itsme-Subid/Telegram-Bot)
A Telegram Bot using Node.js in typescript β¨
## π‘ Quick Start
> If you are new to Telegram bots, read the official [Introduction for Developers](https://core.telegram.org/bots) written by the Telegram team.
>
> **_Warning_**: This BOT is not yet ready for production. It is still in development. π§
>
> ### Requirements:
>
> - [TypeScript v4](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
> - [Node.js v18](https://nodejs.org/)
> - Atleast 1vCPU , 512MB RAM and 40GB Storage.### Steps:
- `Starβ` this Repo to get updates.
- Create a bot from [@BotFather](https://t.me/BotFather) and get the access token.
- Clone this Repo:
```bash
git clone https://github.com/itsme-Subid/Telegram-Bot.git
```Or, [Download](https://codeload.github.com/itsme-Subid/Telegram-Bot/zip/refs/heads/main) as a `zip` file.
- Install all dependencies and devDependencies:
using [yarn](https://yarnpkg.com/) package manager:
```bash
yarn add
```Or using [npm](https://www.npmjs.com/) package manager:
```bash
npm install
```- Rename the `.env.example` file to `.env` and fill it with access token.
- Start the `Bot` in `Production`:
using [yarn](https://yarnpkg.com/) package manager:
```bash
yarn start
```Or using [npm](https://www.npmjs.com/) package manager:
```bash
npm start
```Or, Start the `Bot` in `Development environment`:
using [yarn](https://yarnpkg.com/) package manager:
```bash
yarn dev
```Or using [npm](https://www.npmjs.com/) package manager:
```bash
npm run dev
```- Use the BOT π