• Stars
    star
    238
  • Rank 169,306 (Top 4 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Port of @IvanMathy's Boop to GTK, a scriptable scratchpad for developers.


Boop-GTK

A scriptable scratchpad for developers. Port of @IvanMathy's Boop to GTK

Also checkout TeX Match: Find LaTeX symbols by sketching

What is Boop-GTK? • Features • Downloads • Screenshots • Usage • Additional Scripts • Building


Continuous integration Release Crates.io boop-gtk Flathub AUR version AUR version

What is Boop-GTK?

Boop is a simple editor that allows you to execute scripts on the buffer. The idea is that you don’t have to paste potentially secret information into shady websites to do some simple transforms, like format json and decoding query strings.

Boop-GTK is a port of Boop to GTK, so users on Linux can Boop it!

Features

  • 50+ builtin scripts including "Base64 Encode", "Format JSON", "Hex to RGB" and more
  • 100% script compatibility with Boop
  • Completely crossplatform!

Downloads

Platform Format Link
Linux Binary boop-gtk.linux.amd64
Flatpak boop-gtk.flatpak
Snap boop-gtk.snap
AUR boop-gtk (thanks to qcasey)
boop-gtk-bin
boop-gtk-extra-scripts
Snap Store Get it from the Snap Store
Flathub Download on Flathub

If you are looking for a Windows version check out Woop by @felixse. For MacOS check out Boop by @IvanMathy, the project from which this is based.

Screenshots

linux screenshot

There is also a quick demo on youtube.

Usage

More documentation can be found in Boop's docs.

Boop-GTK is easy to use: open it, paste some text, run some scripts, optionally copy the text out.

Additional Scripts

More scripts can be found in the Boop repo. These scripts can also be found in the boop-gtk-extra-scripts package on the AUR.

Building

Binary

sudo apt-get install -y libgtk-3-dev libgtksourceview-3.0-dev
cargo build

Snap

sudo apt-get install snap snapcraft
snapcraft snap
sudo snap install boop-gtk_1.7.1_amd64.snap

Flatpak

sudo add-apt-repository ppa:alexlarsson/flatpak 
sudo apt-get update 
sudo apt-get install flatpak
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo flatpak install -y flathub org.freedesktop.Platform//20.08 org.freedesktop.Sdk//20.08 org.freedesktop.Sdk.Extension.rust-stable//20.08
wget https://github.com/flatpak/flatpak-builder/releases/download/1.0.10/flatpak-builder-1.0.10.tar.xz && tar -xvf flatpak-builder-1.0.10.tar.xz && cd flatpak-builder-1.0.10 && ./configure --disable-documentation && make && sudo make install
sudo apt-get install python3-toml
bash flatpak/gen-sources.sh
flatpak-builder --repo=repo build-dir flatpak/fyi.zoey.Boop-GTK.json
flatpak build-bundle ./repo boop-gtk.flatpak fyi.zoey.Boop-GTK