Repository Connection
Not Connected
Connect to a repository first.
Name
Actions
No files loaded. Please connect to a repository.
Bridge Documentation
Step-by-step instructions for managing your repository via EdgeHaven Bridge.
1. Connecting a Repository
To use this tool, you need a Personal Access Token (PAT) from your Git provider. This token acts as a password allowing EdgeHaven to read and write files on your behalf.
GitHub Setup
- Go to GitHub Developer Settings.
- Set a Note (e.g., "EdgeHaven Bridge").
- Set Expiration to your preference.
- Check the
repocheckbox (Full control of private repositories). - Click Generate token at the bottom.
- Copy the token (it starts with
ghp_). - In the Bridge, paste this Token and your repo URL (e.g.
https://github.com/user/repo).
GitLab Setup
- Go to the GitLab Access Tokens Settings page.
- Click the Add new token button (if visible) to display the form.
- Set a token name (e.g., "EdgeHaven Bridge").
- Under scopes, check the
apiscope. (Important: The `api` scope is required because the tool manages files using the GitLab REST API. The `write_repository` scope alone is not sufficient.) - Click Create personal access token.
- Copy the token (starts with
glpat-) immediately before leaving the page. - In the Bridge, paste the Token and your full GitLab repository URL (e.g.
https://gitlab.com/username/projector nested subgrouphttps://gitlab.com/group/subgroup/project).
2. Browsing and File Management
- Navigate: Click on folders to open them. Click the breadcrumbs at the top (e.g.,
root / src) to go back. - Edit Files: Click the icon next to a text file to open it in the Build tab.
- Create: Use the and icons in the toolbar to create folders or files in the current directory.
- Upload: Click the icon to select files from your computer. They will be uploaded directly to the current directory.
- Rename / Move: Click the icon. To rename, just change the filename. To move, change the folder path.
- Delete: Click the icon to remove a file or folder. This creates a commit deleting the resource.
3. Editing and Previewing
- The Build tab provides a syntax-friendly editor for your code.
- Any changes to HTML/CSS/JS will automatically render in the Live Preview pane on the right.
- You can test your code in a full window by clicking Open in New Tab.
- When ready, click PUBLISH CHANGES. You'll be prompted to enter a commit message before the changes are pushed to your repository.