Releases: DaveParr/dev.to.ol
Image hosting supported
You can now embed images in your dev.to posts with GitHub hosting! 🖼️
dev.to.ol
will parse the article before it is posted to dev.to, and as long as the environmental variables are set, will modify the image links from local images to the expected location on GitHub user storage (https://raw.githubusercontent.com). As long as you already have, or intend to, push the image assets to GitHub, the links will work and the images will display in the dev.to post!
In order to help this work, a new setup_environ
function has been included which will create a brand new .Renviron
in the project directory to hold your environmental variables.
Finally, I realised a bug may occur on installation as not all dependencies were fully declared. No one seems to have hit this so far (the dependencies are very populat packages), but in a clean environment it might crop up.
Talking of which, I recently setup in a GitHub Action to generate my README Profile which includes my most popular dev.to posts! Using the inbuilt repo secrets approach you can actually set this up very easily. The key line is this one, which will work as long as you have your dev.to api key accessible as a secret named DEVTO
.
Let me know if you do anything interesting with this package!
Minimum Viable Package
dev.to.ol is 0.0.1! 💯
dev.to.ol has the minimum set of viable functions I think it needs to operate, and (just) enough testing to keep it stable. The api is starting to come together and there seems to be at least 1 other person who cares enough about this project to talk about it, so we need to start getting organised!
As of this release there is the ability to create, post and update articles from .Rmd
files. There are also functions which gather data about your published articles that return tidy datasets, ready for analysis. There is some testing, and relatively comprehensive documentation. More details are in the NEWS.md
and obviously the docs and commit history.
Future goals include finding a good way to reference images in the article in a way that dev.to can use, better testing, and potentially some built in analytics for the articles you have published.
Hope you find this useful!