Skip to content

Instantly share code, notes, and snippets.

@whopiyush
Last active April 14, 2019 15:25
Show Gist options
  • Select an option

  • Save whopiyush/17c5fbd8988164b8afcb8ef2ab897f30 to your computer and use it in GitHub Desktop.

Select an option

Save whopiyush/17c5fbd8988164b8afcb8ef2ab897f30 to your computer and use it in GitHub Desktop.
KShare Configurations For https://ratelimited.me

Current Stable Version

  • The Below Configuration is for current stable ratelimited.me. However If You Want RLMEv3's config, just scrool down a bit!

How to install

  • Copy/paste the config into a text editor of your choice

  • Modify the values (especially YOUR_KEY_HERE with your uploader token)

  • Save as rlme.uploader in your uploaders folder in your KShare config folder (usually ~/.config/KShare)

  • Restart KShare

  • Open KShare settings

  • Select RLME from the list and click OK.

Configuration


{
    "name": "RLME",
    "target": "https://api.ratelimited.me/api/upload/pomf?key=YOUR_KEY_HERE",
    "format": "multipart-form-data",
    "body": [
        {
            "__Content-Type": "/%contenttype/",
            "filename": "/image.%format/",
            "name": "files[]",
            "body": "/%imagedata/"
        }
    ],
    "return": ".files.0.url",
    "return_prepend": "https://ratelimited.me/"
}

Current Stable Version

  • The Below Configuration is for ratelimited.me's v3 Staging Version v3 Stable is live 🎉.

How to install

  • Copy/paste the config into a text editor of your choice

  • Modify the values (especially YOUR_KEY_HERE with your uploader token)

  • Save as rlme_v3.uploader in your uploaders folder in your KShare config folder (usually ~/.config/KShare)

  • Restart KShare

  • Open KShare settings

  • Select RLME from the list and click OK.

Configuration


{
    "name": "RLME",
    "target": "https://api.ratelimited.me/upload/pomf?key=YOUR_KEY_HERE",
    "format": "multipart-form-data",
    "body": [
        {
            "__Content-Type": "/%contenttype/",
            "filename": "/image.%format/",
            "name": "files[]",
            "body": "/%imagedata/"
        }
    ],
    "return": ".files.0.url",
    "return_prepend": "https://ratelimited.me/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment