{"id":28627400,"url":"https://github.com/steve02081504/ps12exe","last_synced_at":"2026-03-10T05:11:20.706Z","repository":{"id":211715815,"uuid":"729678966","full_name":"steve02081504/ps12exe","owner":"steve02081504","description":"better powershell code 2 exe repo wis: multilang sport, darkmode-able GUI(+BGM), RClick menu ext, webserver 4 online comp. All in only 1mb, superez4use, pure script (excl. deps/imgs/oggs). Compatible with PS2EXE useage.","archived":false,"fork":false,"pushed_at":"2025-09-14T02:55:49.000Z","size":2093,"stargazers_count":117,"open_issues_count":7,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-22T18:03:01.162Z","etag":null,"topics":["compiler","csharp","gui","gui-application","online-compiler","powershell","powershell-module","ps12exe","ps12exe-gui","ps2exe","ps2exe-gui"],"latest_commit_sha":null,"homepage":"https://steve02081504.github.io/ps12exe/","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"MScholtes/PS2EXE","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steve02081504.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-12-10T01:49:23.000Z","updated_at":"2025-09-14T02:55:52.000Z","dependencies_parsed_at":"2024-02-08T18:59:14.045Z","dependency_job_id":"cad90a01-2c76-4ffa-b4a1-4773d9a0bc2c","html_url":"https://github.com/steve02081504/ps12exe","commit_stats":null,"previous_names":["steve02081504/ps2exe","steve02081504/ps12exe"],"tags_count":128,"template":false,"template_full_name":null,"purl":"pkg:github/steve02081504/ps12exe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steve02081504%2Fps12exe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steve02081504%2Fps12exe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steve02081504%2Fps12exe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steve02081504%2Fps12exe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steve02081504","download_url":"https://codeload.github.com/steve02081504/ps12exe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steve02081504%2Fps12exe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30325636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"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":["compiler","csharp","gui","gui-application","online-compiler","powershell","powershell-module","ps12exe","ps12exe-gui","ps2exe","ps2exe-gui"],"created_at":"2025-06-12T09:33:52.841Z","updated_at":"2026-03-10T05:11:20.641Z","avatar_url":"https://github.com/steve02081504.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ps12exe\n\n\u003e [!CAUTION]\n\u003e Do not store passwords in source code!  \n\u003e See [localed readme](https://steve02081504.github.io/ps12exe/readme#password-security-stuff) for more details.  \n\n## Introduction\n\nps12exe is a PowerShell module that allows you to create an executable file from a .ps1 script.  \n\n[![CI](https://github.com/steve02081504/ps12exe/actions/workflows/CI.yml/badge.svg)](https://github.com/steve02081504/ps12exe/actions/workflows/CI.yml)\n[![PSGallery download num](https://img.shields.io/powershellgallery/dt/ps12exe)](https://www.powershellgallery.com/packages/ps12exe)\n[![GitHub issues by-label bug](https://img.shields.io/github/issues/steve02081504/ps12exe/bug?label=bugs)](https://github.com/steve02081504/ps12exe/issues?q=is%3Aissue+is%3Aopen+label%3Abug)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/ecfd57f5f2eb4ac5bbcbcd525b454f99)](https://app.codacy.com/gh/steve02081504/ps12exe/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n[![CodeFactor](https://www.codefactor.io/repository/github/steve02081504/ps12exe/badge/master)](https://www.codefactor.io/repository/github/steve02081504/ps12exe/overview/master)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n\n![repo img](https://repository-images.githubusercontent.com/729678966/3ed3f02f-c7c9-4a18-b1f5-255e667643b6)\n\n[![中文](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/48/China.png)](./docs/README_CN.md)\n[![English (United Kingdom)](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/48/United-Kingdom.png)](./docs/README_EN_UK.md)\n[![English (United States)](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/48/United-States.png)](./docs/README_EN_US.md)\n[![日本語](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/48/Japan.png)](./docs/README_JP.md)\n[![Français](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/48/France.png)](./docs/README_FR.md)\n[![Español](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/48/Spain.png)](./docs/README_ES.md)\n[![हिन्दी](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/48/India.png)](./docs/README_HI.md)\n\n## Install\n\n```powershell\nInstall-Module ps12exe #Install ps12exe module\nSet-ps12exeContextMenu #Set right-click menu\n```\n\n(you can also clone this repository and run `./ps12exe.ps1` directly)\n\n**Hard to upgrade from PS2EXE to ps12exe? No problem!**  \nPS2EXE2ps12exe can hooks PS2EXE calls into ps12exe, All you need is just uninstall PS2EXE and install this, then use PS2EXE as normal.\n\n```powershell\nUninstall-Module PS2EXE\nInstall-Module PS2EXE2ps12exe\n```\n\n## Usage\n\n### Right-click menu\n\nOnce you have set `Set-ps12exeContextMenu`, you can quickly compile any ps1 file into an exe or open ps12exeGUI on this file by right-clicking on it.  \n![image](https://github.com/steve02081504/ps12exe/assets/31927825/24e7caf7-2bd8-46aa-8e1d-ee6da44c2dcc)\n\n### GUI mode\n\n```powershell\nps12exeGUI\n```\n\n### Console mode\n\n```powershell\nps12exe .\\source.ps1 .\\target.exe\n```\n\ncompiles `source.ps1` into the executable target.exe (if `.\\target.exe` is omitted, output is written to `.\\source.exe`).\n\n```powershell\n'\"Hello World!\"' | ps12exe\n```\n\ncompiles `\"Hello World!\"` into the executable `.\\a.exe`.\n\n```powershell\nps12exe https://raw.githubusercontent.com/steve02081504/ps12exe/master/src/GUI/Main.ps1\n```\n\ncompiles `Main.ps1` from the internet into the executable `.\\Main.exe`.\n\n### Self-Host WebServer\n\n```powershell\nStart-ps12exeWebServer\n```\n\nStarts a web server that can be used to compile powerShell scripts online.\n\n## Comparative Advantages 🏆\n\n### Quick Comparison 🏁\n\n| Comparison Content | ps12exe | [`MScholtes/PS2EXE@678a892`](https://github.com/MScholtes/PS2EXE/tree/678a89270f4ef4b636b69db46b31e1b4e0a9e1c5) |\n| --- | --- | --- |\n| Pure script repository 📦 | ✔️ All text files except images \u0026 dependencies | ❌ Contains exe files with open source license |\n| Command to generate hello world 🌍 | 😎`'\"Hello World!\"' \\| ps12exe` | 🤔`echo \"Hello World!\" *\u003e a.ps1; PS2EXE a.ps1; rm a.ps1` |\n| Size of the generated hello world executable file 💾 | 🥰1024 bytes | 😨25088 bytes |\n| GUI multilingual support 🌐 | ✔️ | ❌ |\n| Syntax check during compilation ✔️ | ✔️ | ❌ |\n| Preprocessing feature 🔄 | ✔️ | ❌ |\n| `-extract` and other special parameter parsing 🧹 | 🗑️ Removed | 🥲 Requires source code modification |\n| PR welcome level 🤝 | 🥰 Welcome! | 🤷 14 PRs, 13 of which were closed |\n\n### Detailed Comparison 🔍\n\nCompared to [`MScholtes/PS2EXE@678a892`](https://github.com/MScholtes/PS2EXE/tree/678a89270f4ef4b636b69db46b31e1b4e0a9e1c5), this project brings the following improvements:\n\n| Improvement Content | Description |\n| --- | --- |\n| ✔️ Syntax check during compilation | Syntax check during compilation to improve code quality |\n| 🔄 Powerful preprocessing feature | Preprocess the script before compilation, no need to copy and paste all content into the script |\n| 🛠️ `-CompilerOptions` parameter | New parameter, allowing you to further customize the generated executable file |\n| 📦️ `-Minifyer` parameter | Preprocess the script before compilation to generate a smaller executable file |\n| 🌐 Support for compiling scripts and included files from URL | Support for downloading icons from URL |\n| 🖥️ Optimization of `-noConsole` parameter | Optimized option handling and window title display, you can now set the title of the custom pop-up window |\n| 🧹 Removed exe files | Removed exe files from the code repository |\n| 🌍 Multilingual support, pure script GUI | Better multilingual support, pure script GUI, support for dark mode |\n| 📖 Separated cs files from ps1 files | Easier to read and maintain |\n| 🚀 More improvements | And more... |\n\nsee [localed readme](https://steve02081504.github.io/ps12exe/readme) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteve02081504%2Fps12exe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteve02081504%2Fps12exe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteve02081504%2Fps12exe/lists"}