A cool, native Linux screenshot editor app using GJS (GNOME JavaScript) with GTK bindings.
This project includes a flake.nix for NixOS users, providing all dependencies via direnv.
- Take screenshots via button click
- Modern GTK UI with header bar
- Draw on screenshots with customizable brush
- Upload edited images to ImgBB
- Enter the directory and allow direnv:
direnv allow - If prompted about insecure libsoup, allow it:
export NIXPKGS_ALLOW_INSECURE=1thendirenv allowagain - Get an ImgBB API key from https://api.imgbb.com/
- Replace 'YOUR_IMGBB_KEY' in main.js with your key
- Run:
gjs main.js
- Launch the app with
gjs main.js - Click "Take Screenshot" to capture screen
- In the editor: Use header bar controls (Upload, Clear, Color picker, Brush size slider)
- Draw by dragging mouse on the image
- Upload shows a dialog with the link on success
The code is written in JavaScript, but can be adapted to TypeScript by adding type annotations and compiling with tsc targeting ES6.