Anthhon / Anthhon/codeHasher

Issue: Handling Limitations with Large Texts

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement good first issue
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

![Screenshot_2023-10-27_02-44-11](https://github.com/Anthhon/codeHasher/assets/103778076/2d52fbbb-f490-46fa-8651-b43b0e5bde87)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.