DEV Community

Dave Parr
Dave Parr

Posted on

1 1

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

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?

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (2)

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

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.

Collapse
 
daveparr profile image
Dave Parr

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

ACI image

ACI.dev: Fully Open-source AI Agent Tool-Use Infra (Composio Alternative)

100% open-source tool-use platform (backend, dev portal, integration library, SDK/MCP) that connects your AI agents to 600+ tools with multi-tenant auth, granular permissions, and access through direct function calling or a unified MCP server.

Check out our GitHub!

AWS Security LIVE!

Join AWS Security LIVE! streaming from AWS Partner Summit Hamburg

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️