A simple web application that generates predefined messages based on user prompts. Perfect for creating personalised messages for various occasions and purposes.
- Smart Message Generation: Enter a prompt and get contextually appropriate messages
- Multiple Templates: Various message types, including festivals, birthdays, business communications, etc.
- Editable Output: Edit generated messages before using them
- Placeholder Support: Messages include placeholders like
{name},{date}, etc. for personalization - WhatsApp Integration: Send generated messages directly to WhatsApp numbers
- Phone Number Validation: Real-time validation of WhatsApp numbers with country codes
- Copy to Clipboard: Easy one-click copying of your customised messages
- Responsive Design: Works great on both desktop and mobile devices
- Open the Application: Double-click
message-generator.htmlto open in your web browser - Enter a Prompt: Type what kind of message you want (e.g., "I want to send Diwali wishes to my customers")
- Generate: Click the "Generate Message" button or press Enter
- Edit: Customise the generated message in the text area
- WhatsApp Option: Enter a WhatsApp number with country code (e.g., +91 9876543210)
- Send: Choose to either:
- Copy the message to the clipboard, or
- Send to WhatsApp directly (opens WhatsApp Web/App)
- Diwali: "Diwali wishes", "festival of lights"
- Christmas: "Christmas greetings", "holiday wishes"
- New Year: "New Year wishes", "2024", "2025"
- Birthday: "birthday message", "birthday wishes"
- Anniversary: "anniversary", "wedding anniversary"
- Thank You: "thank you message", "appreciation"
- Meeting Reminders: "meeting", "appointment", "conference"
- Invitations: "invite", "invitation", "event"
- Wedding: "wedding invitation", "marriage ceremony"
- Apology: "sorry", "apologise", "mistake"
- "I am trying to send a Diwali wish to my customers"
- "I need to send a birthday message to my friend"
- "I want to thank my clients for their support"
- "I need to invite people to my wedding"
- "I want to send Christmas greetings"
- "I need to send a meeting reminder"
Input: "I am trying to send a Diwali wish to my customers"
Output:
Hello {name},
Diwali greetings! We wish you and your family a very happy and prosperous Diwali. May this festival of lights bring joy, happiness, and success to your life.
Warm regards,
{sender_name}
The application now includes WhatsApp functionality:
- Include country code: +91 9876543210 (India)
- US numbers: +1 234 567 8900
- UK numbers: +44 20 7946 0958
- Enter a valid WhatsApp number with country code
- The system validates the number in real-time
- Click "Send to WhatsApp" to open WhatsApp Web/App
- The message will be pre-filled, ready to send
+91 9876543210+91-987-654-3210+91 (987) 654-3210- All formats are automatically cleaned and validated
message-generator.html- Main application filestyles.css- Styling for the interfacescript.js- JavaScript logic and message templatesMESSAGE-GENERATOR-README.md- This documentation
Works in all modern web browsers. Open message-generator.html to start using the application.
Ready to generate personalised messages! 🚀