{"id":32372101,"url":"https://github.com/devlooped/runcs","last_synced_at":"2025-10-24T21:50:13.370Z","repository":{"id":310891447,"uuid":"1038251739","full_name":"devlooped/runcs","owner":"devlooped","description":"Run C# programs from gists or remote repositories","archived":false,"fork":false,"pushed_at":"2025-10-22T00:11:29.000Z","size":126,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-22T02:31:40.157Z","etag":null,"topics":["csharp","dnx","dotnet","script"],"latest_commit_sha":null,"homepage":"","language":"C#","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/devlooped.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license.txt","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":null,"dco":null,"cla":null},"funding":{"github":"devlooped"}},"created_at":"2025-08-14T21:45:18.000Z","updated_at":"2025-10-21T23:10:04.000Z","dependencies_parsed_at":"2025-08-20T21:58:15.752Z","dependency_job_id":"073352df-975d-43d7-8524-f9d0c7b9a558","html_url":"https://github.com/devlooped/runcs","commit_stats":null,"previous_names":["devlooped/runcs"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/devlooped/runcs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Fruncs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Fruncs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Fruncs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Fruncs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlooped","download_url":"https://codeload.github.com/devlooped/runcs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Fruncs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280872028,"owners_count":26405606,"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-24T02:00:06.418Z","response_time":73,"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":["csharp","dnx","dotnet","script"],"created_at":"2025-10-24T21:50:09.820Z","updated_at":"2025-10-24T21:50:13.356Z","avatar_url":"https://github.com/devlooped.png","language":"C#","funding_links":["https://github.com/sponsors/devlooped","https://github.com/sponsors"],"categories":[],"sub_categories":[],"readme":"![Icon](https://raw.githubusercontent.com/devlooped/runcs/main/assets/img/icon-32.png) dnx runcs\n============\n\n[![Version](https://img.shields.io/nuget/vpre/runcs.svg?color=royalblue)](https://www.nuget.org/packages/runcs)\n[![Downloads](https://img.shields.io/nuget/dt/runcs.svg?color=green)](https://www.nuget.org/packages/runcs)\n[![License](https://img.shields.io/github/license/devlooped/runcs.svg?color=blue)](https://github.com/devlooped/runcs/blob/main/license.txt)\n[![Build](https://github.com/devlooped/runcs/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/devlooped/runcs/actions/workflows/build.yml)\n\n## dnx runcs\n\u003c!-- #runcs --\u003e\nRun C# code programs from git repos on GitHub, GitLab and Azure DevOps.\n\n```\nUsage:\n    [dnx] runcs [--aot] [--alias ALIAS] \u003crepoRef\u003e [\u003cappArgs\u003e...]\n\nArguments:\n    \u003cREPO_REF\u003e  Reference to remote file to run, with format [host/]owner/repo[@ref][:path]\n                host optional host name ([gist.]github.com|gitlab.com|dev.azure.com, default: github.com)\n                @ref optional branch, tag, or commit (default: default branch)\n                :path optional path to file in repo (default: program.cs at repo root)\n\n                Examples:\n                * kzu/sandbox@v1.0.0:run.cs           (implied host github.com, explicit tag and file path)\n                * gitlab.com/kzu/sandbox@main:run.cs  (all explicit parts)\n                * kzu/sandbox                         (implied host github.com, ref and path defaults)\n\n                Can be an alias previously set with --alias.\n\n    \u003cappArgs\u003e   Arguments passed to the C# program that is being run.\n\nOptions:\n    --aot         (optional) Enable dotnet AOT defaults for run file.cs. Defaults to false.\n    --alias ALIAS (optional) Assign an alias on first usage which can be used instead of the full ref.\n```\n\nExample:\n\n```\ndnx runcs kzu/runcs@v1:run.cs dotnet rocks\n```\n\nView [source](https://github.com/kzu/runcs/blob/v1/run.cs):\n\n```csharp\n#:package Spectre.Console@*\n\nusing Spectre.Console;\n\nAnsiConsole.MarkupLine($\"Hello world from [green]dnx[/] [yellow]gist[/] :rocket: [bold italic]{string.Join(' ', args)}[/]\");\n```\n\n\u003e [!TIP]\n\u003e The repo does not need to be public. In that case, the same authentication \n\u003e used by your local `git` will be used to access the file, via the Git Credential Manager.\n\nWhen running different files from the same repo+ref, the download will be performed only once.\nThe last download etag is used to avoid downloading on each run.\n\n\u003c!-- #runcs --\u003e\n\n## dnx gist\n\n[![Version](https://img.shields.io/nuget/vpre/gist.svg?color=royalblue)](https://www.nuget.org/packages/gist)\n[![Downloads](https://img.shields.io/nuget/dt/gist.svg?color=green)](https://www.nuget.org/packages/gist)\n\n\u003c!-- #gist --\u003e\nRun C# code programs from GitHub gists.\n\n```\nUsage: [dnx] gist [--aot] [--alias ALIAS] \u003cgistRef\u003e [\u003cappArgs\u003e...]\n\nArguments:\n    \u003cGIST_REF\u003e  Reference to gist file to run, with format owner/gist[@commit][:path]\n                @commit optional gist commit (default: latest)\n                :path optional path to file in gist (default: program.cs or first .cs file)\n\n                Examples:\n                * kzu/0ac826dc7de666546aaedd38e5965381                 (tip commit and program.cs or first .cs file)\n                * kzu/0ac826dc7de666546aaedd38e5965381@d8079cf:run.cs  (explicit commit and file path)\n\n                Can be an alias previously set with --alias.\n\n    \u003cappArgs\u003e   Arguments passed to the C# program that is being run.\n\nOptions:\n    --aot         (optional) Enable dotnet AOT defaults for run file.cs. Defaults to false.\n    --alias ALIAS (optional) Assign an alias on first usage which can be used instead of the full ref.\n```\n\n\u003e [!TIP]\n\u003e The gist does not need to be public. In that case, the same authentication \n\u003e used by your local `git` will be used to access the gist, via the Git Credential Manager.\n\nExample:\n\n```\ndnx gist kzu/52b115ce24c7978ddc33245d4ff840f5 dotnet rocks\n```\n\nView [source gist](https://gist.github.com/kzu/52b115ce24c7978ddc33245d4ff840f5):\n\n```csharp\n#:package Spectre.Console@*\n\nusing Spectre.Console;\n\nAnsiConsole.MarkupLine($\"Hello world from [green]dnx[/] [yellow]gist[/] :rocket: [bold italic]{string.Join(' ', args)}[/]\");\n```\n\nWhen running different files from the same repo+ref, the download will be performed only once.\nThe last download etag is used to avoid downloading on each run.\n\n\u003c!-- #gist --\u003e\n\n# Dogfooding\n\n[![CI Version](https://img.shields.io/endpoint?url=https://shields.kzu.app/vpre/gist/main\u0026label=nuget.ci\u0026color=brightgreen)](https://pkg.kzu.app/index.json)\n\nWe also produce CI packages from branches and pull requests so you can dogfood builds as quickly as they are produced. \n\nThe CI feed is `https://pkg.kzu.app/index.json`. \n\nThe versioning scheme for packages is:\n\n- PR builds: *42.42.[run]-pr*`[NUMBER]`\n- Branch builds: *42.42.[run]-*`[BRANCH]`\n\n\u003c!-- include https://github.com/devlooped/sponsors/raw/main/footer.md --\u003e\n# Sponsors \n\n\u003c!-- sponsors.md --\u003e\n[![Clarius Org](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/clarius.png \"Clarius Org\")](https://github.com/clarius)\n[![MFB Technologies, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MFB-Technologies-Inc.png \"MFB Technologies, Inc.\")](https://github.com/MFB-Technologies-Inc)\n[![DRIVE.NET, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png \"DRIVE.NET, Inc.\")](https://github.com/drivenet)\n[![Keith Pickford](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png \"Keith Pickford\")](https://github.com/Keflon)\n[![Thomas Bolon](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png \"Thomas Bolon\")](https://github.com/tbolon)\n[![Kori Francis](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png \"Kori Francis\")](https://github.com/kfrancis)\n[![Uno Platform](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png \"Uno Platform\")](https://github.com/unoplatform)\n[![Reuben Swartz](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png \"Reuben Swartz\")](https://github.com/rbnswartz)\n[![Jacob Foshee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png \"Jacob Foshee\")](https://github.com/jfoshee)\n[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png \"\")](https://github.com/Mrxx99)\n[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png \"Eric Johnson\")](https://github.com/eajhnsn1)\n[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png \"David JENNI\")](https://github.com/davidjenni)\n[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png \"Jonathan \")](https://github.com/Jonathan-Hickey)\n[![Charley Wu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/akunzai.png \"Charley Wu\")](https://github.com/akunzai)\n[![Ken Bonny](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KenBonny.png \"Ken Bonny\")](https://github.com/KenBonny)\n[![Simon Cropp](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SimonCropp.png \"Simon Cropp\")](https://github.com/SimonCropp)\n[![agileworks-eu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agileworks-eu.png \"agileworks-eu\")](https://github.com/agileworks-eu)\n[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png \"Zheyu Shen\")](https://github.com/arsdragonfly)\n[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png \"Vezel\")](https://github.com/vezel-dev)\n[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png \"ChilliCream\")](https://github.com/ChilliCream)\n[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png \"4OTC\")](https://github.com/4OTC)\n[![Vincent Limo](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/v-limo.png \"Vincent Limo\")](https://github.com/v-limo)\n[![Jordan S. Jones](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jordansjones.png \"Jordan S. Jones\")](https://github.com/jordansjones)\n[![domischell](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/DominicSchell.png \"domischell\")](https://github.com/DominicSchell)\n[![Justin Wendlandt](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jwendl.png \"Justin Wendlandt\")](https://github.com/jwendl)\n[![Adrian Alonso](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/adalon.png \"Adrian Alonso\")](https://github.com/adalon)\n[![Michael Hagedorn](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Eule02.png \"Michael Hagedorn\")](https://github.com/Eule02)\n[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/henkmartijn.png \"\")](https://github.com/henkmartijn)\n[![torutek](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek.png \"torutek\")](https://github.com/torutek)\n[![mccaffers](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mccaffers.png \"mccaffers\")](https://github.com/mccaffers)\n\n\n\u003c!-- sponsors.md --\u003e\n\n[![Sponsor this project](https://raw.githubusercontent.com/devlooped/sponsors/main/sponsor.png \"Sponsor this project\")](https://github.com/sponsors/devlooped)\n\u0026nbsp;\n\n[Learn more about GitHub Sponsors](https://github.com/sponsors)\n\n\u003c!-- https://github.com/devlooped/sponsors/raw/main/footer.md --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlooped%2Fruncs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlooped%2Fruncs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlooped%2Fruncs/lists"}