{"id":13407853,"url":"https://github.com/lcpluginmaker/external","last_synced_at":"2025-03-14T12:31:42.657Z","repository":{"id":51110284,"uuid":"449348674","full_name":"lcpluginmaker/external","owner":"lcpluginmaker","description":"Run Go plugins, external scripts and programs from LeoConsole","archived":false,"fork":false,"pushed_at":"2022-07-25T11:31:29.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-31T20:28:25.938Z","etag":null,"topics":["cs","dotnet","go","golang","leoconsole","leoconsole-plugin","plugin","scripts"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lcpluginmaker.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":"2022-01-18T15:51:53.000Z","updated_at":"2022-08-01T20:15:46.000Z","dependencies_parsed_at":"2022-09-13T14:00:44.684Z","dependency_job_id":null,"html_url":"https://github.com/lcpluginmaker/external","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":"lcpluginmaker/PluginTemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcpluginmaker%2Fexternal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcpluginmaker%2Fexternal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcpluginmaker%2Fexternal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcpluginmaker%2Fexternal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lcpluginmaker","download_url":"https://codeload.github.com/lcpluginmaker/external/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243578145,"owners_count":20313768,"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":["cs","dotnet","go","golang","leoconsole","leoconsole-plugin","plugin","scripts"],"created_at":"2024-07-30T20:00:49.021Z","updated_at":"2025-03-14T12:31:41.930Z","avatar_url":"https://github.com/lcpluginmaker.png","language":"C#","readme":"\n# LeoConsole-external-scripts\n\nThis plugin enables you to run own scripts or external programs from the\n[LeoConsole](https://github.com/BoettcherDasOriginal/LeoConsole).\n\n## Installation\n\nExternal is in the main repository. Just type\n\n```\napkg get external\n```\n\n## Usage\n\nThis plugin adds following commands to your console:\n\n### `\u003cplugin-name\u003e [args...]`\n\nRuns a Go plugin. Any executable in `$SAVEPATH/share/go-plugin` is considered a\nGo plugin. Use the [gilc](https://github.com/alexcoder04/gilc) library for\nwriting Go plugins.\n\n### `\u003cscript-name\u003e [args...]`\n\nRuns a script. It can be a Shell, Python, ... script or even a binary. Every\nexecutable in `$SAVEPATH/share/scripts` is considered a script.\n\nThe plugin passes the data it can get from LeoConsole in json format encoded\nin base64 as the first command-line argument, following the arguments the user\nentereddin LeoConsole. Example:\n\n```text\n$SAVEPATH/share/scripts/\u003cscript-name\u003e eyJVc2VybmFtZSI6InVzZXIwMSIsIlNhdmVQYXRoIjoiL2hvbWUvdXNlcjAxL0xlb0NvbnNvbGUvZGF0YSIsIkRvd25sb2FkUGF0aCI6Ii9ob21lL3VzZXIwMS9MZW9Db25zb2xlL2RhdGEvdG1wIiwiVmVyc2lvbiI6IjIuMC4wIn0K [args...]\n```\n\nThis base64 string decodes to\n\n```json\n{\"Username\":\"user01\",\"SavePath\":\"/home/user01/LeoConsole/data\",\"DownloadPath\":\"/home/user01/LeoConsole/data/tmp\",\"Version\":\"2.0.0\"}\n```\n\n### `exec \u003cprogram\u003e [args...]`\n\nExecutes an arbitrary binary (from your `$PATH`) or using an absolute path.\n\n","funding_links":[],"categories":["Plugins"],"sub_categories":["Utils"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcpluginmaker%2Fexternal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flcpluginmaker%2Fexternal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcpluginmaker%2Fexternal/lists"}