Watch
1
0
Fork
You've already forked textpieces
0
No description
  • Rust 89.5%
  • Meson 5%
  • Nix 3.8%
  • Python 1%
  • CSS 0.5%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Baumann 73414038b3
Updating to debhelper 14.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2026-06-14 12:40:02 +02:00
build-aux Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
data Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
debian Updating to debhelper 14. 2026-06-14 12:40:02 +02:00
LICENSES Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
nix Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
npins Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
po Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
resources Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
src Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
subprojects Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
.gitignore Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
.gitlab-ci.yml Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
.pre-commit-config.yaml Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
Cargo.lock Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
Cargo.lock.license Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
Cargo.toml Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
default.nix Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
LICENSE Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
meson.build Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
meson_options.txt Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
README.md Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
textpieces.doap Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00
TODO.md Adding upstream version 4.2.0. 2025-07-24 14:22:21 +02:00

Text Pieces

Text Pieces

Swiss knife of text processing

Screenshot of Text Pieces


What is it?

Text Pieces is a small tool for quick text transformations such as checksums, encoding, decoding and so on. You can use wide set of built-in actions, or easily write your own.

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

Via Nix

This repository provides default.nix with a package at package attribute. It can be built with following command:

nix-build -A package

Dependencies

If you use GNOME Builder or Flatpak, dependencies will be installed automatically. If you use pure Meson, dependencies will be:

  • Not-so-old Rust compiler
  • gtk >= 4.14
  • gtksourceview >= 5.12
  • glib >= 2.80
  • libadwaita >= 1.5