{"id":13584031,"url":"https://github.com/nxhack/openwrt-node-packages","last_synced_at":"2025-05-16T05:03:01.014Z","repository":{"id":9325711,"uuid":"56644458","full_name":"nxhack/openwrt-node-packages","owner":"nxhack","description":"OpenWrt Project Node.js packages. v18.x TLS v20.x LTS and v22.x LTS","archived":false,"fork":false,"pushed_at":"2025-05-07T07:17:32.000Z","size":15428,"stargazers_count":265,"open_issues_count":18,"forks_count":104,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-07T08:26:58.125Z","etag":null,"topics":["aarch64","arm","aws-crt","aws-crt-nodejs","aws-iot","aws-iot-nodejs","homebridge","iot","javascript","js","node-module","node-modules","node-red","nodejs","nodejs-modules","openwrt","openwrt-feed","openwrt-package","zigbee2mqtt","zwave-js-ui"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nxhack.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":"2016-04-20T01:15:09.000Z","updated_at":"2025-05-02T05:57:55.000Z","dependencies_parsed_at":"2023-10-14T19:40:51.045Z","dependency_job_id":"7897f0fa-b1e2-48ce-9c12-1447f0d402fa","html_url":"https://github.com/nxhack/openwrt-node-packages","commit_stats":{"total_commits":5213,"total_committers":15,"mean_commits":"347.53333333333336","dds":0.135430654133896,"last_synced_commit":"8e2998cd2dbeac5aaa90ea90d274346f9a86c38f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxhack%2Fopenwrt-node-packages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxhack%2Fopenwrt-node-packages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxhack%2Fopenwrt-node-packages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxhack%2Fopenwrt-node-packages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nxhack","download_url":"https://codeload.github.com/nxhack/openwrt-node-packages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471028,"owners_count":22076582,"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":["aarch64","arm","aws-crt","aws-crt-nodejs","aws-iot","aws-iot-nodejs","homebridge","iot","javascript","js","node-module","node-modules","node-red","nodejs","nodejs-modules","openwrt","openwrt-feed","openwrt-package","zigbee2mqtt","zwave-js-ui"],"created_at":"2024-08-01T15:03:58.111Z","updated_at":"2025-05-16T05:03:00.971Z","avatar_url":"https://github.com/nxhack.png","language":"Makefile","readme":"# OpenWrt Node.js Packages (nodejs)\n\n## Description\n\nOpenWrt Node.js Packages : for Head (Development branch)\n\nNote: support arches are aarch64, arm, x86_64\n\n## License\n\nSee [LICENSE](LICENSE) file.\n\n## Usage\n\nAdd the following line to feeds.conf or feeds.conf.default.\n```\nsrc-git node https://github.com/nxhack/openwrt-node-packages.git\n```\n\nRun\n```\n./scripts/feeds update node\nrm ./package/feeds/packages/node\nrm ./package/feeds/packages/node-*\n./scripts/feeds install -a -p node\nmake defconfig\n```\n\n## Request to add a package is welcome\nIf you want a new module (native module) that requires a precompiled binary, ***please open the issue.***\n\n## Note\nIf you want to use with 23.05, see [openwrt-23.05 branch](https://github.com/nxhack/openwrt-node-packages/tree/openwrt-23.05) (***Current stable series***)\n\nOn the host side, the following preparations are required.\n* [Unix prerequisites](https://github.com/nodejs/node/blob/master/BUILDING.md#unix-prerequisites)\n* To build a 32-bit target, gcc-multilib, g++-multilib are required.\n```\nsudo apt-get install gcc-multilib g++-multilib\n```\n* The libatomic package is required. (Install the 32-bit library at the same time, if necessary).\n\n## Illegal instruction issue\n\n***V8 JIT code generates FP instruction. Node.js does not work without hardware FPU.***\n\nIf you are running nodejs on the Atheros AR71xx/AR933x, MediaTek MT76x8, it will not work because there is no hardware FPU.\nARM cores without vfp or neon (such as ***bcm53xx***) will not work either.\n\n## Enable Inspector\n\n| Processor | ICU | Inspector |\n| :---: | --- | :---: |\n| 32bit | Disable | NO |\n| 32bit | small-icu | YES |\n| 64bit | Disable | NO |\n| 64bit | small-icu | YES |\n| 64bit | system-icu | YES |\n\n [Debugging Guide](https://nodejs.org/en/docs/guides/debugging-getting-started/) ***Nice to use Chrome DevTools.***\n\n Note: ICU currently supports only ***LITTLE ENDIAN***.\n\n## Note about mDNS and homebridge\nRead this document: [mDNS Options](https://github.com/homebridge/homebridge/wiki/mDNS-Options)\n\nIf you want, you can install the OpenWrt mDNS package (umdns / avahi-dbus-daemon / mdnsresponder).\n\n(1)\nSome OpenWrt / Lede images have built in dnscrypt-proxy package, which by default listening on 5353 port.\n\nIn that case, installed avahi-daemon will not start on ipv4 interface, only on ipv6 because ipv4 port is taken.\n\nThis will lead to strange issue: your homebrdge accessory will be visible in 'Home' app, but can't finish pairing.\n\nTo fix this, you have to stop and disable dnscrypt-proxy\n\nAlso, you have to enable: dbus and avahi-daemon services to start automatically, i.e for Lede:\n\n```\n/etc/init.d/dbus enable\n/etc/init.d/avahi-daemon enable\n```\n\n(2)\navahi on home network\n\nPlease read this document. '[Why avahi and bonjour don't work on your home network](https://github.com/culler/querierd/blob/master/README.rst)'\n\n***IGMP-querier*** will solve your problem.\n\nOpenWrt allows \"multicast_querier\" (IGMP-querier) to be set when \"igmp_snooping\" is enabled.\n\nOpenWrt custom packages available: https://github.com/nxhack/openwrt-custom-packages\n\n## Low memory\nSpecify v8-options.\n\n```\n--optimize_for_size --max_old_space_size=128 --gc_interval=100\n```\nFor Reference: [Avoid Garbage](https://devcenter.heroku.com/articles/node-best-practices#avoid-garbage).\n\nOr use [swap](https://openwrt.org/docs/guide-user/storage/fstab?s[]=swap).\n\n## Modules that use pre-compiled binary (native module)\n```\nnode-authenticate-pam\nnode-aws-crt\nnode-bcryp\nnode-bignum\nnode-bluetooth-hci-socket\nnode-bufferutil\nnode-deasync\nnode-ejdb2_node\nnode-epoll\nnode-expat\nnode-ffi-napi\t\t\t(ffi-napi, ref-napi)\nnode-fuse-bindings\nnode-hid\nnode-pty-prebuilt-multiarch\nnode-i2c-bus\nnode-leveldown\nnode-megahash\nnode-mdns\nnode-net-ping\t\t\t(raw-socket)\nnode-openzwave-shared\nnode-pi-spi\nnode-pty\nnode-rpio\nnode-serialport-bindings\nnode-sleep\nnode-spi-device\nnode-sqlite3\nnode-statvfs\nnode-ubus\nnode-usb\nnode-utf-8-validate\nnode-zigbee2mqtt\t\t(@serialport/bindings,unix-dgram)\n```\nOther modules can be installed by 'npm install'.\n\n## Package Guidelines\n\nSee [CONTRIBUTING.md](https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md) file.\n","funding_links":[],"categories":["Makefile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxhack%2Fopenwrt-node-packages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxhack%2Fopenwrt-node-packages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxhack%2Fopenwrt-node-packages/lists"}