{"id":31841583,"url":"https://github.com/dirvine/saorsa-cli","last_synced_at":"2025-10-12T05:21:18.505Z","repository":{"id":310835620,"uuid":"1041019856","full_name":"dirvine/saorsa-cli","owner":"dirvine","description":"Collection of powerful command-line tools for developers and system administrators","archived":false,"fork":false,"pushed_at":"2025-09-08T15:24:52.000Z","size":766,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-08T16:27:02.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirvine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-08-19T21:26:36.000Z","updated_at":"2025-09-08T15:24:41.000Z","dependencies_parsed_at":"2025-08-20T15:19:32.089Z","dependency_job_id":"0c79f218-f620-4c6b-b98c-d11f471d9889","html_url":"https://github.com/dirvine/saorsa-cli","commit_stats":null,"previous_names":["dirvine/saorsa-cli"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/dirvine/saorsa-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirvine%2Fsaorsa-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirvine%2Fsaorsa-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirvine%2Fsaorsa-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirvine%2Fsaorsa-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirvine","download_url":"https://codeload.github.com/dirvine/saorsa-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirvine%2Fsaorsa-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010341,"owners_count":26084738,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-12T05:21:13.353Z","updated_at":"2025-10-12T05:21:18.499Z","avatar_url":"https://github.com/dirvine.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Saorsa CLI Tools\n\nA collection of powerful command-line tools for developers and system administrators.\n\n## 🛠️ Available Tools\n\n### saorsa - Interactive CLI Menu\nAn interactive menu system for all Saorsa tools with automatic binary management.\n\n**Features:**\n- 📱 Interactive terminal UI menu\n- 🔄 Automatic binary downloads from GitHub releases\n- 🖥️ Platform detection (macOS, Linux, Windows)\n- 📦 Binary caching and version management\n- ⚡ Direct tool execution mode\n\n**Usage:**\n```bash\n# Interactive menu\nsaorsa\n\n# Run tool directly\nsaorsa --run sb\nsaorsa --run sdisk\n```\n\n### sb - Terminal Markdown Browser/Editor\nA terminal-based Markdown browser and editor with Git integration, syntax highlighting, and media support.\n\n**Features:**\n- 📝 Browse and edit Markdown files in the terminal\n- 🎨 Syntax highlighting for code blocks\n- 🖼️ Image and video preview support\n- 🔄 Git integration with diff view\n- ⌨️ Vim-like keybindings\n- 🌲 File tree navigation\n\n**Installation:**\n```bash\ncargo install sb\n```\n\n**Usage:**\n```bash\n# Browse current directory\nsb\n\n# Browse specific directory\nsb /path/to/notes\n\n# Open specific file\nsb README.md\n```\n\n### sdisk - Disk Usage Analyzer\nCross-platform CLI tool to analyze disk usage and suggest safe cleanups.\n\n**Features:**\n- 📊 Analyze disk space usage\n- 🧹 Identify safe files to clean\n- 🔍 Find large files and directories\n- 🗑️ Smart cleanup suggestions\n- 📈 Progress indicators\n- 🖥️ Cross-platform support\n\n**Installation:**\n```bash\ncargo install sdisk\n```\n\n**Usage:**\n```bash\n# Analyze current directory\nsdisk\n\n# Analyze specific directory\nsdisk /path/to/analyze\n\n# Interactive cleanup mode\nsdisk --interactive\n```\n\n## 🚀 Installation\n\n### Quick Install (Recommended)\nDownload the latest release from [GitHub Releases](https://github.com/dirvine/saorsa-cli/releases):\n\n1. Download the `cli-\u003cplatform\u003e` archive for your system\n2. Extract and run `saorsa` (or `saorsa.exe` on Windows)\n3. The menu will automatically download other tools as needed\n\n### Install All Tools from Source\n```bash\n# Clone the repository\ngit clone https://github.com/dirvine/saorsa-cli\ncd saorsa-cli\n\n# Build and install all tools\ncargo install --path sb\ncargo install --path sdisk\ncargo install --path cli\n```\n\n### Install from crates.io\nEach tool is also available individually on crates.io:\n\n```bash\ncargo install sb\ncargo install sdisk\n```\n\n## 🔧 Building from Source\n\n### Prerequisites\n- Rust 1.70 or later\n- Git\n\n### Build Commands\n```bash\n# Clone the repository\ngit clone https://github.com/dirvine/saorsa-cli\ncd saorsa-cli\n\n# Build all tools\ncargo build --release\n\n# Build specific tool\ncargo build --release -p sb\ncargo build --release -p sdisk\ncargo build --release -p cli\n\n# Run tests\ncargo test --all\n\n# Run with cargo\ncargo run --bin sb\ncargo run --bin sdisk\ncargo run --bin saorsa\n```\n\n## 📦 Project Structure\n\n```\nsaorsa-cli/\n├── Cargo.toml          # Workspace configuration\n├── README.md           # This file\n├── .github/\n│   └── workflows/\n│       ├── ci.yml      # Continuous Integration\n│       └── release.yml # Release automation\n├── cli/                # Interactive CLI Menu\n│   ├── Cargo.toml\n│   ├── src/\n│   └── README.md\n├── sb/                 # Terminal Markdown Browser/Editor\n│   ├── Cargo.toml\n│   ├── src/\n│   └── README.md\n├── sdisk/              # Disk Usage Analyzer\n│   ├── Cargo.toml\n│   ├── src/\n│   └── README.md\n└── scripts/\n    └── create-release.sh # Release helper script\n```\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is dual-licensed under:\n- MIT License\n- Apache License 2.0\n\nYou may choose either license for your use.\n\n## 👤 Author\n\n**David Irvine**\n- GitHub: [@dirvine](https://github.com/dirvine)\n- Email: david.irvine@saorsa.net\n\n## 🌟 Acknowledgments\n\n- Built with Rust 🦀\n- Uses the amazing Ratatui TUI framework\n- Powered by the Saorsa ecosystem\n\n## 📚 More Information\n\nFor detailed documentation on each tool, see their respective README files:\n- [CLI Menu README](./cli/README.md)\n- [sb README](./sb/README.md)\n- [sdisk README](./sdisk/README.md)\n\n## 🚢 Releases\n\n### Creating a Release\n\n1. **Update version numbers** in `Cargo.toml` files\n2. **Run the release script**:\n   ```bash\n   ./scripts/create-release.sh v0.1.0\n   ```\n3. **Push the tag** to trigger GitHub Actions:\n   ```bash\n   git push origin v0.1.0\n   ```\n\nGitHub Actions will automatically:\n- Build binaries for all platforms\n- Create individual and combined archives\n- Generate SHA256 checksums\n- Create a GitHub release with all assets\n\n### Supported Platforms\n\nReleases include pre-built binaries for:\n- **macOS**: Apple Silicon (M1/M2) and Intel\n- **Linux**: x86_64 and ARM64\n- **Windows**: x86_64\n\n## 🔮 Future Tools\n\nThis repository will continue to grow with more CLI tools. Stay tuned for:\n- Network utilities\n- Development helpers\n- System monitoring tools\n- And more!\n\n---\n\n*Part of the Saorsa ecosystem - Building tools for a better development experience*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirvine%2Fsaorsa-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirvine%2Fsaorsa-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirvine%2Fsaorsa-cli/lists"}