No description
- Rust 89.5%
- Meson 5%
- Nix 3.8%
- Python 1%
- CSS 0.5%
- Other 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| build-aux | ||
| data | ||
| debian | ||
| LICENSES | ||
| nix | ||
| npins | ||
| po | ||
| resources | ||
| src | ||
| subprojects | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .pre-commit-config.yaml | ||
| Cargo.lock | ||
| Cargo.lock.license | ||
| Cargo.toml | ||
| default.nix | ||
| LICENSE | ||
| meson.build | ||
| meson_options.txt | ||
| README.md | ||
| textpieces.doap | ||
| TODO.md | ||
Text Pieces
Swiss knife of text processingWhat 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
