GitHub Environment Manager
A modern, web-based tool for managing GitHub environment variables and secrets across multiple repositories and environments. Built with Go and featuring a beautiful, responsive UI.
Why This Tool?
GitHub's web UI restricts environment variables/secrets editing to admin users only, even though users with write access can manage them via GitHub API. This tool provides a web interface that works with the GitHub API, allowing write-access users to manage environment variables and secrets without requiring admin permissions.
Features
🔐 GitHub Authentication - Secure authentication using Personal Access Tokens (PAT)
🏗️ Environment Management - Create and manage GitHub environments
🔑 Variables & Secrets - Manage repository and environment-level variables and secrets
🔄 Sync & Compare - Sync variables between environments and compare configurations
📤 Export/Import - Export variables as .env files and import from existing configurations
🌐 Real-time Updates - WebSocket support for live updates
📱 Responsive UI - Modern, mobile-friendly interface built with Tailwind CSS
🔍 Search & Filter - Easy repository and environment discovery
Installation
Prerequisites
Docker
GitHub Personal Access Token with appropriate permissions
Quick Start
🚀 One-Command Installation (Recommended)
curl -fsSL https://raw.githubusercontent.com/AM-i-B-V/github-env-manager/main/install.sh | bash
Copy
🐳 Manual Docker Installation
docker run -itd -p 8005:8005 --restart always --name github-env-manager amibotuser/github-env-manager:latest
Copy
Open http://localhost:8005 in browser
Usage
Authentication
Click "Connect with Token" in the web interface
Enter your GitHub Personal Access Token
The token should have the following permissions:
repo - Full control of private repositories
workflow - Update GitHub Action workflows
Managing Environments
Select a Repository : Choose from your accessible GitHub repositories
View Environments : See existing environments or create new ones
Manage Variables : Add, edit, or delete environment variables
Manage Secrets : Handle sensitive data with GitHub secrets
Key Operations
Create Environment : Set up new deployment environments
Sync Variables : Copy variables between environments
Export Configuration : Download variables as .env files
Compare Environments : View differences between environment configurations