This commit is contained in:
Keep Creating Online
2024-07-28 21:37:43 -04:00
parent 9ebc52e97e
commit 79a6727b10
2 changed files with 20 additions and 21 deletions

View File

@@ -1,46 +1,44 @@
# eCash Text Splitter for Meshtastic
A simple web tool for splitting large strings of text into smaller segments of up to 200 characters each. This tool is designed to help with sending eCash over Meshtastic, allowing you to easily copy and transmit chunks of text.
A web tool to split large text into segments of up to 150 characters each, perfect for sending eCash over Meshtastic.
## Features
- **Text Splitting**: Breaks down large text into smaller parts of up to 200 characters.
- **Copy Functionality**: Provides copy buttons for each text segment.
- **Offline Use**: Fully functional in any modern web browser without the need for an internet connection.
- **Live Version**: [Access the live version here](https://ecash-text-splitter.netlify.app/).
- **Text Splitting**: Breaks down text into 150-character chunks.
- **Copy Functionality**: Copy buttons for each segment.
- **Offline Use**: Works in any modern browser offline.
- **Live Version**: [Try it live here](https://ecash-text-splitter.netlify.app/).
## How to Use
1. **Open the Tool**: Navigate to the live version of the tool [here](https://ecash-text-splitter.netlify.app/) or download the HTML file from this repository.
2. **Paste Your Text**: Enter your large eCash text into the provided textarea.
3. **Split the Text**: Click the "Split Text" button to divide your text into manageable chunks.
4. **Copy Chunks**: Use the "Copy" button next to each segment to copy the text to your clipboard.
1. **Open the Tool**: Access the live version [here](https://ecash-text-splitter.netlify.app/) or use the HTML file from this repo.
2. **Paste Your Text**: Enter your text in the textarea.
3. **Split the Text**: Click "Split Text" to divide it into chunks.
4. **Copy Chunks**: Click the "Copy" button next to each segment.
## Installation
To run the tool locally:
To run locally:
1. Clone the repository:
1. Clone the repo:
```bash
git clone https://github.com/PR0M3TH3AN/text_splitter.git
```
2. Open the `index.html` file in your preferred web browser.
2. Open `index.html` in your browser.
## Contributing
If you would like to contribute to this project, please follow these steps:
1. Fork the repository.
1. Fork the repo.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes.
4. Commit your changes (`git commit -am 'Add new feature'`).
5. Push to the branch (`git push origin feature-branch`).
4. Commit (`git commit -am 'Add new feature'`).
5. Push (`git push origin feature-branch`).
6. Open a pull request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
MIT License - see the [LICENSE](LICENSE) file for details.
## Contact
For questions or comments, please open an issue on the [GitHub repository](https://github.com/PR0M3TH3AN/text_splitter).
Open an issue on the [GitHub repository](https://github.com/PR0M3TH3AN/text_splitter) for questions.

View File

@@ -30,14 +30,14 @@
</head>
<body>
<h1>eCash Text Splitter for Meshtastic</h1>
<p>Paste your eCash text below and click "Split Text" to divide it into smaller parts of up to 200 characters each, suitable for sending over Meshtastic.</p>
<p>Paste your eCash text below and click "Split Text" to divide it into smaller parts of up to 150 characters each, suitable for sending over Meshtastic.</p>
<textarea id="inputText" placeholder="Paste your eCash text here..."></textarea>
<button onclick="splitText()">Split Text</button>
<div id="output"></div>
<script>
function splitText() {
const maxLength = 200;
const maxLength = 150;
const inputText = document.getElementById('inputText').value;
const outputDiv = document.getElementById('output');
outputDiv.innerHTML = '';
@@ -80,6 +80,7 @@
<div class="repo-link">
<p>Find the code for this eCash Text Splitter on GitHub: <a href="https://github.com/PR0M3TH3AN/text_splitter">https://github.com/PR0M3TH3AN/text_splitter</a></p>
<p>Access the live version of the tool here: <a href="https://ecash-text-splitter.netlify.app/">https://ecash-text-splitter.netlify.app/</a></p>
</div>
</body>
</html>