Skip to content

Issue: Handling Limitations with Large Texts #1

Description

@Anthhon

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions