Sourcebot can sync code from Gitea Cloud, and self-hosted. If you’re not familiar with Sourcebot connections, please read that overview first.Documentation Index
Fetch the complete documentation index at: https://sourcebot-msukkarieh-ado.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Examples
Sync individual repos
Sync individual repos
Sync all repos in a organization
Sync all repos in a organization
Sync all repos owned by a user
Sync all repos owned by a user
Exclude repos from syncing
Exclude repos from syncing
Authenticating with Gitea
In order to index private repositories, you’ll need to generate a Gitea access token. Generate a Gitea access token here. At minimum, you’ll need to select theread:repository scope. read:user and read:organization are required for the user and org fields of your config file:

token property, either as an environment variable or a secret:
- Environment Variable
- Secret
- Add the
tokenproperty to your connection config:
- Pass this environment variable each time you run Sourcebot:
Connecting to a custom Gitea
To connect to a custom Gitea deployment, provide theurl property to your config:
Schema reference
Reference
Reference


