Skip to content

Instantly share code, notes, and snippets.

@miraris
Last active November 26, 2018 18:20
Show Gist options
  • Save miraris/b517a46ca5de63d75b61591b33d79a48 to your computer and use it in GitHub Desktop.
Save miraris/b517a46ca5de63d75b61591b33d79a48 to your computer and use it in GitHub Desktop.
sharenix config for OwO

Append both services the Services array.

$ nvim ~/.sharenix.json

Upload

Upload service:

{
  "Name": "owo",
  "RequestType": "POST",
  "RequestURL": "https://api.awau.moe/upload/pomf?key=YOUR_API_KEY_GOES_HERE",
  "FileFormName": "files[]",
  "ResponseType": "Text",
  "URL": "https://owo.whats-th.is/$json:files[0].url$"
}

RequestURL: https://api.awau.moe/upload/pomf?key=YOUR_API_KEY_GOES_HERE
URL: https://owo.whats-th.is Keep in mind, "Result URL" may be any URL from this page.

Shorten

Shortening service:

{
  "Name": "owo (shorten)",
  "RequestType": "GET",
  "RequestURL": "https://api.awau.moe/shorten/polr",
  "Arguments": {
    "action": "shorten",
    "apikey": "YOUR_API_KEY_GOES_HERE",
    "url": "$input$"
  },
  "ResponseType": "Text"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment