{"id":24874571,"url":"https://github.com/sanda0/xrun","last_synced_at":"2025-03-27T02:15:30.396Z","repository":{"id":273060619,"uuid":"918584275","full_name":"sanda0/xrun","owner":"sanda0","description":"Run multiple project commands effortlessly in a single terminal session. Simplify your workflow with runit!","archived":false,"fork":false,"pushed_at":"2025-01-23T09:36:32.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T07:28:50.702Z","etag":null,"topics":["automation","cli-tool","developer-tools","golang","open-source","project-management","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","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/sanda0.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}},"created_at":"2025-01-18T10:15:16.000Z","updated_at":"2025-01-23T09:36:35.000Z","dependencies_parsed_at":"2025-01-23T10:29:57.254Z","dependency_job_id":null,"html_url":"https://github.com/sanda0/xrun","commit_stats":null,"previous_names":["sanda0/runit","sanda0/xrun"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanda0%2Fxrun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanda0%2Fxrun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanda0%2Fxrun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanda0%2Fxrun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanda0","download_url":"https://codeload.github.com/sanda0/xrun/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245767358,"owners_count":20668826,"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":["automation","cli-tool","developer-tools","golang","open-source","project-management","utility"],"created_at":"2025-02-01T07:27:43.052Z","updated_at":"2025-03-27T02:15:30.378Z","avatar_url":"https://github.com/sanda0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ✨ xrun ✨\n\nA utility tool to streamline running multiple project commands effortlessly in a single terminal session! Perfect for managing development environments with ease.\n\n---\n\n\n## ⚡ Features\n\n- Define and manage multiple commands in a single JSON configuration file.\n- Execute commands simultaneously with ease.\n- Works with any project—Laravel, Vue, Node.js, etc.\n\n---\n\n## 🔧 Installation (Linux)\n\n### 🔄 Download\n\n```bash\ncurl -s https://api.github.com/repos/sanda0/xrun/releases/latest \\\n| grep \"browser_download_url\" \\\n| grep \"xrun-linux-amd64\" \\\n| cut -d '\"' -f 4 \\\n| xargs curl -L -o xrun\n```\n\n### 🔧 Install\n\n```bash\nsudo chmod +x xrun \u0026\u0026 sudo mv xrun /usr/bin/xrun\n```\n\n---\n\n## 🚀 How to Use\n\n### 🔍 Step 1: Go to Your Project Folder\n\n```bash\ncd /\u003cpath_to_your_project\u003e/project\n```\n\n### 🔄 Step 2: Initialize Configuration\n\nRun the init command to generate the configuration file:\n\n```bash\nxrun --init\n```\n\nYou will see a file named `config.xrun.json` in your project directory. Open it to edit the configuration.\n\n### 🗄 Step 3: Edit Configuration File\n\nHere’s an example of how your `config.xrun.json` might look:\n\n```json\n{\n  \"Commands\": [\n    {\n      \"Label\": \"Laravel\",\n      \"Color\": \"red\",\n      \"CmdStr\": \"php artisan serve\",\n      \"ExecPath\": \".\"\n    },\n    {\n      \"Label\": \"Vue\",\n      \"Color\": \"green\",\n      \"CmdStr\": \"npm run dev\",\n      \"ExecPath\": \".\"\n    },\n    {\n      \"Label\": \"Open VsCode\",\n      \"Color\": \"blue\",\n      \"CmdStr\": \"code .\",\n      \"ExecPath\": \".\"\n    }\n  ]\n}\n```\n\n### 🔀 Step 4: Run Commands\n\nWhile in your project directory, simply run:\n\n```bash\nxrun\n```\n\n### 👇 Output Example\n\n```bash\n▄   ▄  ▄▄▄ █  ▐▌▄▄▄▄  \n ▀▄▀  █    ▀▄▄▞▘█   █ \n▄▀ ▀▄ █         █   █ \n                        \n\nConfigured Commands:\nLaravel -\u003e   php artisan serve\nVue -\u003e   npm run dev\nOpen VsCode -\u003e   code .\n========================\nRunning command: Open VsCode\nRunning command: Vue\nRunning command: Laravel\n\n```\n\n---\n\n## 🎉 Enjoy Productivity Boost!\n\nWith `xrun`, managing your development environment has never been easier! Happy coding! 🚀\n\n---\n\n## 🛠 Feedback and Contributions\n\nFeel free to open issues or submit pull requests. Let’s make `xrun` better together! ✨\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanda0%2Fxrun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanda0%2Fxrun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanda0%2Fxrun/lists"}