npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

erlik

v3.5.9

Published

Apple Silicon (ARM64) Native Activity & Focus Intelligence Tracker for macOS

Readme

🐺 ERLİK — Native Mac Activity & Focus Intelligence


📸 Dashboard Preview


📖 About / Overview

ERLİK is an ultra-lightweight, privacy-first activity and focus tracking suite built purely in Swift (Apple Silicon ARM64 native) for modern software engineers, researchers, and AI builders.

Unlike heavy Python/Qt/Electron applications (like ActivityWatch or RescueTime) that consume 200MB+ RAM and constantly wake up CPU cores, ERLİK directly hooks into macOS Darwin Kernel APIs (IOHIDSystem, NSWorkspace, AppleScript). It operates at ~8 MB of RAM, produces zero CPU drain, and guarantees that 100% of telemetry stays strictly on your machine in a local SQLite database (erlik.db).

🌟 Why ERLİK?

  • 🔋 Zero Battery Drain: Extremely battery-friendly for MacBook users on the go.
  • 🔒 100% Privacy & Local-First: No telemetry leaves your machine. Full data ownership.
  • 🤖 Autonomous AI & AGI Recognition: Automatically separates active coding time inside AI tools (Antigravity, Cursor, Claude Code, Windsurf, Hermes, Devin, etc.).
  • 🌍 Trilingual Dashboard & Menubar: Instantly toggle between English (🇬🇧 EN), Turkish (🇹🇷 TR), and Dutch (🇳🇱 NL).
  • 🧹 One-Click RAM & Cache Purge: Integrated companion menubar utility to free inactive memory (purge) and clean developer disk caches (safe / all).

🌐 Official Website & Documentation

Visit the official website: https://erlik.be


⚡ Features (v3.5.6)

  • Pure Apple Silicon Native (ARM64): Zero Rosetta dependencies. High-performance native Swift binary compiled specifically for Apple Silicon M-Series (M1 / M2 / M3 / M4 / M5).
  • 8 MB RAM Native Footprint: Operates with near-zero CPU and zero battery drain.
  • Hardware-Level AFK Detection: Real-time hardware idle counter (IOHIDSystem) freezes activity tracking the moment you leave your keyboard/mouse.
  • 📋 Full-Width Native PasteApp-Inspired HUD Drawer (⌘⇧V):
    • Edge-to-edge floating frosted dock tray flush against the bottom and sides of your display.
    • Interactive top Pinboard pill categories (Clipboard, Fenix, todo, cursor, probex, pass, Useful Links, ai, apikey, Bank, onemli, ip, NL, tmp, barny, color palet, draft).
    • Authentic card visual replica: top color header with app badge (Chrome, Telegram, Terminal), relative timestamp, notebook ruled lines text area, footer with ⌘1..⌘9 quick paste, character count, and format tools.
    • Smart type filters (All, Code, Text, Links, Media & Files) and sensitive data masking.
    • Excludes password managers, concealed data, and sensitive keychain types to prevent credential leakage.
  • ☁️ Multi-Mac Cross-Device Synchronization:
    • Automated dual-engine sync combining Apple iCloud Drive (~/Library/Mobile Documents/com~apple~CloudDocs/Erlik/) with zero-config peer-to-peer Tailscale/LAN discovery bridge (erlik_sync.sh auto-detecting macOS peers via Tailscale, mDNS, and LAN).
    • Delta updates for both heartbeats and clipboard history: items copied on your Mac mini appear on your MacBook Pro M1 and vice-versa.
    • SQLite WAL mode with automated checkpoints (PRAGMA wal_checkpoint(TRUNCATE)) and graceful shutdown flush to guarantee zero data loss.
  • 🔔 Automatic Startup Version Check & Update Modal:
    • Automatically queries GitHub releases at dashboard startup.
    • Displays current vs latest version, release notes, and one-click download/update button.
  • 📂 Dynamic CWD & Process Project Attribution:
    • Automatically resolves CLI agents (Claude Code, ZCode, OpenCodex, OpenClaw, Codex) directly to their active project folder (cwd) rather than generic labels.
  • macOS Status Bar (Menubar) Companion:
    • Real-time display: 🐺 2.1 sa | 💾 38G | 🧠 78%
    • 🧹 Free RAM & Purge Memory: Flushes inactive virtual memory pages.
    • 🗑️ Clean System & Disk Caches: Runs modular deep cleanup (safe / dev / ai / docker / all) to reclaim gigabytes of disk space.
    • Hardware Metrics Toggle: Switch between full diagnostic mode and minimal focus mode.
  • Modern Responsive Glassmorphism Dashboard:
    • Accessible locally at http://localhost:5757.
    • Built with responsive glassmorphism, modern modals, and toast notifications.
    • Interactive Chart.js timeline and doughnut category breakdown with hourly duration views.
    • 20-20-20 Ergonomic wellness monitor and Pomodoro focus timer.
  • 💾 Automated Database Backup & Live Migration:
    • Automated SQLite backup engine (erlik_backup.sh & /api/backup).
    • 1-click binary SQLite (.db) or human-readable .sql dump exports.
    • Interactive browser modal to import and migrate telemetry across Macs in real time.

