An open API service indexing awesome lists of open source software.

https://github.com/dngda/self-bot

Typescript - Lightweights WhatsApp bot 🤖 made to response only self message with Baileys ✨
https://github.com/dngda/self-bot

baileys baileys-md bot converter downloader ffmpeg nodejs notes pinterest quran quran-audio sticker text-to-image typescript whatsapp whatsapp-bot

Last synced: 4 months ago
JSON representation

Typescript - Lightweights WhatsApp bot 🤖 made to response only self message with Baileys ✨

Awesome Lists containing this project

README

          








🤖 Typescript - Lightweight WhatsApp bot using Baileys Library


Made with ❤️












Quality Gate Status


Code Smells


Security Rating

## Getting Started

Trakteer Saya
Trakteer Saya

## Prerequisite

- Star this repository 🌟
- Minimum Node.js version `v14` as this project works well in `v16`
- Need to install `ffmpeg` globally to be able use animated sticker converter

### How to

Clone this project or download zip

```bash
> git clone https://github.com/dngda/self-bot
> cd self-bot
```

Install the dependencies:

```bash
> npm install ts-node typescript -g
> npm install
```

Setup your `.env` files

```bash
> cp .env.sample .env
```

or copy paste `.env.sample` and rename to `.env`
and fill it with your related data!
- get remove.bg apikey - [here](https://www.remove.bg/tools-api/api-commandline)
- get ocr.space apikey - [here](https://ocr.space/ocrapi)

### Usage

Run the WhatsApp Bot

```bash
> tsc
> node build
```

or use `ts-node` without compile to `.js`

```bash
> npm start
```

After running it you need to scan the QR

## Features

- Text to sticker
- Search Pinterest image
- Sticker Creator using [WA-Sticker-Formatter](https://github.com/AlenVelocity/wa-sticker-formatter)
- Note database with sqlite [Sequelize](https://sequelize.org/)
- Add caption to image with [memegen](https://api.memegen.link) and make sticker of it
- Browser related such as screenshot web or search ddg/ggl
- Social media video downloader using ssyoutube.com
- Split long video to 30s for WA Status
- Jadwal sholat kabupaten based
- Anti-delete msg/status
- Quran + audio per-ayah
- Get one-view media
- Sticker commands
- Video to mp3

💡 Leave any feature ideas out in this [discussion](https://github.com/dngda/self-bot/discussions) 🙏

## Thanks to

- [`Baileys`](https://github.com/WhiskeySockets/Baileys)
- [`WA-Sticker-Formatter`](https://github.com/AlenVelocity/wa-sticker-formatter)