{"id":24380769,"url":"https://github.com/lzinga/scriptjunkie","last_synced_at":"2026-04-24T17:03:58.783Z","repository":{"id":96438361,"uuid":"48956441","full_name":"lzinga/ScriptJunkie","owner":"lzinga","description":"It allows you to run many scripts/executables through one program and check expected exit code results.","archived":false,"fork":false,"pushed_at":"2016-01-16T03:01:49.000Z","size":61,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T15:33:08.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lzinga.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":"2016-01-03T18:35:18.000Z","updated_at":"2016-01-12T03:39:59.000Z","dependencies_parsed_at":"2023-03-18T05:30:43.187Z","dependency_job_id":null,"html_url":"https://github.com/lzinga/ScriptJunkie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lzinga/ScriptJunkie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzinga%2FScriptJunkie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzinga%2FScriptJunkie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzinga%2FScriptJunkie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzinga%2FScriptJunkie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lzinga","download_url":"https://codeload.github.com/lzinga/ScriptJunkie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzinga%2FScriptJunkie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32232635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-01-19T08:29:02.451Z","updated_at":"2026-04-24T17:03:58.768Z","avatar_url":"https://github.com/lzinga.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ScriptJunkie [![Build status](https://ci.appveyor.com/api/projects/status/ls9qpbdnn9n4svg4/branch/master?svg=true)](https://ci.appveyor.com/project/lzinga/scriptjunkie/branch/master)\n\n**What is ScriptJunkie?**\nIt allows you to run many scripts/executables through one program and check expected exit code results.\n\n# Usage\n```csharp\n// Will run ScriptJunkie against the scripts.xml file.\nScriptJunkie.exe /XmlPath=\"C:/Temp/scripts.xml\"\n\n// Will pause ScriptJunkie at the start allowing attachment of debugger.\nScriptJunkie.exe /Debug\n\n// Will genereate a template xml that ScriptJunkie can accept.\nScriptJunkie.exe /XmlTemplatePath=\"C:/Temp/Template.xml\"\n```\n\n# Template Xml\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cSetup xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\u003e\n \u003cDownloads TimeOut=\"60\" RefreshRate=\"10\"\u003e\n    \u003cDownload Name=\"Nothing Powershell Script\" Description=\"This script does nothing\"\u003e\n      \u003cDownloadUrl\u003ewww.blank.com/nothing.ps1\u003c/DownloadUrl\u003e\n      \u003cDestinationPath\u003eC:/Temp/Downloads/nothing.ps1\u003c/DestinationPath\u003e\n    \u003c/Download\u003e\n    \u003cDownload Name=\"Zip Archive\" Description=\"This script does nothing\"\u003e\n      \u003cDownloadUrl\u003ewww.blank.com/nothing.zip\u003c/DownloadUrl\u003e\n      \u003cDestinationPath\u003eC:/Temp/Downloads/nothing.zip\u003c/DestinationPath\u003e\n      \u003cExtractionPath\u003eC:/Temp/Downloads/ExtractedFiles\u003c/ExtractionPath\u003e\n    \u003c/Download\u003e\n  \u003c/Downloads\u003e\n  \u003cScripts TimeOut=\"60\" RefreshRate=\"10\"\u003e\n    \u003cScript Name=\"Script 1\" Description=\"Does nothing\"\u003e\n      \u003cExecutable Path=\"C:/Temp/nothing.ps1\" /\u003e\n      \u003cArguments\u003e\n        \u003cArgument Key=\"-i\" Value=\"C:/Temp/something.bin\" /\u003e\n        \u003cArgument Key=\"-x\" Value=\"\" /\u003e\n      \u003c/Arguments\u003e\n      \u003cExitCodes\u003e\n        \u003cExitCode Value=\"0\" Message=\"Files deleted\" IsSuccess=\"true\" /\u003e\n        \u003cExitCode Value=\"1\" Message=\"Files failed to delete\" IsSuccess=\"false\" /\u003e\n        \u003cExitCode Value=\"2\" Message=\"Couldn't find any files\" IsSuccess=\"false\" /\u003e\n      \u003c/ExitCodes\u003e\n    \u003c/Script\u003e\n  \u003c/Scripts\u003e\n\u003c/Setup\u003e\n```\n\n##### Exit Code Info\n```xml\n\u003cExitCodes\u003e\n  \u003cExitCode Value=\"0\" Message=\"Files deleted\" IsSuccess=\"true\" /\u003e\n  \u003cExitCode Value=\"1\" Message=\"Files failed to delete\" IsSuccess=\"false\" /\u003e\n  \u003cExitCode Value=\"2\" Message=\"Couldn't find any files\" IsSuccess=\"false\" /\u003e\n\u003c/ExitCodes\u003e\n```\n\nThe above xml allows the program to determine what kind of exit codes are expected. It also determines which ones count as a pass of the program being ran. So in the above program doesn't get an exit code where the `\u003cExitCode ... IsSuccess=\"true\" / \u003e it will cause ScriptJunkie to exit with exit code 1. If all programs exit with a successfull exit code ScriptJunkie will exit with a 0.\n\n1. The \"Value\" attribute is the exit code.\n2. The \"Message\" is displayed in the execution process of ScriptJunkie.\n\n# Tested File Types\n##### Downloads\nAll files should download correctly as long as the url is a direct link to the file.\n\n##### Execution File Type\n1. ***Powershell (.ps1)*** - Unit Test Verification\n2. ***Executable (.exe)*** - If requires admin privileges run ScriptJunkie as administrator.\n\n##### Not Implemented\n1. ***Archive (.zip/.rar)***\n\n\n# Known Issues\n1. As this is still being worked on I haven't tested it with everything so some things might not work properly. If you find a problem please open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzinga%2Fscriptjunkie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flzinga%2Fscriptjunkie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzinga%2Fscriptjunkie/lists"}