Skip to content

thecsw/nagito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nagito

Shorten your URLs by sending requests to monokuma.

Use simple commands like,

./nagito -url "https://sandyuraz.com" -auth "supersecretkey"

OUTPUT:
https://photos.sandyuraz.com/fBW

when monokuma was started with the same auth key,

./monokuma -auth "supersecretkey"

Flags

There are a few flags that you can use to customize the behaviour of nagito,

Usage of ./nagito:
  -auth string
    	authentication token
  -key string
    	key to use when shortening a url
  -shortener string
    	monokuma shortener's url (default "https://photos.sandyuraz.com")
  -url string
    	url to shorten
  -urls string
    	urls to shorten (newline-separated)

So you can pass -urls to shorten multiple URLs at once,

https://sandyuraz.com
https://google.com,google

Where the last "google" is the key to use when shortening the URL, which will return https://photos.sandyuraz.com/google.

About

Talk to monokuma to shorten URLs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages