Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 GitHub - kkz6/devtools at v0.3.0
Nothing Special   »   [go: up one dir, main page]

Skip to content

kkz6/devtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DevTools

A powerful and modular command-line toolkit for managing development tools, Git signing configurations, and more.

Build Status License Go Version

Features

πŸ” Git Signing Configuration

  • SSH Signing (Recommended)
    • Generate new SSH signing keys
    • Import existing SSH keys
    • Upload keys to GitHub automatically
    • Configure Git for commit/tag signing
  • GPG Signing
    • Generate new GPG keys
    • Configure Git for GPG signing
    • Export public keys with clipboard support
  • Cleanup Tools
    • Remove GPG/SSH keys from system and GitHub
    • Clear Git signing configuration
    • Start fresh with new keys

πŸ“Š Cursor AI Usage Reporter

  • Track API usage and costs
  • Compare Free vs Pro vs Business plans
  • View 30-day usage history with charts
  • Get cost-saving recommendations
  • Export usage data

βš™οΈ Configuration Manager

  • Manage all settings from one place
  • Secure credential storage
  • Easy configuration updates

🎨 Beautiful UI

  • Interactive menus with keyboard navigation
  • Animated banners and loading indicators
  • Color-coded messages and status updates
  • Progress bars and spinners

Installation

Quick Install (macOS)

The easiest way to install DevTools on macOS is using our install script:

# System-wide installation (may require sudo)
bash -c "$(curl -fsSL https://raw.githubusercontent.com/kkz6/devtools/main/install.sh)"

# User-only installation (no sudo required)
bash -c "$(curl -fsSL https://raw.githubusercontent.com/kkz6/devtools/main/install.sh)" -- --user

# Alternative method (download and run)
curl -fsSL https://raw.githubusercontent.com/kkz6/devtools/main/install.sh -o install.sh
chmod +x install.sh
./install.sh

The install script will:

  • Download the latest release
  • Ask for sudo permission only if needed
  • Install to /usr/local/bin (system) or ~/.local/bin (user)
  • Create the configuration directory at ~/.devtools
  • Provide PATH setup instructions if needed

Manual Installation

From Release (Recommended)

  1. Download the latest release for your platform from GitHub Releases

  2. Extract and move to your PATH:

    # macOS/Linux
    chmod +x devtools-darwin-amd64
    sudo mv devtools-darwin-amd64 /usr/local/bin/devtools
    
    # Verify installation
    devtools --version

Build from Source

# Clone the repository
git clone https://github.com/kkz6/devtools.git
cd devtools

# Build the application
go build -o devtools

# Install to system (optional)
sudo mv devtools /usr/local/bin/

# Run the application
devtools

Homebrew (Coming Soon)

brew tap kkz6/devtools
brew install devtools

Configuration

The application stores its configuration in ~/.devtools/config.yaml. A default configuration file is created on first run.

Sample Configuration

github:
  username: "your-github-username"
  token: "your-github-personal-access-token"
  email: "your-email@example.com"

ssh:
  signing_key_path: "/Users/username/.ssh/git-ssh-signing-key"
  key_comment: "git-ssh-signing-key"

gpg:
  key_id: ""
  email: "your-email@example.com"

settings:
  preferred_signing_method: "ssh"

Usage

Simply run:

devtools

You'll be presented with an interactive menu where you can:

  1. Git Commit Signing Setup - Configure SSH/GPG signing for secure commits
  2. Configuration Manager - Manage your DevTools settings
  3. Cursor AI Usage Report - Track your AI assistant usage and costs

Quick Examples

Set up Git SSH Signing

devtools
# Select "Git Commit Signing Setup"
# Choose "SSH signing setup (recommended)"
# Follow the prompts

Check Cursor AI Usage

devtools
# Select "Cursor AI Usage Report"
# View your usage statistics and cost analysis

Clean Up Old Keys

devtools
# Select "Git Commit Signing Setup"
# Choose "Clean up GPG/SSH signing (Remove all)"
# Select what to remove

GitHub Personal Access Token

To upload SSH keys to GitHub, you'll need a personal access token with the write:ssh_signing_key scope:

  1. Go to https://github.com/settings/tokens
  2. Click "Generate new token"
  3. Select the write:ssh_signing_key scope
  4. Generate and copy the token
  5. Add it to your config file or enter it when prompted

Adding New Modules

To add a new tool module:

  1. Create a new package in internal/modules/yourmodule/
  2. Implement the Module interface:
    type Module interface {
        Execute(cfg *config.Config) error
        Info() ModuleInfo
    }
  3. Register your module in internal/modules/register.go

Project Structure

devtools/
β”œβ”€β”€ main.go                           # Entry point
β”œβ”€β”€ go.mod                           # Go module file
β”œβ”€β”€ internal/
β”‚   β”œβ”€β”€ config/                      # Configuration management
β”‚   β”‚   └── config.go
β”‚   β”œβ”€β”€ menu/                        # Interactive menu system
β”‚   β”‚   └── menu.go
β”‚   └── modules/                     # Tool modules
β”‚       β”œβ”€β”€ registry.go              # Module registry
β”‚       β”œβ”€β”€ register.go              # Module registration
β”‚       └── gitsigning/              # Git signing module
β”‚           β”œβ”€β”€ module.go            # Main module logic
β”‚           β”œβ”€β”€ ssh.go               # SSH signing implementation
β”‚           └── gpg.go               # GPG signing implementation
└── README.md

Requirements

  • macOS: 10.15 (Catalina) or later
  • Linux: Ubuntu 20.04+ or equivalent
  • Windows: Windows 10+ (WSL recommended)

Runtime Dependencies

  • Git 2.34+ (for SSH signing support)
  • OpenSSH (included in macOS/Linux)
  • GPG (optional, auto-installed on macOS if needed)

Build Requirements

  • Go 1.23 or later (only if building from source)

Author

Karthick
Email: karthick@gigcodes.com
Website: devkarti.com

License

MIT License

Copyright (c) 2024 Karthick

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0