Recommend an image hosting service for my dev.to api wrapper
Dave Parr

Dave Parr @daveparr

About: Data-scientist who loves to use #datascienceforgood, especially in ecology, energy and the environment. Bonsai, gardening, bikes and music when I'm not at a keyboard.

Location:
Cardiff, Wales
Joined:
Mar 29, 2019

Recommend an image hosting service for my dev.to api wrapper

Publish Date: Jun 13 '20
3 2

I am writing a wrapper in R for the dev.to API. One of the goals is to allow images that are generated from an .Rmd to be visible in the post.

Idea 1 - googledrive

I thought I might be able to use the googledrive package to put images into my gdrive, but I haven't been able to find a way to get a link that shows up in dev.to

Idea 2 - imgur

Imgur used to support anonymous uploads and have an API wrapper to R, but the package in question has been looking for a new maintainer. Also, in a really quick test the current codebase appears broken.

Idea 3 - S3 bucket

I could setup my own s3 bucket, and link the images from there, however that requires a lot of setup for other users, I wanted to keep this as 'low barrier' as possible.

Idea 4 - Rpubs

RPubs allows uploads of documents from Rstudio IDE really easily, though AFAIK you can't then pull an actual link out of the image that will display in the article, for instance this old plot I made for an SO question

Goals

  • Needs to be easy to setup
  • Needs to be effectively free
  • Needs to be accessible programmatically (API etc)
  • Would be great if there was no authorisation required
  • Would be great if there was already an interface with R

Ideas?

Comments 2 total

  • Pacharapol Withayasakpunt
    Pacharapol WithayasakpuntJun 13, 2020

    I would use simply Git, unless I need image transform service. Only then, I might try Cloudinary.

    I can also use Dropbox if I need to.

    • Dave Parr
      Dave ParrJun 13, 2020

      Git actually might be the thing I need. Thanks :)

Add comment