Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tuhinpal/contact-form

The Lightweight Contact Form which send contact requests on your Telegram
https://github.com/tuhinpal/contact-form

cf-worker cloudflare-worker cloudflare-workers contact-form telegram-bot

Last synced: about 2 months ago
JSON representation

The Lightweight Contact Form which send contact requests on your Telegram

Awesome Lists containing this project

README

        

[![Contact Form](https://telegra.ph/file/052787c00bcbc37cb88a0.png "Contact Form")](https://github.com/tuhinpal/Contact-Form "Contact Form")

---

### Features :

- Cool Layout
- Message goes on your Telegram
- 7 KB of JS Code
- Serverless Backend (Cloudflare Worker)
- One Line of Integration

### Deploy :

**Setup the Backend 👇**

- Create a Telegram Bot from [Botfather](http://telegram.dog/botfather "Botfather") & Grab the Token.
- Goto your created bot and send /start.
- Now GoTo [userinfobot](http://telegram.dog/userinfobot "userinfobot") send it any message it will give your Telegram ID (9 Digit) and copy the ID.
- Open [cf-worker.js](https://github.com/tuhinpal/Contact-Form/blob/main/cf-worker.js "cf-worker.js") and copy the whole code.
- Go to [Cloudflare Workers](https://workers.cloudflare.com/ "Cloudflare Workers") and create a worker & paste the copied code.
- Replace the BOT_TOKEN & CHATID with your previously copied Bot Token and User ID.
- Save and Deploy & copy the Worker Url

**Connect it with your website 👇**

- Paste this Script :

```html

```

**Use The Backend API 👇**

- This is very simple too, Just do a POST request with this JSON Body

```JSON
{
"name": "Tuhin Kanti Pal",
"phone_no": "000000000",
"email": "[email protected]",
"subject": "Just a Testing",
"message": "Just a Testing"
}
```

### Connect :

- [Channel](https://telegram.dog/tprojects)
- [Support Group](https://telegram.dog/t_projects)

### License & Copyright :

- This Project is [Apache-2.0](https://github.com/tuhinpal/Contact-Form/blob/main/LICENSE) Licensed
- Copyright 2022 by [Tuhin Kanti Pal](https://github.com/tuhinpal)