Importing from GitHub
Prerequisites
- A GitHub account with access to the repositories you want to import
- A GitHub OAuth App registered under your GitHub account or organization (for UI imports)
Step 1 — Register a GitHub OAuth App
You only need to do this once.
- Go to GitHub → Settings → Developer settings → OAuth Apps → New OAuth App
-
Fill in:
- Application name: GitBlixt (or whatever you'd like)
- Homepage URL:
https://git.yourdomain.com -
Authorization callback URL:
https://git.yourdomain.com/oauth/github/callback
- Click Register application
- Copy the Client ID and generate a Client Secret
-
Set these on your GitBlixt instance:
Then restart the container.GITHUB_CLIENT_ID=your-client-id GITHUB_CLIENT_SECRET=your-client-secret
Step 2 — Connect Your GitHub Account
- Go to your GitBlixt Dashboard and click Import Repository
- Select GitHub
- Click Connect GitHub — you'll be redirected to GitHub to authorize GitBlixt
- After authorizing, you'll be returned to GitBlixt with your repositories listed
Step 3 — Select and Import
- Browse or search your repositories
- Check the boxes next to the repos you want to import
- Click Import Selected
- Watch the progress — each repository shows its import status in real time
- When complete, your repositories appear in your GitBlixt dashboard
Importing Private Repositories
GitBlixt requests the repo
scope during OAuth, which includes private repositories. If you only want to import public
repositories, you can limit to public_repo
scope by adjusting the GITHUB_OAUTH_SCOPE
environment variable.
Scopes Requested
| Scope | Reason |
|---|---|
repo |
Read access to private repositories, issues, and pull requests |
read:org |
List repositories in organizations you belong to |
GitBlixt uses read-only access. It never writes to or modifies your GitHub repositories.