Enter the enquiry
The visitor adds a reply email and a short brief. Submitting with missing details focuses the first invalid field and explains what to change.
BEILOFF Toolkit / v1.1.1
Turn a confirmed website enquiry into one Telegram message with the visitor’s email and brief. Preview the exact message locally before creating a bot.
The visitor adds a reply email and a short brief. Submitting with missing details focuses the first invalid field and explains what to change.
A single screen shows the email and the full brief. Visitors can go back to edit. Confirmation disables repeat clicks while the adapter is pending. A failed attempt keeps the details ready for retry.
In preview mode the page shows the outgoing message. In connected mode the server sends that text to the configured chat. The form confirms success when the Bot API acknowledges delivery.
README.mdindex.htmlen.htmlform.cssform.jstransport.jshttp-transport.jsserver.mjstelegram.mjstelegram.test.mjsRELEASE.txtThe example runs as one Node.js process and remembers duplicate identifiers for one hour. If delivery cannot be confirmed, check the chat. Multiple processes need shared storage. The bot token stays on the server.
Change --brand and --on-brand in form.css for both the default and dark themes. Replace BEILOFF / Forms in the headers of index.html and en.html with your name or an image with alt text. Test entry, confirmation and errors using a keyboard at mobile width. Telegram controls the incoming message appearance.
Run node --test telegram.test.mjs for message formatting, failed requests, concurrent attempts and lost acknowledgements. Then send a test enquiry to your own chat.
Added colour and logo customisation instructions to the README.
Added a Node.js handler, local message preview and Telegram Bot API delivery. The standalone form still runs from disk.
First edition with two languages, three enquiry screens, field validation and a submission adapter.