[FEATURE]:Provide a package without native binary, for running with nodejs #4158

Open
opened 2026-02-16 17:42:49 -05:00 by yindo · 5 comments
Owner

Originally created by @kaan-escober on GitHub (Jan 4, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Hi, opencode is really great but things will be much more awesome if you could provide a package without bun, so no native stuff, exactly like claude code provides both a native binary & a nodejs compatible package, this is guarenteed to solve a lot of issues & will make it accessible to a more larger userbase. So it will work great in termux natively without PRoot because of no bun, i know it can run in termux using PRoot but that is extremely slow because bun calls low level system i/o & file access stuff which makes PRoot hang because of system calls emulation. Also it will solve issues with hardlinks & CoW stuff because it will run using nodejs. I dont know e actual work involved in all of this but im ready to provide any help

Originally created by @kaan-escober on GitHub (Jan 4, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [ ] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Hi, opencode is really great but things will be much more awesome if you could provide a package without bun, so no native stuff, exactly like claude code provides both a native binary & a nodejs compatible package, this is guarenteed to solve a lot of issues & will make it accessible to a more larger userbase. So it will work great in termux natively without PRoot because of no bun, i know it can run in termux using PRoot but that is extremely slow because bun calls low level system i/o & file access stuff which makes PRoot hang because of system calls emulation. Also it will solve issues with hardlinks & CoW stuff because it will run using nodejs. I dont know e actual work involved in all of this but im ready to provide any help
yindo added the discussion label 2026-02-16 17:42:49 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 4, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #961: Termux support request - seeking native Termux compatibility
  • #3143: Opencode crashes on second run in Termux/Proot distro - related to Termux/Proot environment issues
  • #3144: Opencode crashes on second run in Termux/Proot distro (ResolveMes error) - another Termux/Proot stability issue

Your feature request to provide a Node.js-compatible package (without bun binary) is directly motivated by the Termux/Proot performance issues mentioned in these existing issues. The core problem you're describing - that bun's low-level I/O calls don't work well in Proot - is the same root cause affecting issues #3143 and #3144.

Feel free to ignore if your specific use case differs, but coordinating with these existing Termux-related discussions may help find a unified solution.

@github-actions[bot] commented on GitHub (Jan 4, 2026): This issue might be a duplicate of existing issues. Please check: - #961: Termux support request - seeking native Termux compatibility - #3143: Opencode crashes on second run in Termux/Proot distro - related to Termux/Proot environment issues - #3144: Opencode crashes on second run in Termux/Proot distro (ResolveMes error) - another Termux/Proot stability issue Your feature request to provide a Node.js-compatible package (without bun binary) is directly motivated by the Termux/Proot performance issues mentioned in these existing issues. The core problem you're describing - that bun's low-level I/O calls don't work well in Proot - is the same root cause affecting issues #3143 and #3144. Feel free to ignore if your specific use case differs, but coordinating with these existing Termux-related discussions may help find a unified solution.
Author
Owner

@rekram1-node commented on GitHub (Jan 4, 2026):

Because of opentui and the bun apis we use i dont think this is easily possible (re: node)

@rekram1-node commented on GitHub (Jan 4, 2026): Because of opentui and the bun apis we use i dont think this is easily possible (re: node)
Author
Owner

@hksdpc255 commented on GitHub (Jan 6, 2026):

Can we provide a statically linked binary to solve the problem?

@hksdpc255 commented on GitHub (Jan 6, 2026): Can we provide a statically linked binary to solve the problem?
Author
Owner

@hksdpc255 commented on GitHub (Jan 6, 2026):

Seems bun itself is compatible for static compiling: https://github.com/oven-sh/bun/issues/16699#issuecomment-3031565218

@hksdpc255 commented on GitHub (Jan 6, 2026): Seems bun itself is compatible for static compiling: https://github.com/oven-sh/bun/issues/16699#issuecomment-3031565218
Author
Owner

@kaan-escober commented on GitHub (Jan 6, 2026):

Yea if they could just provide a statiscally built binary for termux, linked againat bionic, it will be great

@kaan-escober commented on GitHub (Jan 6, 2026): Yea if they could just provide a statiscally built binary for termux, linked againat bionic, it will be great
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4158