Skip to content

Automatically replaces words in messages with emojis to enhance communication.

Notifications You must be signed in to change notification settings

telexintegrations/auto-emoji-replacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-Emoji Replacer - Telex Integration

📌 Overview

The Auto-Emoji Replacer is a Modifier Integration for Telex, automatically replacing specific words in messages with corresponding emojis. This enhances user communication by providing a dynamic emoji replacement system.

🚀 Features

  • Replaces predefined words with emojis in messages.
  • Works as a Modifier Integration, modifying messages before they appear in a channel.
  • Easy to configure and extend with additional emoji mappings.

🛠️ Setup Instructions

1️⃣ Clone the Repository

git clone https://github.com/telexorg/auto-emoji-replacer.git
cd auto-emoji-replacer

2️⃣ Install Dependencies

npm install

3️⃣ Start the Server

npm start

By default, the server runs on http://localhost:3000.

🧪 Testing the Integration

Test API Locally (Using cURL or Postman)

Send a POST request to test emoji replacement:

curl -X POST http://localhost:3000/process-message -H "Content-Type: application/json" -d '{"message": "I am happy"}'

Expected Response:

{
  "Message": "I am happy 😊"
}

📝 Telex Integration Configuration

1️⃣ Define the Integration JSON

Create an integration-spec.json file:

2️⃣ Host the Integration JSON

  • The integration.json was hosted to a publicly accessible server.
  • The url is https://auto-emoji-replacer.onrender.com/integration-spec.

📸 Screenshots

✅ Local Testing (Postman Response)

pytest

✅ Telex Integration Test

Telex Integration Screenshot

✅ Submission Checklist

✔ Hosted integration-spec.json file
✔ Working Telex Integration
✔ Updated README with screenshots

About

Automatically replaces words in messages with emojis to enhance communication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published