{"id":22165556,"url":"https://github.com/supermarsx/nodejs-sea-hide-passthrough","last_synced_at":"2026-01-07T21:18:45.290Z","repository":{"id":187480759,"uuid":"676992294","full_name":"supermarsx/nodejs-sea-hide-passthrough","owner":"supermarsx","description":"NodeJS SEA passthrough and hide window","archived":false,"fork":false,"pushed_at":"2023-08-10T13:44:48.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T12:00:51.738Z","etag":null,"topics":["hide","nodejs","sea","window"],"latest_commit_sha":null,"homepage":"","language":"AutoIt","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/supermarsx.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}},"created_at":"2023-08-10T13:39:04.000Z","updated_at":"2023-08-10T13:40:35.000Z","dependencies_parsed_at":"2023-08-10T18:46:01.235Z","dependency_job_id":"2b401da2-17d1-42a4-b153-c25d109b90ba","html_url":"https://github.com/supermarsx/nodejs-sea-hide-passthrough","commit_stats":null,"previous_names":["supermarsx/nodejs-sea-hide-passthrough"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/supermarsx/nodejs-sea-hide-passthrough","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fnodejs-sea-hide-passthrough","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fnodejs-sea-hide-passthrough/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fnodejs-sea-hide-passthrough/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fnodejs-sea-hide-passthrough/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supermarsx","download_url":"https://codeload.github.com/supermarsx/nodejs-sea-hide-passthrough/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermarsx%2Fnodejs-sea-hide-passthrough/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274487231,"owners_count":25294480,"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-09-10T02:00:12.551Z","response_time":83,"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":["hide","nodejs","sea","window"],"created_at":"2024-12-02T05:15:14.227Z","updated_at":"2026-01-07T21:18:45.284Z","avatar_url":"https://github.com/supermarsx.png","language":"AutoIt","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodejs-sea-hide-passthrough\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/supermarsx/nodejs-sea-hide-passthrough?style=flat-square)\n![GitHub downloads](https://img.shields.io/github/downloads/supermarsx/nodejs-sea-hide-passthrough/total?style=flat-square)\n![GitHub stars](https://img.shields.io/github/stars/supermarsx/nodejs-sea-hide-passthrough?style=flat-square)\n![GitHub forks](https://img.shields.io/github/forks/supermarsx/nodejs-sea-hide-passthrough?style=flat-square)\n![GitHub watchers](https://img.shields.io/github/watchers/supermarsx/nodejs-sea-hide-passthrough?style=flat-square)\n![GitHub issues](https://img.shields.io/github/issues/supermarsx/nodejs-sea-hide-passthrough?style=flat-square)\n[![CI](https://github.com/supermarsx/nodejs-sea-hide-passthrough/actions/workflows/ci.yml/badge.svg?style=flat-square)](https://github.com/supermarsx/nodejs-sea-hide-passthrough/actions/workflows/ci.yml)\n\nThis a simple binary passthrough that hides the console window when a SEA (Single Executable Application) is opened. Useful when you want a simple nodejs SEA to run on the background and don't show any console windows. It also passes along every console argument through.\n\n## Usage\n1. Download the latest release (`nodejs-sea-hide-passthrough.exe` and `config.ini`).\n2. Place both files in the same directory as your Node.js SEA (or any other executable you want to hide).\n3. Edit `config.ini` and set `Target=YOUR_APP_NAME.exe`.\n4. Run `nodejs-sea-hide-passthrough.exe`. It will launch your app in a hidden window and pass all arguments to it.\n\n## Configuration (config.ini)\nThe behavior is controlled by `config.ini`:\n```ini\n[Settings]\n; The name of the Single Executable Application (SEA) or binary to launch.\nTarget=helo.exe\n```\n\n## Creating a Node.js Single Executable Application (SEA)\n\nIf you haven't created a Node.js SEA yet, here is a quick guide based on the [official Node.js documentation](https://nodejs.org/api/single-executable-applications.html).\n\n### 1. Preparation\nCreate your JavaScript file (e.g., `hello.js`) and a configuration file `sea-config.json`:\n\n**hello.js**\n```javascript\nconsole.log(`Hello, ${process.argv[2]}!`);\n```\n\n**sea-config.json**\n```json\n{\n  \"main\": \"hello.js\",\n  \"output\": \"sea-prep.blob\"\n}\n```\n\n### 2. Generate the Blob\nRun the following command to generate the `sea-prep.blob`:\n\n```bash\nnode --experimental-sea-config sea-config.json\n```\n\n### 3. Create the Executable\nCopy the node executable to your project folder.\n\n**Windows (PowerShell):**\n```powershell\nnode -e \"require('fs').copyFileSync(process.execPath, 'hello.exe')\"\n```\n\n**Linux/macOS:**\n```bash\ncp $(command -v node) hello\n```\n\n### 4. Inject the Blob\nUse `postject` to inject the blob into the executable.\n\n```bash\nnpx postject hello.exe NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2\n```\n*(On macOS, add `--macho-segment-name NODE_SEA`)*\n\nNow you have a standalone `hello.exe`! You can use this `nodejs-sea-hide-passthrough` tool to wrap it and hide the console window.\n\n## License\nDistributed under MIT License. See `license.md` for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupermarsx%2Fnodejs-sea-hide-passthrough","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupermarsx%2Fnodejs-sea-hide-passthrough","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupermarsx%2Fnodejs-sea-hide-passthrough/lists"}