{"id":17877111,"url":"https://github.com/herrjulz/resc","last_synced_at":"2026-05-01T13:32:49.503Z","repository":{"id":64303633,"uuid":"139119511","full_name":"herrjulz/resc","owner":"herrjulz","description":"ReSc runs remote bash scripts located on Github on your local machine","archived":false,"fork":false,"pushed_at":"2018-09-20T09:30:40.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-12T00:25:50.816Z","etag":null,"topics":["executor","github","go","golang","remote","resc","runner","script"],"latest_commit_sha":null,"homepage":"","language":"Go","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/herrjulz.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}},"created_at":"2018-06-29T07:58:05.000Z","updated_at":"2022-12-11T18:14:29.000Z","dependencies_parsed_at":"2023-01-15T10:00:57.797Z","dependency_job_id":null,"html_url":"https://github.com/herrjulz/resc","commit_stats":null,"previous_names":["julzdiverse/resc"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/herrjulz/resc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fresc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fresc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fresc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fresc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herrjulz","download_url":"https://codeload.github.com/herrjulz/resc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fresc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["executor","github","go","golang","remote","resc","runner","script"],"created_at":"2024-10-28T11:45:21.619Z","updated_at":"2026-05-01T13:32:49.477Z","avatar_url":"https://github.com/herrjulz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReSc (Remote Script)\n\n`resc` is a CLI tool that executes remote _bash_ scripts located on Github on your local machine. This allows you to:\n\n- **Share your scripts easily**\n- **Run your scripts everywhere** (as long as it is a mac or linux machine 😉)\n\n## Install\n\n### OS X\n\n```\n$ wget -O /usr/local/bin/resc https://github.com/JulzDiverse/resc/releases/download/v0.4.0/resc-darwin-amd64 \u0026\u0026 chmod +x /usr/local/bin/resc\n```\n\nOR\n\n**Homebrew**\n\n```\n$ brew tap julzdiverse/tools\n$ brew install resc\n```\n\n### Linux\n\n```\n$ wget -O /usr/bin/resc https://github.com/JulzDiverse/resc/releases/download/v0.4.0/resc-linux-amd64 \u0026\u0026 chmod +x /usr/bin/resc\n```\n\n## Hello, World! \n\nYou can use `resc` to run `resc` scripts located in any Github repository. For example, let's run a `Hello, World!` script:\n\n```bash\n$ resc run hello-world --repo JulzDiverse/remote-scripts\n```\n\nThis runs the `hello-world` script located in the `JulzDiverse/remote-scripts` repository.\n\n## `resc` scripts\n\n`resc` scripts require one or more top level directories inside a GitHub repository that contain a `run.sh` script, a `.resc`, and a `README.md` file. In case of the `hello-world` script the directory looks like this:\n\n```\n.remote-scripts\n└── hello-world \n   ├── .resc \n   ├── run.sh \n   └── README.md\n``` \n\n- The `directory name` (here `hello-world`) indicates the script name\n- The `.resc` is an empty file that indicates that the directoy is a `resc` script directory\n- The `run.sh` is the bash script that is run by `resc`\n- The `README.md` is a Markdown file that provides information for a script (eg description, usage). The `README.md` is processed by the `resc` CLI and should only contain the following markdown syntax:\n  - H1 (#)\n  - H2 (##)\n  - Bold (\\*\\*text\\*\\*)\n  - Italic (\\_text\\_)\n\n## Usage\n\n### 🏃  Run `resc` scripts (`run`) \nRunning a `resc` script is nothing more than:\n\n```\n$ resc run \u003cscript-name\u003e --repo \u003cgithub-user|github-org\u003e/\u003cgithub-repo\u003e\n```\n\nor if you have set a default repository, it's even simpler:\n\n```\n$ resc run \u003cscript-name\u003e\n```\n\nYou can provide parameters to a script using `--args|-a` option. Try it:\n\n```\n$ resc run hello-world -r JulzDiverse/remote-scripts -a your-name\n```\n\nYou can also run a specific script located anywhere in a repository by providing the path to the script:\n\n```bash\n$ resc run -s \u003cpath/to/script.sh\u003e -r JulzDiverse/remote-scripts\n```\n\n### 🧐 Set default `resc` script repository (`set`) \n\nYou can set a default `resc` script repository, s.t you are not required to specify the repository of a script everytime you execute the `resc run`.\n\n```\n$ resc set \u003cgithub-user|github-org\u003e/\u003cgithub-repo\u003e\n```\n\n### ✅  List all available scripts in a resc repository (`list`)\n\nIf you want to know which `resc` scripts a repository provides, you can list all of them using `list`. \n\nIf you have set a default repository you can run just:\n\n```bash\n$ resc list\n```\n\nIf you want to list scripts of a specific repository, run:\n\n```bash\n$ resc list \u003cgithub-user\u003e/\u003cgithub-repo\u003e\n```\n\n### 📖  Get some script info (`man`) \n\nIf you want to know what a script does before you run it, you can check the provided README by calling `man`:\n\n```bash\n$ resc man \u003cscript-name\u003e \n```\n\n### 🖨 Print a script (`print`) \n\nIf you want to see what a script exactly does or you want to save it to your local machine, you can use the `print` command:\n\n```bash\n$ resc print \u003cscript-name\u003e\n```\n\nto save a script, pipe it to a file:\n\n```bash\n$ resc print \u003cscript-name\u003e \u003e script.sh\n```\n\n### 🌿  Specifing a Branch\n\nEach `resc` command has the `--branch|-b` option, where you can specify a specific branch of a repository you want to use to execute a script. For example:\n\n```\n$ resc run hello-world -r JulzDiverse/remote-scripts -b develop\n```\n\nThe default branch used is always `master`. You can, however, set a default branch if required:\n\n```bash\n# if you have set your defaults already: \n$ resc set -b develop\n\n# if you haven't set your defaults:\n$ resc set \u003cowner\u003e/\u003crepo\u003e -b develop\n```\n\n\n## 💻  Development \n\n```\n$ go get github.com/JulzDiverse/resc (or git clone repository)\n$ dep ensure\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherrjulz%2Fresc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherrjulz%2Fresc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherrjulz%2Fresc/lists"}