Swiss knife of text processing
The project was rewritten from scratch and moved to a new repository. This repository will never receive updates.
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.
- 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
Recommended
Click here to install app from Flathub.
Text Pieces can be built with GNOME Builder >= 3.38. Clone this repo and click run button.
Text Pieces has a Flatpak manifest to enable it to be built with Flatpak.
Text Pieces can be built directly via Meson:
git clone https://github.com/liferooter/textpieces
cd textpieces
meson _build
cd _build
meson compile
Next, it can be installed by meson install
.
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