# SkrewEverything/Swift-Keylogger

Keylogger for mac written in Swift using HID

Repository: https://github.com/SkrewEverything/Swift-Keylogger
Canonical: https://ross.abutalabs.com/products/swift-keylogger
Language: Swift
License: MIT
License Family: permissive
Topics: keylogger, swift, swift-3, mac, mac-osx, keystrokes, apple, macos, swift4, hacking, hack, hacking-tool
Last push: 2018-07-06T19:16:59+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3500, "days_push": 2980, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1160, forks 105 (observed 2026-08-28T04:03:49.028420+00:00)

## What it is
A keylogger for macOS written in Swift using the low-level HID API to capture keystrokes. It logs keystrokes grouped by application, along with timestamps and connected keyboard device information, into organized data folders.

## Use cases
- log keystrokes on macOS for security research
- capture which app each keystroke was typed in
- integrate a Swift keylogger into a Cocoa app
- monitor keyboard devices connected to a Mac
- study macOS HID API usage in Swift

## When to choose
- you need a native macOS keylogger written in Swift
- you want per-application keystroke grouping rather than a flat log
- you prefer a low-level HID-based approach over deprecated high-level Apple APIs

## When to avoid
- you need a maintained tool with recent updates (last release 2018)
- you need a cross-platform or Windows/Linux keylogger
- you want a stealthy production-grade monitoring solution

## Facets
- artifact type: application
- maturity: maintenance
- function: security, developer-tools
- domain: security, operating-systems, apple-ecosystem, developer-tools
- platform: -
- tags: keylogger, hid, keystroke-logging, hacking-tool, swift, macos

## Member repositories
- SkrewEverything/Swift-Keylogger (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.028420+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:47.064716+00:00, confidence not recorded.
  - readme: https://github.com/SkrewEverything/Swift-Keylogger (fetched 2026-08-28T04:03:49.028420+00:00, sha e1b76cb59600)
- Data as of 2026-08-30T08:39:29.467469+00:00.