🛠️ IDE & AGI Agents

ERLİK automatically detects and categorizes modern developer tooling and autonomous agents:

| Category | Detected Software & Agents | | :--- | :--- | | 🤖 AGI & Autonomous Agents | Antigravity, Cursor, Codex, Hermes, OpenClaw, Claude Code, Windsurf, Devin, Aider, Ollama, LM Studio, ChatGPT | | 💻 IDEs & Code Editors | VS Code, Xcode, JetBrains Suite (IntelliJ, PyCharm, WebStorm, GoLand, CLion, Rider, DataGrip), Zed, Sublime Text, Neovim, Emacs | | ⚡ Terminals & CLIs | Ghostty, iTerm2, Terminal, Warp, Alacritty, Kitty, WezTerm, Hyper, tmux | | 🎨 Design & Media | Figma, Canva, Photoshop, Illustrator, Blender, BambuStudio, Premiere, DaVinci Resolve | | 💬 Team Communication | Slack, Discord, Telegram, WhatsApp, Spark, Zoom, Teams, Messages | | 📝 Notes & Productivity | Notion, Obsidian, Linear, Apple Notes, Craft, Reminders, Excel, Word |


📊 ActivityWatch vs ERLİK

| Metric / Capability | ActivityWatch (macOS) | ERLİK (Native ARM64) | | :--- | :--- | :--- | | Architecture | Python / Qt + x86 (Rosetta overhead) | Pure Swift ARM64 Native | | RAM Usage | ~150 - 300 MB | ~8 - 15 MB | | CPU / Battery Impact | Moderate | Near Zero (Maximum Energy Efficiency) | | AGI / Agent Awareness | None (counts as generic browser/app) | Autonomous AI & Agent Specialization | | Clipboard Manager | None | Native Full-Width HUD (⌘⇧V) with Pinboards | | Multi-Mac Sync | None (siloed per device) | iCloud Drive + P2P Tailscale Sync | | macOS Menubar App | Missing / Third-party | Native Companion with RAM/Disk Cleaning | | i18n Localization | English only | English, Turkish, Dutch (Flag Selectors) | | Reporting | Requires extra modules | Built-in Digest & Webhook Dispatch |


🚀 Quick Start

1. Clone & Run

git clone https://github.com/halilertekin/erlik.git
cd erlik
./erlik.sh start

Open in your browser: http://localhost:5757

2. Service Management

./erlik.sh status             # Check status of core, web UI and autostart daemon
./erlik.sh autostart          # Enable launchd autostart (starts on boot, auto-recovers on crash)
./erlik.sh disable-autostart  # Disable launchd autostart
./erlik.sh stop               # Stop all background services

🍺 Homebrew Installation

Install directly via the official tap:

brew install halilertekin/tap/erlik

Current release: 3.5.6. The Homebrew formula, npm package, and GitHub release ship the Free edition (limited build).

The signed Mac App Store build is 3.5.4 (3504, in review) and ships the Pro edition. The command-line/Homebrew and npm distributions use 3.5.6 (Free edition — clipboard HUD and AI-agent intelligence are Pro features).

To upgrade to the latest version:

brew upgrade erlik

🧹 System & Cache Cleaning CLI

ERLİK includes a modular macOS system cleaner based on clean-mac-cache:

# Safe cleanup (package managers, runtimes, temporary files)
./erlik_clean.sh safe

# Full developer and system cleanup (Xcode, Docker, AI replays, Simulators)
./erlik_clean.sh all

📜 License

© 2026 2Run (Halil Ertekin). All rights reserved. Free edition distributed as a prebuilt binary; the source is private.

❤️ Sponsor ERLİK

ERLİK is free, local-first and open source. Two ways to support development:

Sponsorship infrastructure

  • erlik.be/sponsor redirects to the canonical GitHub Pages sponsor page.
  • .github/workflows/pages-gh.yml publishes landing/public/ after relevant pushes to main.
  • The sponsor page offers only GitHub Sponsors and Stripe.