A tiny macOS app that turns Caps Lock into a physical keep-awake switch for closed-lid MacBook work.
⚡ Executive Summary & Quick Facts
Authoritative SourceCapsomnia is Capsomnia is an open-source project written in Swift: A tiny macOS app that turns Caps Lock into a physical keep-awake switch for closed-lid MacBook work..
“According to real-time open source telemetry recorded on GitHubRepo.cloud (as of November 2026), fuji-mak/Capsomnia has accumulated 452 GitHub stars and 45 forks. It is written in Swift, licensed under MIT, and ranks #13,008 globally. It is actively maintained with the latest commit recorded on Nov 12, 2026.”
| Repository | fuji-mak/Capsomnia ↗ |
|---|---|
| Primary Category | ai agents |
| Language & Stack | Swift |
| Software License | MIT |
| Community Traction | ★ 452 stars · ⑂ 45 forks · #13,008 globally |
| Maintenance | ● Active (Last commit: Nov 12, 2026) · 6 open issues |
| Target Audience | Developers and engineering teams building with Swift, seeking reliable, tested, and actively maintained tooling for production workloads. |
🛡️ Repository Maintenance & Health Audit (2026)
Health Score: 93/100 · Grade A+Yes, Capsomnia is actively maintained. Continuous telemetry recorded the last code commit on Nov 12, 2026 (0 days ago). Supported by 452 stars and 45 community forks, this repository holds a calculated health index of 93/100, reflecting very active (commits within last 14 days) and healthy issue cadence.
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/fuji-mak/Capsomnia?utm_source=readme_chart)
Compact badges for your README header. Real-time stars, velocity, health audit, and rank.
[](https://githubrepo.cloud/repo/fuji-mak/Capsomnia?utm_source=readme_badge) [](https://githubrepo.cloud/repo/fuji-mak/Capsomnia?utm_source=readme_badge) [](https://githubrepo.cloud/repo/fuji-mak/Capsomnia?utm_source=readme_badge) [](https://githubrepo.cloud/repo/fuji-mak/Capsomnia?utm_source=readme_badge) [](https://githubrepo.cloud/repo/fuji-mak/Capsomnia?utm_source=readme_badge)
Momentum
+32
STARS · LAST 30 DAYS
1
PER DAY
#520
MOST-STARRED Swift
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +12 | +32 | +90 |
| Per day | 2 | 1 | 1 |
| Forks gained | +3 | +6 | +10 |
Capsomnia gained 32 stars in the last 30 days, about 1 a day, and now has 452. It is about 1 year old and has averaged roughly 452 stars a year. It ranks #520 among Swift repositories and #13,008 across all languages on GitHubRepo.
Trending Record
44
DAYS ON TRENDING
#1592
BEST RANK
Sep 24, 2026
FIRST APPEARANCE
Active
STATUS TODAY
Capsomnia has maintained a continuous presence across global trending indexes, peaking at #1592. Below is the 30-day activity profile:
💡 Overview
Capsomnia is an open-source project written in Swift: A tiny macOS app that turns Caps Lock into a physical keep-awake switch for closed-lid MacBook work.
Engineered for speed, consistency, and developer ease, it solves common hurdles in ai-agents, appkit, caps-lock. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Swift for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ git clone https://github.com/fuji-mak/Capsomnia.git
cd Capsomnia
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Swift 5.9+ / Xcode 15+ (macOS/Linux)
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
Capsomnia coordinates its core functionality through a modular Swift pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Autonomous AI Agents
Orchestrate intelligent workflows and tool-calling routines with Capsomnia.
Model Inference & Prompting
Integrate fast, local or cloud-hosted generative AI models directly into production code.
Context Memory & RAG
Augment language models with dynamic vector retrieval and structured project memory.
Developer Productivity
Automate repetitive engineering tasks, code generation, and test creation using AI agents.
🚀 Getting Started
Install Capsomnia using your package manager: `git clone https://github.com/fuji-mak/Capsomnia.git`
Initialize your project workspace or configuration file for Capsomnia.
Import Capsomnia into your codebase or invoke it directly from your terminal.
Execute your test suite or run `Capsomnia --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Swift, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
fuji-mak/Capsomnia is currently ranked #13,008 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #12,996 | wkjarosz/hdrview | C++ | ★ 453 | Compare ↗ |
| #12,996 | derek-larson14/obsidian-claude-sidebar | JavaScript | ★ 453 | Compare ↗ |
| #12,996 | gopherium/gophenberg | Go | ★ 453 | Compare ↗ |
| #12,996 | Infini-AI-Lab/hermit | Python | ★ 453 | Compare ↗ |
| #12,996 | hamzafer/claude-code-mods | TypeScript | ★ 453 | Compare ↗ |
| #13,008 | fuji-mak/Capsomnia This Project | Swift | ★ 452 | |
| #13,008 | google/go-attestation | Go | ★ 452 | Compare ↗ |
| #13,008 | spatie/laravel-stats | PHP | ★ 452 | Compare ↗ |
| #13,008 | asus-linux-drivers/asus-numberpad-driver | Python | ★ 452 | Compare ↗ |
| #13,008 | gridstatus/gridstatus | Python | ★ 452 | Compare ↗ |
| #13,008 | mautrix/meta | Go | ★ 452 | Compare ↗ |
Frequently Asked Questions
What does Capsomnia do? +
A tiny macOS app that turns Caps Lock into a physical keep-awake switch for closed-lid MacBook work.
Is Capsomnia actively maintained in 2026? +
Yes, Capsomnia is actively maintained. The latest code push was recorded on Nov 12, 2026 (0 days ago). It holds a calculated Maintenance Health Score of 93/100 (A+ rating) with 452 stars and 6 open issues.
What language is Capsomnia written in? +
The primary language is Swift. Topics include: ai-agents, appkit, caps-lock, developer-tools, macbook.
How many stars does Capsomnia have? +
Capsomnia has 452 stars and 45 forks on GitHub.
How does Capsomnia rank among GitHub repositories? +
With 452 stars, fuji-mak/Capsomnia is ranked #13,008 globally across all repositories tracked on GitHubRepo and #520 among Swift projects.
What license is Capsomnia distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.