Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 1.8 KB

README.md

File metadata and controls

81 lines (59 loc) · 1.8 KB

LINE SMS Notify 📱💬

This project enables the sending of SMS notifications via a LINE bot, providing a seamless integration for automated text messaging. 📩

Features ✨

  • 📨 Send SMS Notifications: Utilize a LINE bot to send SMS alerts.
  • 👥 User Management: Add and manage recipients.
  • 🎨 Message Customization: Personalize SMS content.

Installation 🛠️

  1. Clone the repository:

    git clone https://github.com/Muaykillz/line-sms-notify.git
  2. Navigate to the project directory:

    cd line-sms-notify
  3. Install dependencies:

    npm install

Configuration ⚙️

  • Set up environment variables: Create a .env file with the following content:

    LINE_CHANNEL_ACCESS_TOKEN=your_line_bot_token
    SMS_API_KEY=your_sms_api_key
    
  • Create messages.js file: Create a messages.js file in the tools directory with the following content:

    module.exports = {
      day0Message: "Your message here",
      // more ...
      };

Usage 🚀

  1. Start the application:

    npm start
  2. Send a notification: Use the LINE bot to trigger SMS notifications.

Contributing 🤝

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature-name
  3. Commit your changes:

    git commit -m "Add new feature"
  4. Push to the branch:

    git push origin feature-name
  5. Open a pull request.

License 📄

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact 📞