Skip to content

devfemibadmus/screen-draw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screen Draw

Native Rust desktop tool for taking a screenshot, drawing a capture shape on it, and copying the selected result as a transparent PNG.

Install / Uninstall

Download the Windows release executable:

https://github.com/devfemibadmus/screen-draw/releases/latest/download/screen-draw-windows-x86_64.exe

Run screen-draw-windows-x86_64.exe once to install Screen Draw. It installs itself locally and registers:

Ctrl+Alt+D

After installation, use Ctrl+Alt+D to open Screen Draw.

To uninstall, run:

screen-draw-windows-x86_64.exe --uninstall

Features

  • Fullscreen screenshot capture on startup.
  • Shape tools:
    • Freehand
    • Rectangle
    • Ellipse
  • Shape picker dropdown:
    • The toolbar shows only the active shape.
    • Hover the active shape to pick the other shape tools.
    • The currently active shape is hidden from the dropdown.
  • Remembers the last selected shape tool across launches.
  • Freehand drawing smoothing.
  • Shape selection, moving, and resizing.
  • Resize handles with cursor changes.
  • Selected-shape actions:
    • Copy
    • Paste copied shape
    • Remove
  • Fill mode toggle:
    • Filled icon captures inside the shape.
    • Outline icon captures outside the shape.
  • Ctrl+C copies the current capture result to the clipboard and closes the app.
  • If nothing is drawn, Ctrl+C copies the full screenshot.
  • Close button in the toolbar.
  • Clear action appears as a dropdown under the close button.
  • Escape closes the app.

Clipboard Output

The app copies PNG-style RGBA image data to the system clipboard.

For drawn shapes, the copied image is cropped to the selected area. Pixels outside the selected mask are transparent.

Not Currently Included

  • Screen recording
  • MP4 export
  • Click-through/live screen overlay mode
  • Multi-monitor selection
  • File save dialog

Those were explored but are not part of the current committed state.

Build

cargo build --release

Run

cargo run

Windows Install

Windows users should receive only one file:

screen-draw.exe

On first run, the executable installs itself to:

%LOCALAPPDATA%\Screen Draw\screen-draw.exe

It also registers a Start Menu hotkey:

Ctrl+Alt+D

After that, users launch Screen Draw with Ctrl+Alt+D. They do not need the source code, Rust, Cargo, scripts, or this repository.

To uninstall:

screen-draw.exe --uninstall

Release Build

For development/release packaging, build the exe:

cargo build --release

Then distribute only:

target\release\screen-draw.exe

GitHub Releases

Pushing to main runs the Windows-only release workflow:

.github/workflows/release.yml

The workflow:

  • Computes the next patch version tag, such as v0.1.1.
  • Builds x86_64-pc-windows-msvc.
  • Publishes one release asset:
screen-draw-windows-x86_64.exe

That executable is self-installing on first run and registers Ctrl+Alt+D.

About

screenshot with privacy

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages