Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tuhinpal/contact-form
- Owner: tuhinpal
- License: apache-2.0
- Created: 2021-01-09T12:21:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T01:46:20.000Z (11 months ago)
- Last Synced: 2024-10-15T00:07:23.197Z (2 months ago)
- Topics: cf-worker, cloudflare-worker, cloudflare-workers, contact-form, telegram-bot
- Language: JavaScript
- Homepage: https://tuhinpal.github.io/Contact-Form/demo.html
- Size: 51.8 KB
- Stars: 50
- Watchers: 3
- Forks: 39
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 theBOT_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)