| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Try it out live: GitHubUnwrapped.com
A platform that generates a year-in-review video for each GitHub user. Built with Vite 5, Remotion and AWS Lambda.
Want to make your own year-in-review for your users?
Feel free to fork and use this repository as a template! Note the legal disclaimers at the bottom of this README.
Run npm i to install dependencies.
Rename .env.example to .env
Set up your AWS account according to the Remotion Lambda - Setup guide. We use multiple accounts for load-balancing:
Deploy the functions into your AWS account(s):
npx tsx deploy.ts
Note that some AWS regions are disabled by default. If you get an error, enable them or limit yourself to only default ones.
For caching the videos and GitHub API responses, set up a MongoDB (we use a free MongoDB Atlas Cloud instance) to save the videos. Set the connection string by filling out the values in .env.
For fetching data from GitHub, create a personal access token in your user settings (no need to grant any scopes, the GraphQL API needs to be authenticated to get public information) and set it as GITHUB_TOKEN_1. Adding more tokens GITHUB_TOKEN_2 etc. will rotate the personal access tokens.
Provide DISCORD_CHANNEL and DISCORD_TOKEN values to send monitoring logs to Discord.
Add a SENTRY_DSN environment variable to get error reports.
You now have all environment variables.
Run the web app:
npm run devEdit the template in the Remotion Studio:
npm run remotionTo deploy, connect your repository to Render. Don't forget to also set the environment variables there too.
To allow thousands of people to render their video at the same time, we applied multiple strategies for scaling:
We thank GitHub and For One Red for their support in realization and promoting of this project.
The audio was licensed for GitHubUnwrapped.com from SmartSound. If you create a derivative project, you must contact them for licensing.
The code in this repository: Licensed under MIT.
The Remotion framework (a dependency of this project): Companies need to obtain a paid license. Read the terms here.
| Back | FazBrowse Home | New Git URL |