Live data from Hacker News

Show HN: Ray.so – Create images of your code

ray.so

21–30 of 129 posts

Re: Show HN: Ray.so – Create images of your code

#21

Feature request: This seems half-the-way there to a site I've been wanting for a long time, one that will give you a printer-friendly syntax highlighted view of a codebase.

That sounds like a cool tool. It seems like Web is probably not the way to go for that though, as printing even just vanilla web pages can be a pain.

I could see something like automating a typesetting tool working however.

Edit: Side note, I'm kinda an idiot, so I could be wrong about web not being the right platform.

Re: Show HN: Ray.so – Create images of your code

#23

Similar website: https://carbon.now.sh/ . They probably have more themes but I like this conciseness.

Carbon is awesome, works offline, and can be integrated with any decent editor, so you can just select code and press a keybind to get the image on your clipboard.

Re: Show HN: Ray.so – Create images of your code

#24

Love it! Congrats and cool project. I think you killed this and have something awesome in your portfolio for a long time. My only suggestion is these code snippets are fire on Twitter for a lot of people getting their RT/likes/following on. Specifically, that means maybe adding an option for forcing some sizes that are ideal for share graphics (width/height, auto font-size, auto centering, etc..). Take the guess work…

Great one! We want to add a share on Twitter function and then the sizes matter. For now we went with the simple approach but definitely up for improvements.

Re: Show HN: Ray.so – Create images of your code

#25

Earlier quoted context omitted.

How can you make text look editable?

Blink the cursor at the end or highlight the text area sound reasonable to me

Trying to get an input to autofocus with any reliability in browsers is the third hardest problem in computer science.

Re: Show HN: Ray.so – Create images of your code

#26
post #22

Really nice project! This could be very useful for technical / programming blogs. Are you planning to offer a REST API?

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?

Re: Show HN: Ray.so – Create images of your code

#28
post #22

Really nice project! This could be very useful for technical / programming blogs. Are you planning to offer a REST API?

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.

Re: Show HN: Ray.so – Create images of your code

#30

Love it! Congrats and cool project. I think you killed this and have something awesome in your portfolio for a long time. My only suggestion is these code snippets are fire on Twitter for a lot of people getting their RT/likes/following on. Specifically, that means maybe adding an option for forcing some sizes that are ideal for share graphics (width/height, auto font-size, auto centering, etc..). Take the guess work…

Great one! We want to add a share on Twitter function and then the sizes matter. For now we went with the simple approach but definitely up for improvements.

Dope. Automatically like this goes a long way I'd say:

Before: https://ibb.co/ZYxxFY5

After: https://ibb.co/PC98vDr

Post reply on HN