https://github.com/liferooter/textpieces
Quick text processing
https://github.com/liferooter/textpieces
Last synced: 8 months ago
JSON representation
Quick text processing
- Host: GitHub
- URL: https://github.com/liferooter/textpieces
- Owner: liferooter
- License: gpl-3.0
- Archived: true
- Created: 2021-03-01T06:06:38.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T10:23:55.000Z (over 1 year ago)
- Last Synced: 2024-08-04T04:09:35.008Z (over 1 year ago)
- Language: Vala
- Size: 2.94 MB
- Stars: 203
- Watchers: 4
- Forks: 22
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tools - liferooter/textpieces - Quick text processing (Development / Developer Toolbox)
README

Text Pieces
Swiss knife of text processing
# State of the project
The project was rewritten from scratch and moved to [a new repository](https://gitlab.com/liferooter/textpieces). This repository will never receive updates.
# What is it?
Text Pieces is a small tool for quick text transformations such as checksums, encoding, decoding and so on. Written in Vala for GNOME desktop in the hope to be useful.
# Features
- Base64 encoding and decoding
- SHA-1, SHA-2 and MD5 checksums
- Prettify and minify JSON
- Convert JSON to YAML and vice versa
- Count lines, symbols and words
- Escape and unescape string, URL and HTML
- Remove leading and trailing whitespaces
- Sort and reverse sort lines
- Reverse lines and whole text
- Extendable with third-party scripts and custom tools
# Installation
## From Flathub
> **Recommended**
Click here to install app from Flathub.
## Build from source
### Via GNOME Builder
Text Pieces can be built with GNOME Builder >= 3.38. Clone this repo and click run button.
### Via Flatpak
Text Pieces has a Flatpak manifest to enable it to be built with Flatpak.
### Via Meson
Text Pieces can be built directly via Meson:
```bash
git clone https://github.com/liferooter/textpieces
cd textpieces
meson _build
cd _build
meson compile
```
Next, it can be installed by `meson install`.
# Dependencies
If you use GNOME Builder or Flatpak, dependencies will be installed automatically. If you use pure Meson, dependencies will be:
- vala >= 0.52
- gtk >= 4.2
- gtksourceview >= 5.2
- gio >= 2.50
- gee >= 0.8
- json-glib >= 1.6
- libadwaita >= 1.0
- python >= 3.8
- pyyaml >= 5.4