HackerTrans
TopNewTrendsCommentsPastAskShowJobs

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

42 points·by scastiel·vor 3 Jahren·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·vor 3 Jahren
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·vor 3 Jahren
Haha I am not sure it would be that nice to have a video that lasts 2 minutes to display GitHub stars ;)
solardev·vor 3 Jahren
You never know! Maybe there'll be constellations among them and a subculture of Github astronomers will develop
askiiart·vor 3 Jahren
Just make sure not to confuse them with the GitHub astrologers, they might get upset.
flashback2199·vor 3 Jahren
Why would someone need an animation of a repo's GitHub stars? Showing off in a slide in a tech talk?
scastiel·vor 3 Jahren
Yes, or on Twitter, LinkedIn…
srbhr·vor 3 Jahren
Great work and cool-looking animation. Is there a way to extend the duration from 0 to current stars?
scastiel·vor 3 Jahren
Yes, I just changed it, makes more sense :)
matkoniecz·vor 3 Jahren
Maybe add to readme example of output? Either gif/mp4 with segment of animation?
scastiel·vor 3 Jahren
Yes I’ll add more information about the project: example output, how it works, tech stack, etc.
hosseinyazdii·vor 3 Jahren
Simple and intuitive. Love the scrolling animation of the user profiles. I guess if it were slightly slower, perhaps it would be better.
quickthrower2·vor 3 Jahren
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·vor 3 Jahren
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·vor 3 Jahren
That is a good point. I thought this was for embedding on a README
broast·vor 3 Jahren
The "404" animation is great
scastiel·vor 3 Jahren
Glad you like it '^^