pervoj / textpieces

Quick text processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text Pieces
Text Pieces

Swiss knife of text processing


Download on Flathub

Screenshot

Small tool for quick text transformations such as checksums, encoding, decoding and so on. Written in Vala for GNOME desktop in hope to be useful.

Features

  • Base64 encoding and decoding
  • SHA1, SHA2 and MD5 checksums
  • Prettify and minify JSON
  • Covert 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
  • You can write your own scripts and create custom tools

Installation

From Flathub

Recommended

You can install my app from Flathub here

Build from source

Via GNOME Builder

Text Pieces can be built with GNOME Builder >= 3.38. Just clone this repo and click run button.

Via Flatpak

Text Pieces has Flatpak manifest, so it can be built with Flatpak.

Via Meson

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.

Attention! You should NEVER install anything directly with meson install or make install because it creates unmanaged files and can break system. Consider building a package for your distro and install it.

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
  • json-glib >= 1.6
  • libadwaita >= 1.0
  • python >= 3.8
  • pyyaml >= 5.4

Contributions

Contributions are welcome.

About

Quick text processing

License:GNU General Public License v3.0


Languages

Language:Vala 79.4%Language:Python 12.2%Language:Meson 6.7%Language:CSS 1.6%Language:Shell 0.2%