Issue: Handling Limitations with Large Texts
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Description
The current implementation of codeHasher generates very long URLs for larger texts, making it impractical to share or use these links effectively. When handling substantial amounts of text, the generated URLs become excessively long, leading to usability issues.
### Expected Behavior
Users should be able to share larger texts using codeHasher without encountering impractically long URLs. The tool should handle larger inputs more efficiently, ensuring that the generated links remain usable even for extensive text content.
### Steps to Reproduce
1. Enter a large text or code snippet in the input field.
2. Click the "Generate link!" button.
3. Observe the length of the generated URL.
### Possible Solution
One potential solution could be implementing URL shortening for the generated links. URL shortening services can significantly reduce the length of the links, making them more manageable and user-friendly.
Additionally, considering alternative encoding methods or chunking larger texts into smaller segments could also be explored to mitigate the issue.
### Additional Information

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.