StruxaEggs Explorer

Bun

Generic

Bun is an incredibly fast JavaScript runtime, transpiler bundler, and npm package manager all-in-one.

Author: mratox@protonmail.comSource: pterodactyl/generic-eggsUpdated: 5/24/2026

Startup Command

if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == "1" ]]; then git pull; fi; if [[ ! -z ${BUN_PACKAGES} ]]; then bun install ${BUN_PACKAGES}; fi; if [[ ! -z ${RMBUN_PACKAGES} ]]; then bun remove ${RMBUN_PACKAGES}; fi; if [ -f /home/container/package.json ]; then bun install; fi; bun run {{MAIN_FILE}}

Docker Images

LabelImage
Bun Latestghcr.io/ptero-eggs/yolks:bun_latest
Bun Canaryghcr.io/ptero-eggs/yolks:bun_canary

Environment Variables

NameVariableDefaultRules
Git Repository Address
The Git repository address to clone .
GIT_ADDRESSnonenullable|string
User Uploaded Files
Skip all the install stuff if you are letting a user upload files. 0 = false (default) 1 = true
USER_UPLOAD0required|boolean
Auto Update
Pull the latest files on startup when using a Git Repository. 0 = false (default) 1 = true
AUTO_UPDATE0required|boolean
Main file
The main file passed to the bun run command
MAIN_FILEindex.jsrequired|string
Additional Bun Packages
Install additional bun packages. Use spaces to separate
BUN_PACKAGESnonenullable|string
Uninstall Bun Packages
Uninstall bun packages. Use spaces to separate
RMBUN_PACKAGESnonenullable|string
Git Branch
The Git branch to install.
BRANCHnonenullable|string
Git Username
Git username for authentication.
USERNAMEnonenullable|string
Git Access Token
Git access token for authentication.
ACCESS_TOKENnonenullable|string