kgithub
kgithub copied to clipboard
Bring GitHub to your Plasma desktop.
KGitHub Plasmoid
Bring GitHub to your Plasma desktop.


Features
- User Profile Display - View your GitHub profile with avatar and statistics
- Repository Browser - Browse repositories with pagination and detailed information
- Issues Tracking - Monitor open issues across all repositories
- Pull Requests - Track open pull requests
- Organizations - View organizations you belong to
- Starred Repositories - Browse starred repositories
- Search Functionality - Search repositories, issues, and pull requests
- Configurable Interface - Show/hide tabs and customize appearance
- Auto-Refresh - Configurable automatic refresh intervals
Installation
Prerequisites
- KDE Plasma 6.0+
- Qt 6.0+
- GitHub Personal Access Token
Install from Source
# Clone the repository
git clone https://github.com/omarluq/kgithub.git
cd kgithub
# Install the plasmoid
make install
Add to Desktop/Panel
- Right-click on your desktop or panel
- Select "Add Widgets..."
- Search for "KGitHub"
- Drag the widget to your desired location
Configuration
GitHub Token Setup
- Go to GitHub Personal Access Tokens
- Click "Generate new token (classic)"
- Select scopes:
repo,public_repo,read:org - Copy the generated token

Widget Configuration
- Right-click the KGitHub widget
- Select "Configure KGitHub..."
- Enter your GitHub Personal Access Token and username
- Configure refresh interval and visible tabs
- Customize appearance settings

Search

The search functionality supports both global and targeted searches:
Global Search
Type any query to search across repositories, issues, and pull requests simultaneously.
Targeted Search
Use prefixes for specific content types:
repo:- Search repositories onlyissue:- Search issues onlypr:- Search pull requests only
Examples:
repo:react- Find repositories containing "react"issue:bug fix- Find issues about bug fixespr:feature- Find pull requests about features
Development
Setup
git clone https://github.com/omarluq/kgithub.git
cd kgithub
make setup
Code Quality
make lint # Run qmllint on all QML files
make format # Format QML files with qmlformat
make clean # Remove trailing whitespace and extra spaces
make pre-commit # Run all pre-commit checks
Development & Testing
make test # Test plasmoid with plasmoidviewer
make run # Run plasmoid with plasmoidviewer (alias for test)
make setup # Set up development environment with hooks
Installation Management
make install # Install plasmoid to KDE Plasma 6
make update # Update existing plasmoid installation
make uninstall # Remove plasmoid from KDE Plasma 6
make restart-plasma # Restart Plasma Shell (useful after install/update)
Packaging
make package VERSION=1.0.0-alpha # Create plasmoid package with version
Other Commands
make help # Show all available commands with descriptions
Privacy & Security
- All data is cached locally in KDE configuration
- GitHub tokens are stored securely in KDE's configuration system
- Direct GitHub API communication only
- Rate limit aware to respect GitHub's API limits
Troubleshooting
Widget shows "Please configure GitHub token"
- Enter a valid GitHub Personal Access Token in configuration
- Verify token has required scopes:
repo,public_repo,read:org - Check GitHub username is correct
Empty or outdated data
- Use the refresh button to update data manually
- Check internet connection
- Verify GitHub token hasn't expired
Performance issues
- Increase refresh interval in settings
- Widget uses intelligent caching to minimize API calls
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting (
make lintandmake format) - Submit a Pull Request
License
MIT License - see LICENSE file for details.