Skip to content

My own small image uploader and ZWS URL shortener - all in one.

License

Notifications You must be signed in to change notification settings

curtisf/simplezws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

SimpleZWS

SimpleZWS is a simple image uploader and URL "hider" for personal use. Many large chat platforms will clean ZWS characters from a URL, but it works on Discord, where I am using this.

Installation

Clone the repo

git clone https://github.com/caf203/simplezws && cd simplezws

Populate your config (with your editor of choice)

mv .config.example .config

Create the image directory

mkdir images

Usage

Use your tool of choice to POST to the base URL you provided in your config. This is how I do:

maim -s --format=png /dev/stdout | curl -H "Authorization: yourauthstring" -F 'data=@-' https://curtisf.dev/u | xclip -selection clipboard

The response returned will be your base URL + the ZWS characters following it.

License

MIT

About

My own small image uploader and ZWS URL shortener - all in one.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages