Coder Social home page Coder Social logo

jbenda / satty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gabm/satty

0.0 0.0 0.0 930 KB

Satty - Modern Screenshot Annotation. A Screenshot Annotation Tool inspired by Swappy and Flameshot.

License: Mozilla Public License 2.0

Rust 98.65% Makefile 1.35%

satty's Introduction

Satty: Modern Screenshot Annotation.

Satty is a screenshot annotation tool inspired by Swappy and Flameshot.

Satty has been created to provide the following improvements over existing screenshot annotation tools:

  • very simple and easy to understand toolset (like Swappy)
  • fullscreen annotation mode and post shot cropping (like Flameshot)
  • working on wlroots based compositors (Sway, Hyprland, River, ...)
  • minimal, modern looking UI, thanks to GTK and Adwaita
  • be a playground for new features (post window selection, post paint editing, ...)

Install

Arch Linux

You can get the official Arch Linux package from the AUR:

yay -S satty-bin

Gentoo

You can get the Gentoo package from the Guru overlay:

eselect repository enable guru
emerge --sync guru
emerge -av satty

Pending PR for Gentoo overlay: gentoo/gentoo#33908

Prebuilt Sources

You can download a prebuilt binary for x86-64 on the Satty Releases page.

Usage

Start by providing a filename or a screenshot via stdin and annotate using the available tools. Save to clipboard or file when finished. Tools and Interface have been kept simple.

All configuration is done via the command line interface:

» satty --help                
A screenshot annotation tool inspired by Swappy and Flameshot.

Usage: satty [OPTIONS] --filename <FILENAME>

Options:
  -f, --filename <FILENAME>
          Path to input image or '-' to read from stdin.
      --fullscreen
          Start Satty in fullscreen mode.
      --output-filename <OUTPUT_FILENAME>
          Filename to use for saving action, omit to disable saving to file.
      --early-exit
          Exit directly after copy/save action.
  -h, --help
          Print help
  -V, --version
          Print version

wlroots based compositors (Sway, Hyprland, Wayfire, River, ...)

You can bind a key to the following command:

grim -g "$(slurp -o -r -c '#ff0000ff')" - | satty --filename - --fullscreen --output-filename ~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png

Build from source

You first need to install the native dependencies of Satty (see below) and then run:

# build release binary, located in ./target/release/satty
make

# optional: install to /usr/local
PREFIX=/use/local make install

# optional: uninstall from /usr/local
PREFIX=/use/local make uninstall

Dependencies

Satty is based on GTK-4 and Adwaita.

Ubuntu

  • libgtk-4-1
  • libadwaita-1-0

Arch Linux & Gentoo

  • pango
  • glib2
  • cairo
  • libadwaita
  • gtk4
  • gdk-pixbuf2

License

The source code is released under the MPL-2.0 license.

satty's People

Contributors

gabm avatar mrduartept avatar jbenda avatar robertmueller2 avatar noornee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.