{"id":15067189,"url":"https://github.com/danialsamadi/free-macos","last_synced_at":"2026-01-05T22:08:21.173Z","repository":{"id":257486943,"uuid":"857939899","full_name":"Danialsamadi/Free-macos","owner":"Danialsamadi","description":"The Free macOS project offers real-time memory monitoring with interactive progress bars. It uses `Rich` and `Click` to display memory usage in B, KB, MB, or GB, and allows custom refresh intervals.","archived":false,"fork":false,"pushed_at":"2024-09-16T20:31:42.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T02:48:22.451Z","etag":null,"topics":["activity-monitor","commands","free","linux","macos","memory","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Danialsamadi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-16T01:49:23.000Z","updated_at":"2024-09-17T03:51:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ec5e9a0-4245-405d-ab3a-bd77a20d9c4e","html_url":"https://github.com/Danialsamadi/Free-macos","commit_stats":null,"previous_names":["danialsamadi/free-macos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danialsamadi%2FFree-macos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danialsamadi%2FFree-macos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danialsamadi%2FFree-macos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danialsamadi%2FFree-macos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Danialsamadi","download_url":"https://codeload.github.com/Danialsamadi/Free-macos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239275642,"owners_count":19611968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activity-monitor","commands","free","linux","macos","memory","terminal"],"created_at":"2024-09-25T01:17:51.840Z","updated_at":"2026-01-05T22:08:21.167Z","avatar_url":"https://github.com/Danialsamadi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Free-macOS\n\n\u003e Bring the power of Linux's `free` command to macOS with real-time visual memory monitoring\n\n[![Python](https://img.shields.io/badge/Python-3.8+-3776ab.svg)](https://www.python.org/)\n[![Poetry](https://img.shields.io/badge/Poetry-dependency%20management-60a5fa.svg)](https://python-poetry.org/)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![macOS](https://img.shields.io/badge/macOS-compatible-000000.svg)](https://www.apple.com/macos/)\n\nEver missed the `free` command on macOS? **Free-macOS** brings it back—and makes it better. Monitor your system's memory in real-time with colorful progress bars and live statistics, right in your terminal.\n\n![Free-macos Demo](https://github.com/user-attachments/assets/7a99d7b1-2330-4555-a723-3be0a98a590d)\n\n## ✨ Why Free-macOS?\n\nmacOS doesn't include the beloved `free` command that Linux users rely on. Free-macOS fills that gap and enhances it with:\n\n- 📊 **Visual Progress Bars** - See memory usage at a glance with colorful indicators\n- ⚡ **Real-Time Updates** - Live monitoring with customizable refresh intervals\n- 🎨 **Beautiful Output** - Clean, formatted display with automatic unit conversion (B/KB/MB/GB)\n- 🔧 **Zero Configuration** - Works out of the box with sensible defaults\n- 🚀 **Lightweight** - Minimal resource footprint\n\n## 🎯 Features\n\n| Feature | Description |\n|---------|-------------|\n| **Live Monitoring** | Continuous memory status updates in your terminal |\n| **Progress Bars** | Visual representation of memory usage (Used, Free, Active, Wired, Compressed) |\n| **Custom Intervals** | Adjust refresh rate with `--interval` flag |\n| **Smart Formatting** | Automatic unit conversion for readability |\n| **Easy Integration** | Set up as a system-wide command with simple aliasing |\n\n## 📦 Installation\n\n### Prerequisites\n- macOS (10.14+)\n- Python 3.8 or higher\n- Poetry (for dependency management)\n\n### Quick Setup\n\n```bash\n# 1. Clone the repository\ngit clone https://github.com/Danialsamadi/Free-macos.git\ncd Free-macos\n\n# 2. Install dependencies with Poetry\npoetry install\n\n# 3. Run the tool\npoetry run free --interval 2\n```\n\nThat's it! You're now monitoring your system's memory.\n\n## 🚀 Usage\n\n### Basic Usage\n\nRun with default settings (1-second refresh):\n```bash\npoetry run free\n```\n\n### Custom Refresh Interval\n\nSet your preferred update frequency (in seconds):\n```bash\npoetry run free --interval 2    # Updates every 2 seconds\npoetry run free --interval 0.5  # Updates every 500ms (fast)\npoetry run free --interval 5    # Updates every 5 seconds (slow)\n```\n\n### Global Command Setup\n\nMake `free` available system-wide by adding an alias to your shell configuration:\n\n**For Zsh (default on modern macOS):**\n```bash\n# Add to ~/.zshrc\necho 'alias free=\"cd /path/to/Free-macos \u0026\u0026 poetry run free\"' \u003e\u003e ~/.zshrc\nsource ~/.zshrc\n```\n\n**For Bash:**\n```bash\n# Add to ~/.bashrc or ~/.bash_profile\necho 'alias free=\"cd /path/to/Free-macos \u0026\u0026 poetry run free\"' \u003e\u003e ~/.bashrc\nsource ~/.bashrc\n```\n\n\u003e 💡 **Pro Tip:** Replace `/path/to/Free-macos` with your actual project path. Use `pwd` in the project directory to get the full path.\n\nNow run `free` from anywhere in your terminal! 🎉\n\n## 📊 Understanding the Output\n\nFree-macOS displays the following memory metrics:\n\n- **Total** - Total physical RAM installed\n- **Used** - Memory currently in use by applications\n- **Free** - Completely unused memory\n- **Active** - Recently used memory that's still in RAM\n- **Wired** - Memory required by the system (cannot be compressed or paged out)\n- **Compressed** - Memory that's been compressed to save space\n\nProgress bars show the percentage of each metric relative to total memory.\n\n## 🛠️ Development\n\n### Project Structure\n```\nFree-macos/\n├── free_macos/          # Main source code\n│   ├── __init__.py\n│   └── main.py          # Core monitoring logic\n├── pyproject.toml       # Poetry configuration\n├── poetry.lock          # Locked dependencies\n└── README.md\n```\n\n### Adding Features\n\nWant to enhance Free-macOS? Here are some ideas:\n- Export metrics to CSV/JSON\n- Add alerts for high memory usage\n- Historical memory graphs\n- Swap memory monitoring\n- Process-level memory breakdown\n\n## 🤝 Contributing\n\nContributions are welcome! Whether it's bug fixes, new features, or documentation improvements:\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 🐛 Issues\n\nFound a bug or have a feature request? [Open an issue](https://github.com/Danialsamadi/Free-macos/issues) on GitHub.\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- Inspired by the classic Linux `free` command\n- Built for macOS users who miss their Linux tools\n- Thanks to the Python and Poetry communities\n\n## 📧 Contact\n\n**Danial Samadi** - [@Danialsamadi](https://github.com/Danialsamadi)\n\nProject Link: [https://github.com/Danialsamadi/Free-macos](https://github.com/Danialsamadi/Free-macos)\n\n---\n\n⭐ If Free-macOS makes your life easier, give it a star!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanialsamadi%2Ffree-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanialsamadi%2Ffree-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanialsamadi%2Ffree-macos/lists"}