Welcome to BuildSite! This guide walks you through setting up BuildSite to display your evolving residential villa inside your GitHub Profile README.
GitHub allows you to show a profile README by creating a repository that matches your GitHub username:
https://github.com/<your-username>/<your-username>
If you haven't created it yet:
- Create a public repository named exactly
<your-username>. - Initialize it with a
README.md.
In your profile repository, create a workflow file at .github/workflows/buildsite.yml:
name: BuildSite
on:
schedule:
# Runs daily at 06:00 UTC
- cron: "0 6 * * *"
workflow_dispatch: # Allows manual trigger from the Actions tab
permissions:
contents: write
jobs:
build:
name: Evolve Property
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run BuildSite Action
uses: buildsite/buildsite@v1
with:
username: ${{ github.repository_owner }}
token: ${{ secrets.GITHUB_TOKEN }}
output_dir: "assets/buildsite"
commit_message: "chore(buildsite): update property evolution [skip ci]"Add this Markdown reference anywhere in your profile README.md:
## 🏡 My GitHub Builds My Home
Now head to Actions in your repository, select BuildSite, and click Run workflow.
Within 30 seconds, BuildSite will retrieve your verified contributions, composite your custom architectural villa, commit assets/buildsite/buildsite.svg, and your README will display your property!
To customize your property, create a buildsite.yml in the root of your repository:
version: 1
github:
visibility: public
property:
style: modern # modern | timber | slate | coastal | auto
palette: natural
lighting: dusk # dusk | daytime | night
pool: true
garden: true
garage: true
render:
animation: subtle # subtle | none
png_fallback: trueSee docs/customization.md for full configuration options.
By default, the workflow uses the repository's built-in ${{ secrets.GITHUB_TOKEN }}.
The only permission required is contents: write so the bot can commit the generated SVG into your assets/buildsite/ folder.
To count contributions from private repositories:
- Ensure you have enabled "Private contributions" in your public GitHub profile settings.
- If using standard GitHub Actions, public metrics are queried automatically.
- If you want BuildSite to query private metadata directly, supply a Personal Access Token (PAT) with
read:userscope as a secretPAT_TOKENin your repository secrets and passtoken: ${{ secrets.PAT_TOKEN }}.
BuildSite can also be installed as a local Python CLI utility:
pip install buildsiteOr from source:
git clone https://github.com/buildsite/buildsite.git
cd buildsite
pip install -e .Verify the installation:
buildsite validate
buildsite demo --count 350
buildsite preview