| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A polished, static GitHub profile site you can fork and make your own in minutes. Add your own blogs, videos, projects, and posts through the in-browser admin panel — no local setup required.
This repo uses two branches so forking gives you a clean template with no personal data baked in:
| Branch | Purpose |
|---|---|
| main | Clean template — empty data files, safe to fork |
| web | Your personal branch — holds your data, gets deployed |
All admin panel writes go to web. The deploy workflow triggers on web. main never contains personal data.
Fork to your GitHub account. Optionally rename the fork to yourusername.github.io for a root URL:
You’ll get a live site at:
Go to Actions → Setup web branch (first-time) → Run workflow.
This creates a web branch from your main. GitHub Pages will deploy from web going forward.
In your fork: Settings → Pages → Source → GitHub Actions.
Do not set it to "Deploy from a branch". The deploy workflow uses actions/deploy-pages which requires the "GitHub Actions" source. Setting it to a branch will serve raw template files and show a blank page.
The /admin route lets you edit your site’s content from the browser. It needs a GitHub OAuth App to authenticate you.
Repo → Settings → Secrets and variables → Actions → New repository secret
GitHub blocks OAuth token exchange from the browser. You need a small proxy. The easiest option is the included Cloudflare Worker:
cd workers/github-oauth-proxy
npx wrangler deployThen add a repository variable (not secret):
You push code to main
↓
sync-to-web.yml runs automatically
↓
merges main → web (your data files are always preserved)
↓
deploy.yml triggers on web → site rebuilds
You save data via /admin
↓
admin panel commits directly to web branch
↓
deploy.yml triggers on web → site rebuilds
You never need to touch the web branch manually.
git clone https://github.com/amide-init/gitfolio.git
cd gitfolio
pnpm install
pnpm devTo build and preview a production bundle:
pnpm build
pnpm previewTo run the admin panel locally:
cp .env.example .envEdit .env:
VITE_GITHUB_CLIENT_ID=your_oauth_app_client_id_here
VITE_GITHUB_OWNER=your-github-username-or-org
VITE_GITHUB_REPO=gitfolio
VITE_DATA_BRANCH=web # branch where data is read/writtenpnpm devClick Login with GitHub, complete the device flow in the new tab, then edit and save. Only users with admin permission on the repo can save; others see “Unauthorized”.
In dev, OAuth requests are proxied through Vite (/api/github/login/*) to avoid CORS — no worker needed locally.
Key files:
Open an issue or PR for feature requests.
| Back | FazBrowse Home | New Git URL |