Hacker News new | ask | show | jobs
by mechero 1948 days ago
Really nice project! This could be very useful for technical / programming blogs. Are you planning to offer a REST API?
1 comments

Yeah, we wanted to add an API at some point and also provide a deeper integration with Raycast. What would you like to build with the API?
Say I have code snippets I want to include in a Jekyll blog for example. I could call your API from a pipeline process, store the images and link them from the posts. A plugin would be deeper integration, but an API would just work and would be great already.

I guess a similar process could work for other blogging platforms.

Wouldn't this make the code snippets completely inaccessible since you cannot copy text from an image?
Indeed, but I'd link the GitHub code sources below each picture and provide good alt descriptions. JS plugins like Highlight or Prism end up building massive HTML making e.g. google's pagespeed tools complain about DOM sizes.

And, anyway, most people would rather clone the public repo or use GitHub for copy/paste purposes.

Love the CI integration. A simple API should allow to build plugins for blogging platforms.