Skip to content

genius-alray/textpieces

 
 

Repository files navigation

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 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:

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

State of the project

I'm in the process of rewriting the project from scratch in Rust, reworking some basic mechanics, UI/UX and the architecture. Unfortunately, I didn't have enough time to finish the rewriting because of school final exams and starting studying at university. I still work on it in my free time, but until I'm adaped to my new conditions of life I probably won't have enough time for solid work on the project.

The locations where I work on the next version of the project is https://gitlab.com/liferooter/textpieces and https://gitlab.com/liferooter/textpieces-gnome.

About

Quick text processing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vala 80.4%
  • Python 10.4%
  • Meson 6.0%
  • Shell 1.6%
  • CSS 1.6%