Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 894 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 894 Bytes

ScreenshotManager

A simple screenshot manager for my personal use as I am lazy to copy paste screenshots everytime

Copy example.env to .env and add your values.

You need atleast Go 1.17 atleast to run this

Use a Post request to post the screenshot, it returns a url of the uploaded screenshot

running server

go run main.go

Binary

make ssmanager executable ./bin/ssmanager

Via Curl and Maim:

maim -sqm 10 | curl -sL --header "password: YOURPASS" -F file=@- hostname/upload | tr -d '"' | xclip -selection clipboard

Example

maim -sqm 10 | curl -sL --header "password: vegeta" -F file=@- https://vegetaxd.me/upload | tr -d '"' | xclip -selection clipboard

Thanks to TheHamkerCat for the idea xD

Packages Used