krazor
February 18, 2025, 12:09am
1
Hi i am just wondering if its possible to replace the github integration URL with gitlab.
I self host all my services including my repos on my homelab and would love to add bolt.diy to the stack. is their a way to replace the github push to be able to use my gitlab server instead so i dont have any limitations and i can keep all my work on site and not hosted in a cloud provider please.
leex279
February 18, 2025, 9:55am
2
Hi,
I dont use gitlab or have something to test, but the first thing I would just try is to import it with:
http://localhost:5173/git?url=https://github.com/thecodacus/bolt-vue-template.git
=> Replace the url by your gitlab url and see what happens.
krazor
March 5, 2025, 6:48am
3
doesnt seem to work sadly
Just saw there is a older PR covering this:
main
← D-Byte:iAlsoWantGitLab
opened 09:25AM - 16 Dec 24 UTC
Updated version after [commit dustinwloring1988:feat/enhanced-github-connection]… (https://github.com/stackblitz-labs/bolt.diy/pull/757)

# Secure Git Credentials Management System
## Overview
Implemented a secure credential management system for GitHub and GitLab integrations, featuring encrypted storage and seamless authentication handling.
## Key Features
- Secure encryption using Web Crypto API with AES-GCM
- Automatic encryption key management without user intervention
- Support for both GitHub and GitLab credentials
- Automatic migration from legacy cookie storage
- Unified interface for managing multiple Git provider credentials
- Improved error handling and user feedback
- Clean separation of concerns between UI and credential management
## Technical Implementation
- Uses AES-GCM encryption for secure credential storage
- Implements automatic key generation and management
- Stores encrypted credentials in cookies with proper domain isolation
- Provides fallback and migration from legacy storage formats
- Handles both GitHub and GitLab API authentication formats
- Includes comprehensive error handling and user notifications
## UI/UX Improvements
- Clear feedback for authentication states
- Guided user flow for credential setup
- Improved error messages and notifications
- GitHub or GitLab button visible on workbench when credentials are set
- Streamlined repository creation process

GitHub setup form

GitLab setup form

Only show push to ... button when there are credentials set.
@thecodacus can you take a look if we can update this? there is also the last comment from you
so this has to be a .git url not the url from the browser tab
Okay so i tested with a gitlab repo… there is an issue with the gitlab proxy endpoint
i have added a PR to fix that
main
← thecodacus:git-proxy-fix
opened 10:19AM - 06 Mar 25 UTC
fix the git proxy to work with any provider