Skip to content
View clbasaran's full-sized avatar

Highlights

  • Pro

Block or report clbasaran

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
clbasaran/README.md


About

Independent iOS & macOS developer focused on building native applications that interface directly with Apple's lowest-level system APIs. I believe the best software is invisible — it works so well you forget it's there.

Current Focus    →  Kernel-level macOS utilities & native iOS experiences
Design Language  →  Minimal, dark, Apple HIG-inspired interfaces
Philosophy       →  "Design is not just what it looks like, it's how it works."



🔥 Featured: RenderFocus


Take Full Control of Apple Silicon. RenderFocus reclaims your CPU performance by forcing background applications to Efficiency Cores, dedicating maximum P-Core power exclusively to your active workflow.


How It Works

macOS distributes CPU power fairly across all processes. RenderFocus overrides this by interfacing directly with the Darwin kernel's taskpolicy(2) API, modifying QoS classes at the lowest hardware level.

  • 🔶 P-Cores → Locked to your focus application
  • 🟢 E-Cores → All background threads restricted here
  • 🔒 Security → Privilege-separated XPC daemon via SMAppService
  • 📡 Privacy → Zero telemetry, fully offline

Technical Stack

┌─────────────────────────────────┐
│  SwiftUI Menu Bar App           │
│  (User-space, sandboxed)        │
├─────────────────────────────────┤
│  XPC Daemon (Root)              │
│  SMAppService + Touch ID        │
├─────────────────────────────────┤
│  Darwin Kernel                  │
│  taskpolicy(2) · QoS Classes    │
│  TASK_POLICY_DARWIN_BG          │
└─────────────────────────────────┘
📊 Performance Impact
Benchmark Without RF With RF Improvement
WebKit Compilation (Xcode) 14m 20s 11m 45s ~18% faster
Heavy 3D Render (Blender) 8m 10s 6m 55s ~15% faster

Benchmarked on M3 Max · 16-core CPU · 128GB Unified Memory

🏗️ Architecture Deep Dive

Privilege-Separated Design:

  • The GUI application never acquires root privileges
  • All kernel operations are isolated in a separate XPC daemon
  • Communication via Mach IPC (fastest IPC on macOS)
  • Code signed with same Team ID for XPC trust chain

XPC Protocol:

@objc(RenderFocusXPCProtocol)
protocol RenderFocusXPCProtocol {
    func throttleProcess(pid: Int32, withReply: @escaping (Bool, String?) -> Void)
    func unthrottleProcess(pid: Int32, withReply: @escaping (Bool, String?) -> Void)
    func throttleMultipleProcesses(pids: [NSNumber], withReply: @escaping (Bool, String?) -> Void)
    func unthrottleAllProcesses(withReply: @escaping (Bool, String?) -> Void)
    func ping(withReply: @escaping (Bool) -> Void)
}

Kernel Effect of taskpolicy -b:

Thread priority  → MAXPRI_THROTTLE (4)
Sched mode       → SCHED_MODE_BACKGROUND
CPU affinity     → E-Cluster preferred
I/O priority     → IOPOL_THROTTLE



📸 PhotoCabin

The analog photobooth revolution in your pocket.

A native iOS application engineered to replicate the exact feel of a vintage photograph session. Built entirely with AVFoundation and SwiftUI for iOS 18.

  • Zero data tracking — 100% on-device processing
  • Classic, Filmstrip, Polaroid layouts rendered in real-time
  • High-contrast B&W and film-grade color algorithms applied live
  • Fully immersive "Cabin" environment with modern iOS 18 APIs



🛠️ Tech Stack

Domain Technologies
Languages Swift · Objective-C · JavaScript · TypeScript
Apple Frameworks SwiftUI · AppKit · AVFoundation · XPC · CoreImage
System APIs taskpolicy(2) · SMAppService · NSXPCConnection · launchd
Web Next.js · Tailwind CSS · Framer Motion · Cloudflare Workers
Tools Xcode · XcodeGen · Git · Figma



📊 GitHub Stats







Designed by Celal Başaran · 2026

Pinned Loading

  1. clbasaran clbasaran Public

    ✨ Professional GitHub Profile - AI Expert & Full-Stack Developer

    1