theseyan / bkg Goto Github PK
View Code? Open in Web Editor NEWPackage Bun apps into a single executable
Package Bun apps into a single executable
Hello Sayan!
Since truemedian/zfetch is now archived by its creator, I would like to suggest to replace it with haze/zelda, which is actively maintained.
Can this be available through bun install by publishing in npmjs?
Installation would be easier by using bun add bkg
.
I got the compilation to work but when I try to run the binary, I get the following error. Any ideas what's going wrong since the error message is just a bit vague ;)
error: module not found "/tmp/.test_runtime_3722025239/index.js"
The following command exited with error code 1:
error: CommandFailed
I'm running this on Ubuntu 20.04 in WSL2.
๐ It looks like the project does not have LICENSE.
Now bun support building to single binary output. How this is different ?
Is this something to do with how I set up bun and bkg on linux? I keep getting the same error, I have tried bkg v0.0.2 and v0.0.3, but still no luck.
bkg ./ -o testing
No target was specified, building for x86_64-linux
Downloading bun-v0.4.0 for target x86_64-linux...
Runtime already exists, skipping
Downloading bkg runtime v0.0.4 for target x86_64-linux...
bkg runtime already exists, skipping
Building archive...
Writing file README.md with 221 bytes
Writing file tsconfig.json with 416 bytes
bun.lockb is executable
Writing file bun.lockb with 1187 bytes
Writing file package.json with 121 bytes
Writing directory node_modules
Writing directory node_modules/bun-types
Writing file node_modules/bun-types/README.md with 1017 bytes
Writing file node_modules/bun-types/types.d.ts with 1899784 bytes
Writing file node_modules/bun-types/package.json with 375 bytes
Writing file index.ts with 30 bytes
Configuration file not found, using default
Adding Bun binary...
Finalized archive
Compressing archive...
Compressed to 37711283 bytes
Calculated CRC32 hash: 483121177
Writing archive to binary...
Written 37711283 bytes to binary
Finalizing binary...
Done
error: RenameAcrossMountPoints
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.