| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A 3D visualization of your GitHub contributions, inspired by the GitHub skyline project.
Visit https://skyline3d.in to use the application directly.
You can embed the Skyline webpage into your own web page using an iframe. This allows you to customize options such as disabling zoom and pan, adding a base, changing colors, adjusting lighting (sunlight and indoor lights), and setting the end date of the skyline. The embedded page will not include the header or footer.
Example: My homepage with the embedding
To embed the skyline, click on the "Embed Page" button on the Skyline website. This will take you to a page with the 3D model alone. Use the URL of this page in an iframe on your website.
<iframe
src="https://skyline3d.in/avikalpg/embed?endDate=2023-12-31&color=white&enableZoom=false"
width="100%"
height="100%"
frameborder="0"
></iframe>Customization Options By default, the model enables sunlight, indoorLights, damping, panning, and zoom interactions, disables the base flooring, and uses a "grey" color for the 3D model. You can customize these settings using URL parameters.
Available Parameters:
Example URL with Parameters:
<iframe
src="https://skyline3d.in/avikalpg/embed?endDate=2023-12-31&color=%2340c463&sunlight=false&indoorLights=true&enableZoom=false&enablePan=false&enableDamping=false&base=true"
width="100%"
height="100%"
frameborder="0"
></iframe>If you want to contribute to this project, follow these steps:
Run the following commands:
git clone https://github.com/avikalpg/skyline.git
cd skyline
echo NEXT_PUBLIC_GITHUB_TOKEN= > .env.localOpen the file .env.local and paste your access token, which you can get from here (make sure to adjust the settings for the access token).
Now your file should look something like this:
NEXT_PUBLIC_GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxRun the following commands:
npm install
npm run devOpen http://localhost:3000 to view it in the browser if it doesn't open automatically.
Wait a while for the page to load.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will automatically update if you make edits.
You will also see any lint errors in the console.
Builds the app for production.
It correctly bundles Next.js in production mode and optimizes the build for the best performance.
Runs the production build locally.
Use this to test the production build before deploying.
The application is deployed on Vercel and automatically updates when changes are pushed to the main branch.
| Back | FazBrowse Home | New Git URL |