System Startup Guide
Welcome to GitHub Commander. This guide will help you initialize the system and get started with managing your GitHub repositories.
Quick Start
Prerequisites Check
Before launching GitHub Commander, ensure you have:
- Python 3.8 or higher - Required for the application
- Git - Required for Git operations
- GitHub Account - Required for GitHub integration
Verify your system:
python3 --version
git --version
Installation
-
Clone or Download:
bash
git clone https://github.com/AutoBotSolutions/GitHub-Commander.git
cd GitHub-Commander
-
Install Dependencies:
bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
-
Launch System:
bash
python main.py
Initial Configuration
Step 1: Authentication
GitHub Commander requires authentication to access GitHub features.
Generate GitHub Token:
- Go to GitHub.com
- Click profile picture → Settings
- Developer settings → Personal access tokens → Tokens (classic)
- Click "Generate new token (classic)"
- Enter note: "GitHub Commander"
- Select scopes:
repo - Full control of repositories
workflow - Update GitHub Actions
delete_repo - Delete repositories
- Click "Generate token"
- Copy the token
Add Token to GitHub Commander:
- Click Settings in the main menu (or press
Ctrl+,)
- Find GitHub Token field
- Paste your token
- Click Save
Step 2: Git Configuration
Configure your Git identity for commits:
- Go to Settings
- Find Git Configuration section
- Enter:
- User Name: Your name
- User Email: Your email
- Click Save
Step 3: Default Directory
Set your preferred clone directory:
- Go to Settings
- Find Clone Directory
- Enter path (default:
~/github-projects)
- Click **Save`
First-Time Operations
Browse Your Repositories
- After authentication, your repositories appear in the list
- Click on a repository to view details
- The info panel shows repository information
Clone a Repository
Method 1: From Repository List
- Right-click on a repository
- Select Clone
- Choose destination folder
- Click Clone
Method 2: From Git Panel
- Go to Git Panel
- Enter repository URL
- Choose destination folder
- Click Clone
Upload Files
Method 1: Drag and Drop
- Select a repository
- Navigate to Local File Browser
- Select files
- Drag to GitHub File Browser
- Enter commit message
- Click Upload
Method 2: Context Menu
- Right-click file in Local Browser
- Select Upload to GitHub
- Choose destination
- Enter commit message
- Click Upload
Create a Wiki Page
- Select a repository
- Go to Wiki Panel
- Click Create New Page
- Enter page title
- Write content in Markdown
- Click Save Page
Deploy to GitHub Pages
- Select a repository
- Go to Pages Panel
- Configure:
- Source Branch: main
- Source Directory: / (or specific folder)
- Custom Domain: (optional)
- Click Enable Pages
- Click Deploy to upload site files
Common First Tasks
1. Set Up Your Workspace
- Configure default clone directory
- Set up Git credentials
- Customize UI settings (theme, font size)
2. Manage Your Repositories
- Browse existing repositories
- Clone frequently used repos
- Create new repositories as needed
3. Establish Workflows
- Set up feature branches
- Configure commit message preferences
- Set up keyboard shortcuts for efficiency
4. Document Your Projects
- Create wiki pages for documentation
- Set up GitHub Pages for project websites
- Write README files
5. Automate Deployments
- Configure GitHub Actions workflows
- Set up package publishing
- Create release templates
System Overview
Main Interface Components
Navigation Tabs:
- Git Panel - Clone, commit, push, pull, branches
- GitHub File Browser - Browse repository contents
- Local File Browser - Browse local files
- Wiki Panel - Manage repository wikis
- Pages Panel - Deploy GitHub Pages
- Packages Panel - Upload packages
- Releases Panel - Create releases
Menu Options:
- File - New repository, settings
- Edit - Preferences
- View - Panel selection
- Help - Documentation
Keyboard Shortcuts
Essential shortcuts:
Ctrl+, - Settings
Ctrl+N - New repository
Ctrl+S - Save
Ctrl+P - Push
Ctrl+L - Pull
Alt+1-7 - Switch panels
See Keyboard Shortcuts for complete list.
Troubleshooting
Authentication Issues
Problem: "Failed to authenticate"
Solutions:
- Verify token is correct
- Check token has required scopes
- Regenerate token if expired
- Check internet connection
Clone Issues
Problem: "Clone failed"
Solutions:
- Verify repository URL
- Check write permissions
- Ensure sufficient disk space
- Check internet connection
Upload Issues
Problem: "Upload failed"
Solutions:
- Verify authentication
- Check file size (< 100 MB)
- Ensure write access to repository
- Check file path is valid
Wiki Issues
Problem: "Failed to upload wiki page"
Solutions:
- Enable wiki in repository settings
- Verify file is valid Markdown
- Check authentication
- Ensure internet connection
Next Steps
After completing startup:
- Explore Features - Try different panels and features
- Read Documentation - See comprehensive guides for each feature
- Customize Settings - Configure to your preferences
- Learn Shortcuts - Improve efficiency with keyboard shortcuts
- Join Community - Contribute and get help
Getting Help
- Documentation: See Wiki
- Issues: Report bugs on GitHub Issues
- Support: Email autobotsolution@gmail.com
System Status
After completing startup, verify:
- [ ] GitHub token configured
- [ ] Git credentials set
- [ ] Default directory configured
- [ ] Can view repositories
- [ ] Can clone a repository
- [ ] Can upload files
- [ ] Can create wiki pages
System Version: 1.0.0
Owner: Robert Trenaman
Company: (Software Customs) Auto Bot Solution
Email: autobotsolution@gmail.com
Location: Flushing, MI
Welcome to the future of GitHub management.