HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Show HN: Generate a video to animate stars of any GitHub repository(scastiel.dev)

42 points·by scastiel·3 lata temu·16 comments
scastiel.dev
Show HN: Generate a video to animate stars of any GitHub repository

https://scastiel.dev/github-stars?ref=hn

I made this as a fun tiny project to experiment with Remotion [1] to generate videos. You can find the source code on GitHub [2].

[1] https://www.remotion.dev/

[2] https://github.com/scastiel/github-stars-video

16 comments

solardev·3 lata temu
Neat! There's something pretty satisfying about the animation :)

I wish I could tune the video duration and make the ones with 100k+ stars go on fooooooooorever, maybe also with a (compressed) timeline that shows roughly when "batches" of likes happen. Like when you fast forward through a YouTube live recording with the emoji
scastiel·3 lata temu
Haha I am not sure it would be that nice to have a video that lasts 2 minutes to display GitHub stars ;)
solardev·3 lata temu
You never know! Maybe there'll be constellations among them and a subculture of Github astronomers will develop
askiiart·3 lata temu
Just make sure not to confuse them with the GitHub astrologers, they might get upset.
flashback2199·3 lata temu
Why would someone need an animation of a repo's GitHub stars? Showing off in a slide in a tech talk?
scastiel·3 lata temu
Yes, or on Twitter, LinkedIn…
srbhr·3 lata temu
Great work and cool-looking animation. Is there a way to extend the duration from 0 to current stars?
scastiel·3 lata temu
Yes, I just changed it, makes more sense :)
matkoniecz·3 lata temu
Maybe add to readme example of output? Either gif/mp4 with segment of animation?
scastiel·3 lata temu
Yes I’ll add more information about the project: example output, how it works, tech stack, etc.
hosseinyazdii·3 lata temu
Simple and intuitive. Love the scrolling animation of the user profiles. I guess if it were slightly slower, perhaps it would be better.
quickthrower2·3 lata temu
Funny! Nice idea.

If this were done as an animated SVG, then it would be quite easy to have this embedded so it is always up to date.
scastiel·3 lata temu
Indeed that would be nice, but the main use case I had in mind is about sharing on social media, and as far as I know they don’t support animated SVG…
quickthrower2·3 lata temu
That is a good point. I thought this was for embedding on a README
broast·3 lata temu
The "404" animation is great
scastiel·3 lata temu
Glad you like it '^^