Skip to content

AYastrebov/JKiller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JKiller Icon

JKiller

A lightweight macOS menu bar app for managing system resources

Swift 5.0 macOS 13.0+ SwiftUI License: MIT

JKiller Screenshot


Overview

JKiller lives in your menu bar and helps you quickly kill resource-hungry processes and clean up disk space with a single click. No more hunting through Activity Monitor or typing terminal commands.

Features

Process Management

Action Shortcut Description
Kill All Java Cmd+J Terminate all Java processes
Kill IntelliJ IDEA Cmd+I Stop IntelliJ IDEA and related processes
Kill All Gradle Cmd+G Stop all Gradle daemons
Kill Xcode & Simulators Cmd+X Stop Xcode, simulators, and build tools

Disk Cleanup

Target Description
DerivedData Clean Xcode's build cache
~/.konan Remove Kotlin/Native cache

Real-time Monitoring

  • Menu Bar — System memory status always visible
  • Process Memory — Per-process consumption shown next to each kill option
  • Disk Usage — Current sizes displayed for cleanup targets

Requirements

  • macOS 13.0 (Ventura) or later
  • Xcode 14+ (for building from source)

Installation

From Source

# Clone the repository
git clone https://github.com/AYastrebov/JKiller.git
cd JKiller

# Build the app
xcodebuild -scheme JKiller -configuration Release build

# Or open in Xcode
open JKiller/JKiller.xcodeproj

Usage

  1. Launch JKiller — it appears in your menu bar
  2. Click the memory indicator to open the menu
  3. View real-time memory usage for each process category
  4. Click any option to kill processes or clean disk space
  5. Use keyboard shortcuts for quick access

Architecture

JKiller/
├── JKillerApp.swift              # App entry point
├── Services/
│   ├── MemoryMonitor.swift       # System memory tracking
│   ├── ProcessMemoryMonitor.swift # Per-process memory
│   ├── DiskMonitor.swift         # Disk usage monitoring
│   ├── DiskCleaner.swift         # Cleanup operations
│   └── ProcessKiller.swift       # Process termination
└── Views/
    └── MenuBarView.swift         # Main UI

Running Tests

xcodebuild -scheme JKillerTests -destination 'platform=macOS' test

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

License

This project is licensed under the MIT License — see the LICENSE file for details.


Made with Swift and SwiftUI

About

A lightweight macOS menu bar app for managing system resources

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages