- Notifications
You must be signed in to change notification settings - Fork0
Command-line uploader for various file hosts (including lolisafe).
License
TheArchons/uguush
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
command-line uploader for various file hosts
uguush [options]
Options:
-d
Delay the screenshot by the specified number of seconds.
-f
Take a fullscreen screenshot.
-h
Show this help message.
-o <host>
Select which host to use (uguu
,teknik
,0x0
orfiery
).
-p <path>
Custom path to save the image to (saves as%Y-%m-%d %H-%M-%S.png
).
-c
Copy image instead of URL to clipboard.
-n
Enable save notification (if used alongside-p
option).
-s
Take a selection screenshot.
-u <file>
Upload a file.
-x
Do not notify dbus, update the log, or modify the clipboard.
-X
Skip upload.
-w
Take a screenshot of the current window.
-S <shortener>
Select a shortener to use (waaai
or0x0
).
-l <url>
Upload the file at the provided URL.
-g
Use gnome-screenshot (with-p
saves asScreenshot from %Y-%m-%d %H-%M-%S.png
).
-k
Use KDE/Spectacle (with-p
saves asScreenshot_%Y%m%d_%H%M%S.png
).
-t <token>
Set token (forfiery
host).
-a <id>
Set numerical ID of an album (forfiery
host).
-D <domain>
(DEPRECATED) Setsafe.fiery.me
file domain.
-F <domain>
Set fiery host domain.
You need to have ANY (not ALL) of the following tools:
- maim &slop (default)
- scrot (fallback when maim & slop are missing)
- KDE/Spectacle (if using
-k
option) - GNOME/Screenshot (if using
-g
option)
- curl
- libnotify (for notifications)
- xclip (for clipboard support)
- xdotool (for current window capture, not needed if using
-k
or-g
options)
This allows using anylolisafe (v3) or forks ofBobbyWibowo/lolisafe.
-o
option must be set tofiery
since otherwise the script will default touguu
file host.
uguush -s -k -o fiery -F my.lolisafe.domain
Can optionally set protocol if required (e.g.-F "http://my-unsafe.lolisafe.domain"
)
Read more about this at:https://blog.fiery.me/update-about-will-always-want-me.
uguush -s -k -o fiery -D your-hot-neighbor.will-always-want.me
Keep in mind that the domains will only redirect to the actual file ini.fiery.me
instead of masking the original URL.
Though it should work pretty well with chat apps that allow link previews (e.g. Discord).
- N/A
Huge thanks to allGitHub contributors.
Big thanks toneku for creating pomf and uguu!
Inspired byonodera-punpun's pomf.sh.
Original upload functionality byKittyKatt.