{"id":20509022,"url":"https://github.com/nodeos/nodeos-initramfs","last_synced_at":"2025-04-13T22:13:45.020Z","repository":{"id":30195203,"uuid":"33746024","full_name":"NodeOS/nodeos-initramfs","owner":"NodeOS","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-21T18:13:04.000Z","size":112,"stargazers_count":5,"open_issues_count":17,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T22:13:41.554Z","etag":null,"topics":["nodeos"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NodeOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2015-04-10T19:11:48.000Z","updated_at":"2018-07-09T19:09:45.000Z","dependencies_parsed_at":"2024-11-15T20:24:38.173Z","dependency_job_id":"8583adee-9f6a-43c5-a8a6-16b6441088ad","html_url":"https://github.com/NodeOS/nodeos-initramfs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NodeOS%2Fnodeos-initramfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NodeOS%2Fnodeos-initramfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NodeOS%2Fnodeos-initramfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NodeOS%2Fnodeos-initramfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NodeOS","download_url":"https://codeload.github.com/NodeOS/nodeos-initramfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248788905,"owners_count":21161728,"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":["nodeos"],"created_at":"2024-11-15T20:21:52.781Z","updated_at":"2025-04-13T22:13:44.997Z","avatar_url":"https://github.com/NodeOS.png","language":"Shell","readme":"[![Build Status](https://semaphoreci.com/api/v1/nodeos/nodeos-initramfs/branches/master/badge.svg)](https://semaphoreci.com/nodeos/nodeos-initramfs)\n\n# NodeOS initramfs\n\nThis package generate a initramfs image that will try to mount the users\nfilesystem, set on the `root=` flag on Linux command line. If it fails to do so,\nit boots to a Node.js [REPL](http://nodejs.org/api/repl.html) prompt using an\non-memory root filesystem.\n\n## Note about *env.js*\n\nSince `/usr/bin/env` is also a Node.js script, to use less memory and boot\nfaster it's checking that the script to be run is already a Node.js script and\nif so, it `require()`s it and exec it directly to re-use the current Node.js\ninstance. This has the drawback that Python-inspired tricks like\n`!module.parent` or `require.main === module` will not work anymore. A better\nalternative and currently more widely used when a package can be used both as a\nlibrary and as an executable is to define the executable at an independent\nscript file and use the `package.json` *main* and *bin* entries.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodeos%2Fnodeos-initramfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodeos%2Fnodeos-initramfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodeos%2Fnodeos-initramfs/lists"}