{"id":28414207,"url":"https://github.com/cluzier/neutron","last_synced_at":"2025-06-24T23:31:16.118Z","repository":{"id":289985734,"uuid":"973026538","full_name":"cluzier/neutron","owner":"cluzier","description":"Easily locate app.asar files in Electron applications","archived":false,"fork":false,"pushed_at":"2025-04-30T17:37:09.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T17:32:48.363Z","etag":null,"topics":["asar","electron","file-manager","tree-structure"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cluzier.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-26T05:16:51.000Z","updated_at":"2025-04-30T17:40:52.000Z","dependencies_parsed_at":"2025-04-26T06:33:41.505Z","dependency_job_id":"28909fc2-dd6d-4277-9230-a26ad379e5a5","html_url":"https://github.com/cluzier/neutron","commit_stats":null,"previous_names":["cluzier/neutron"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cluzier/neutron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluzier%2Fneutron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluzier%2Fneutron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluzier%2Fneutron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluzier%2Fneutron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cluzier","download_url":"https://codeload.github.com/cluzier/neutron/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluzier%2Fneutron/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261774665,"owners_count":23207778,"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":["asar","electron","file-manager","tree-structure"],"created_at":"2025-06-03T07:16:34.271Z","updated_at":"2025-06-24T23:31:16.112Z","avatar_url":"https://github.com/cluzier.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neutron\n\nNeutron is an application to locate app.asar files in Electron applications.\n\n## Features\n- Electron + Next.js app\n- Lightweight build with asset compression\n- Only English locales included for smaller size\n- Cross-platform: macOS, Windows, and Linux support\n\n## Getting Started\n\n1. **Install dependencies:**\n   ```sh\n   npm install\n   ```\n\n2. **Compress assets (optional, but recommended):**\n   ```sh\n   npm run compress-assets\n   ```\n   This will optimize images and static assets for a smaller app size.\n\n3. **Build the app:**\n   ```sh\n   npm run build\n   ```\n   This runs Next.js build and packages the Electron app. Only necessary files are included, and only English locales are kept.\n\n4. **Run the app in development:**\n   ```sh\n   npm run dev\n   ```\n\n5. **Run the app:**\n   ```sh\n   npm start\n   ```\n\n## Cross-Platform Builds\n\nNeutron can be built for macOS, Windows, and Linux using electron-builder.\n\n- **Build for all platforms:**\n  ```sh\n  electron-builder -mwl\n  ```\n  (`-mwl` = mac, windows, linux)\n\n- **Note:**\n  - To build Windows apps on macOS or Linux, you need [Wine](https://wiki.winehq.org/Download) installed.\n  - Output installers will be in the `release/` directory.\n\n- **Platform targets:**\n  - **macOS:** `.dmg`, `.zip`\n  - **Windows:** `.exe` (NSIS installer), `.zip`\n  - **Linux:** `.AppImage`, `.deb`, `.zip`\n\n## .gitignore Best Practices\n\nThe following are excluded from git to keep the repository lightweight:\n- `node_modules/`\n- `out/`, `.next/`, `release/` (build outputs)\n- `*.dmg`, `*.zip`, `*.asar` (packaged artifacts)\n- `.DS_Store`, log files\n\n## Notes\n- Do not commit build artifacts or release files to git. This keeps the repository well under GitHub's 100MB file limit.\n- If you need to further reduce app size, check for unused dependencies or assets.\n\n---\n\nFor more details, see the scripts in the `scripts/` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcluzier%2Fneutron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcluzier%2Fneutron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcluzier%2Fneutron/lists"}