{"id":16967057,"url":"https://github.com/tuhinpal/contact-form","last_synced_at":"2025-07-22T07:34:04.420Z","repository":{"id":40620679,"uuid":"328148785","full_name":"tuhinpal/Contact-Form","owner":"tuhinpal","description":"The Lightweight Contact Form which send contact requests on your Telegram","archived":false,"fork":false,"pushed_at":"2024-01-21T01:46:20.000Z","size":53,"stargazers_count":51,"open_issues_count":1,"forks_count":40,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-04T07:41:23.664Z","etag":null,"topics":["cf-worker","cloudflare-worker","cloudflare-workers","contact-form","telegram-bot"],"latest_commit_sha":null,"homepage":"https://tuhinpal.github.io/Contact-Form/demo.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuhinpal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-09T12:21:11.000Z","updated_at":"2025-01-27T06:00:37.000Z","dependencies_parsed_at":"2024-10-28T13:21:54.992Z","dependency_job_id":"f18e5db6-fe48-45ff-a5b1-46e0f9e95068","html_url":"https://github.com/tuhinpal/Contact-Form","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tuhinpal/Contact-Form","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuhinpal%2FContact-Form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuhinpal%2FContact-Form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuhinpal%2FContact-Form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuhinpal%2FContact-Form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuhinpal","download_url":"https://codeload.github.com/tuhinpal/Contact-Form/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuhinpal%2FContact-Form/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266448342,"owners_count":23930185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cf-worker","cloudflare-worker","cloudflare-workers","contact-form","telegram-bot"],"created_at":"2024-10-14T00:07:21.246Z","updated_at":"2025-07-22T07:34:04.395Z","avatar_url":"https://github.com/tuhinpal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Contact Form](https://telegra.ph/file/052787c00bcbc37cb88a0.png \"Contact Form\")](https://github.com/tuhinpal/Contact-Form \"Contact Form\")\n\n---\n\n### Features :\n\n- Cool Layout\n- Message goes on your Telegram\n- 7 KB of JS Code\n- Serverless Backend (Cloudflare Worker)\n- One Line of Integration\n\n### Deploy :\n\n**Setup the Backend 👇**\n\n- Create a Telegram Bot from [Botfather](http://telegram.dog/botfather \"Botfather\") \u0026 Grab the Token.\n- Goto your created bot and send \u003ccode\u003e/start\u003c/code\u003e.\n- Now GoTo [userinfobot](http://telegram.dog/userinfobot \"userinfobot\") send it any message it will give your Telegram ID (9 Digit) and copy the ID.\n- Open \u003ccode\u003e[cf-worker.js](https://github.com/tuhinpal/Contact-Form/blob/main/cf-worker.js \"cf-worker.js\")\u003c/code\u003e and copy the whole code.\n- Go to \u003ccode\u003e[Cloudflare Workers](https://workers.cloudflare.com/ \"Cloudflare Workers\")\u003c/code\u003e and create a worker \u0026 paste the copied code.\n- Replace the \u003ccode\u003eBOT_TOKEN\u003c/code\u003e \u0026 \u003ccode\u003eCHATID\u003c/code\u003e with your previously copied Bot Token and User ID.\n- Save and Deploy \u0026 copy the Worker Url\n\n**Connect it with your website 👇**\n\n- Paste this Script :\n\n```html\n\u003c!--- \n    error_text: Message to display if there is an error.\n    success_text: Message to display if the form is successfully submitted.\n    disable_waittime: If true, it will not froze a new form subission (after one is successfull) for half a day.\n    form_worker_url: URL to the cloudflare backend.\n  --\u003e\n\n\u003cscript\n  src=\"https://cdn.jsdelivr.net/gh/tuhinpal/contact-form@master/src/contact-form.min.js\"\n  id=\"contactform\"\n  error_text=\"\"\n  success_text=\"\"\n  disable_waittime=\"true\"\n  form_worker_url=\"https://contact-form.tprojects.workers.dev/\"\n\u003e\u003c/script\u003e\n```\n\n**Use The Backend API 👇**\n\n- This is very simple too, Just do a POST request with this JSON Body\n\n```JSON\n{\n  \"name\": \"Tuhin Kanti Pal\",\n  \"phone_no\": \"000000000\",\n  \"email\": \"me@thetuhin.com\",\n  \"subject\": \"Just a Testing\",\n  \"message\": \"Just a Testing\"\n}\n```\n\n### Connect :\n\n- [Channel](https://telegram.dog/tprojects)\n- [Support Group](https://telegram.dog/t_projects)\n\n### License \u0026 Copyright :\n\n- This Project is [Apache-2.0](https://github.com/tuhinpal/Contact-Form/blob/main/LICENSE) Licensed\n- Copyright 2022 by [Tuhin Kanti Pal](https://github.com/tuhinpal)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuhinpal%2Fcontact-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuhinpal%2Fcontact-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuhinpal%2Fcontact-form/lists"}