Skip to content

Comments

Free Memory Widget#155

Merged
sirmalloc merged 3 commits intosirmalloc:mainfrom
acaracappa:feature/free-memory-meter
Feb 24, 2026
Merged

Free Memory Widget#155
sirmalloc merged 3 commits intosirmalloc:mainfrom
acaracappa:feature/free-memory-meter

Conversation

@acaracappa
Copy link
Contributor

Free Memory widget:

Description: Shows system memory usage (used/total) in a compact format like Mem: 12.4G/16.0G

Features:

  • On macOS: Uses vm_stat to calculate memory like htop (Active + Wired pages)
  • On other platforms: Falls back to Node.js os.freemem()/os.totalmem()
  • Smart byte formatting (G, M, K, B)
  • Supports raw value mode (omits "Mem:" prefix)
  • Default color: cyan

  Description: Shows system memory usage (used/total) in a compact format like Mem: 12.4G/16.0G

  Features:
  - On macOS: Uses vm_stat to calculate memory like htop (Active + Wired pages)
  - On other platforms: Falls back to Node.js os.freemem()/os.totalmem()
  - Smart byte formatting (G, M, K, B)
  - Supports raw value mode (omits "Mem:" prefix)
  - Default color: cyan

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@acaracappa acaracappa force-pushed the feature/free-memory-meter branch from a35627e to 21f3422 Compare February 8, 2026 19:02
@acaracappa
Copy link
Contributor Author

@sirmalloc Anything I can do to make this feature merge ready?

@sirmalloc
Copy link
Owner

@acaracappa I'm working on it now

@acaracappa
Copy link
Contributor Author

Thank you. If you need anything don't hesitate to ping me. I'm happy to be of service.

@sirmalloc sirmalloc merged commit 3d43476 into sirmalloc:main Feb 24, 2026
@sirmalloc
Copy link
Owner

It's published in v2.0.29. A category based widget selection was recently added due to the growing number of widgets, this one is in the 'Environment' category.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants