HXQLabs / HXQLabs/Helixque

[Feature]: Implementing safe message length limiting along with basic sanitization using escapeHTML, to avoid any issues like XSS

Open
#192 0 comments 0 reactions 1 assignee Claimed by @ajatshatru01 View on GitHub
enhancement hacktoberfest
Dominant language
TypeScript
Stars
135
Forks
75
PR merge metrics
No merged PRs in 30d

Description

---
## Note
You can now preview the latest updates and improvements every 2–3 days at the following link:
👉 [Helixque-Changes](https://helixque-changes.netlify.app/)
---

**Describe the feature you'd like**
Converts text to a string and trims it.

Ensures it’s no longer than 1000 characters.

Escapes HTML (<, >, &, etc.) to prevent injection attacks.

Sends the safe text to all connected clients.

Stores the safe message in history.

**Describe alternatives you've considered**
Any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
I have requested to join discord server, kindly accept.

---

### Prerequisite Checklist

- [x] ⭐ Starred [Helixque Repo](https://github.com/HXQLabs/Helixque/)
- [x] ⭐ Starred [Helixque Landing Repo](https://github.com/HXQLabs/helixque-landing/)
- [x] 📘 Read and understood [Contributing Guidelines](https://github.com/HXQLabs/Helixque/blob/main/CONTRIBUTING.md)
- [x] 💬 Joined [Discord Channel](https://discord.com/invite/dQUh6SY9Uk)
- [x] 🌐 Explored and signed up on [helixque.netlify.app](https://helixque.netlify.app)

---

✅ Issues will be assigned once all checklist prerequisites are verified.

> \[!IMPORTANT]
>
> 🛑 **Contribution Guidelines — Please Read Before Proceeding**
>
> - Any **PR raised for an unassigned issue** (even if the issue number is mentioned in the PR) **will not be merged and will be closed automatically**.
> - If your issue is valid but **not yet assigned**, please **ping the Project Maintainers** in the [Discord Channel](https://discord.com/invite/dQUh6SY9Uk) to get it assigned **before** starting work or submitting a PR.
> - Only **Code Owners** or **Project Maintainers** have the authority to verify, approve, and assign issues.
> - Do **not self-assign issues** — any self-assigned issue will be reviewed, and the final decision will rest with the **Code Owners**.
>
> Thank you for helping shape **HelixQue’s future** this **Hacktoberfest 🙌**

## Note
You can now preview the latest updates and improvements every 2–3 days at the following link:
👉 [Helixque-Changes](https://helixque-changes.netlify.app/)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.