Trending

#BunJS

Latest posts tagged with #BunJS on Bluesky

Latest Top
Trending

Posts tagged #BunJS

Video

New short screen grab from testing parts of our game.
We hope you like it.
@AmazingIslands

#threejs #amazingislands #fortnite #cosygames #games #3dart #nodejs #minecraft #bunjs #love #game #free #blender #3dtool

5 3 1 0

Why my AI assistent scheduler had to be fixed three times, before it was working reliably (I hope...) 👇

#BuildInPublic #BunJS #TypeScript

3 1 0 0
Preview
I’m 13 and I built a Bun framework that’s 2x faster than Express 🚀 It’s a 97kB (2.4kB gzipped) Bun-native framework that hits 21,748 req/s. 👑 Why...

I’m 13 and I built a Bun framework that’s 2x faster than Express 🚀 It’s a 97kB (2.4kB gzipped) Bun-native framework that hits 21,748 req/s . 👑 Why PrinceJS? Most "fast" framewor...

#programming #javascript #bunjs #typescript

Origin | Interest | Match

1 0 0 0

I'm thinking about porting my Electron WYSIWYG text editor app to something lighter-weight (Electrobun or Tauri). Anyone in #bunjs or #rustlang have opinions?

2 0 1 0
Post image

New night screenshot of our JUMP Island .
@AmazingIslands

#threejs #amazingislands #fortnite #games #3dart #nodejs #minecraft #bunjs #love #game #free #blender #3dtool @moonriseengine.bsky.social

3 1 0 0

You just ned to make sure you run you app dev in bun runtime, by explicitly "bun --bun dev"

The best code is the code (and dependencies) you don't have to maintain.
#bunjs #webdev #backend #fullstack #javascript

0 0 0 0
Preview
I Built a Job Queue That's 32x Faster Than BullMQ (No Redis Required) bunqueue - A high-performance job queue for Bun using SQLite instead of Redis. Zero dependencies, BullMQ-compatible API.

I Built a Job Queue That's 32x Faster Than BullMQ (No Redis Required) I got tired of spinning up Redis just to run background jobs. So I built bunqueue - a job queue that uses SQLite instead. T...

#bunjs #typescript #javascript #opensource

Origin | Interest | Match

1 0 0 0
Preview
flashQ + Elysia & Hono.js: Background Jobs for Modern Bun Apps Build high-performance background job systems with Elysia, Hono.js and flashQ - the Rust-powered job queue

flashQ + Elysia & Hono.js: Background Jobs for Modern Bun Apps Elysia and Hono.js are two of the fastest TypeScript frameworks out there. Combine them with flashQ and you get a stack capable of...

#bunjs #typescript #webdev #tutorial

Origin | Interest | Match

1 0 0 0
Post image

🚀 Is Node.js dying?
Nope. But Bun is shaking the JS world ⚡

5× faster JS, built-in transpiler, ultra-fast package manager & ~7ms hot reload 🔥

Node.js is still rock-solid—but Bun feels like the future 🚀

#JavaScript #NodeJS #BunJS #DevLife #Programming

2 0 0 0
Preview
I built FAF using Zig on Bun for Claude ⏺ Yes, that title is real. Let me explain. FAF = Foundational AI-context Format (IANA...

I built FAF using Zig on Bun for Claude ⏺ Yes, that title is real. Let me explain. FAF = Foundational AI-context Format (IANA registered) Zig = The language Bun is built with Bun = The fast JS ru...

#bunjs #zig #anthropic #devops

Origin | Interest | Match

1 0 0 0
Preview
Building a Style-Aware AI Image Generator with Nano Bana, React, and Hono. Out of sheer curiosity to test the limits of the new Google Gemini models, I built Amaris—a...

Building a Style-Aware AI Image Generator with Nano Bana, React, and Hono. Out of sheer curiosity to test the limits of the new Google Gemini models, I built Amaris —a full-stack SaaS application...

#webdev #beginners #bunjs #opensource

Origin | Interest | Match

0 0 0 0
Post image

🚀 Mauvaise architecture = 18 mois de retard! Tech choices impact success. Mes insights : 🔹 Bun = 10x plus rapide 🔹 Sécurité renforcée 🔹 Déploiement réduit à 15 min! CTOs, quel challenge vous freine pour migrer vers Bun? 💬 #TechChoices #StartupSuccess #BunJS #NodeJS #ArchitectureLogicielle

0 0 0 0
Anthropic Buys Bun: Vertical Integration or Power Consolidation? Anthropic is acquiring Bun, the breakthrough JavaScript runtime, to further accelerate Claude Code’s growth. The deal, valued in the “low hundreds of millions of dollars” marks Anthropic‘s first-ever acquisition. As one X commenter perfectly captured the tension: Anthropic just bought the runtime that powers their AI coding tool. Now they control both the AI that writes […]

Anthropic Buys Bun: Vertical Integration or Power Consolidation?

Anthropic is acquiring Bun, the breakthrough JavaScript runtime, to further accelerate Claude Code's growth. The deal, valued in the "low... #BunJS

0 0 0 0
Post image

Anthropic just dropped a $1B valuation on Claude Code and is snapping up Bun—think AI‑powered JavaScript/TypeScript runtime. Big moves ahead of their IPO. Curious? Dive in! #Anthropic #BunJS #ClaudeCode

🔗 aidailypost.com/news/anthrop...

1 0 0 0

wow good for #BunJS I guess ...

0 0 0 0
Preview
Building a Full-Stack Type-Safe CRUD App with SolidJS, Bun, Hono, and PostgreSQL Introduction In this tutorial, we'll build a complete CRUD (Create, Read, Update, Delete)...

Building a Full-Stack Type-Safe CRUD App with SolidJS, Bun, Hono, and PostgreSQL Introduction In this tutorial, we'll build a complete CRUD (Create, Read, Update, Delete) application using mode...

#honojs #bunjs #solidjs #fullstack

Origin | Interest | Match

1 0 0 0
Preview
How to Debug Hono Applications with Telescope – Laravel Telescope for Bun & Node.js How to Debug Hono Applications with Telescope If you've ever used Laravel Telescope, you...

How to Debug Hono Applications with Telescope – Laravel Telescope for Bun & Node.js How to Debug Hono Applications with Telescope If you've ever used Laravel Telescope , you know how game...

#debugging #honojs #bunjs #devtools

Origin | Interest | Match

2 0 0 0
Bun 1.3 Adds Socket Security Scanner

~Socket~
Bun 1.3's new Security Scanner API integrates with Socket to block malicious packages and supply chain attacks during installation.
-
IOCs: (None identified)
-
#BunJS #DevSecOps #SupplyChain #ThreatIntel

0 0 0 0

Anybody know a library or tool to showcase blueprints in both 2D and 3D for the web?

Would be cool if it's on npm and runs on solids/vanillajs.

#npm #nodejs #bunjs #web #solidjs

3 0 0 0

Overview: Hacker News discussed Bun's package manager. It's super fast, thanks to Zig, but users worry about its maturity, compatibility with Node.js, and long-term viability. A deep dive into speed vs. ecosystem challenges. #BunJS 1/6

0 0 1 0

Welp guess we are going back to Node...
"Invalid source map. Only conformant source maps
can be used to find the original code. Cause: Error: module.SourceMap is not yet implemented in Bun" #bunjs #typescript #javascript

5 0 1 0

Bun's built-in S3 client was compared. It potentially offers speed benefits over Node/npm solutions, but its specific feature set and compatibility nuances were points of discussion. #BunJS 6/6

0 0 0 0
Preview
GitHub - kexa-io/Kexa: Kexa's simple rules (Open Source) make it easy to monitoring and manage alerting of your entire cloud. With various monitoring and alerting options, instant and detailed alerts,... Kexa's simple rules (Open Source) make it easy to monitoring and manage alerting of your entire cloud. With various monitoring and alerting options, instant and detailed alerts, easy-to-deploy ...

we migrated all kexa to bunjs engine !
github.com/kexa-io/Kexa
#security #bunjs #opensource

2 0 0 0
Preview
Breaking Down tilegen: A Deep Dive into Image Tiling Ever zoomed in on a map and wondered how the experience is so smooth and snappy? That's thanks to tiled image rendering. I recently built a tool called tilegen, which is essentially a tile generator that slices up a high-res image into thousands of tiles across multiple zoom levels, just like Google Maps does (well, _almost_). This post is a deep dive into what tilegen is, how it works, the quirks I ran into, and how mapping giants like Google do it too. ## What's tilegen? At its core, tilegen takes a **massive image** (like a satellite photo, map scan, game world, or giant illustration), and cuts it into **256×256 PNG tiles** across zoom levels. These tiles can then be loaded on demand by a viewer, allowing users to pan and zoom without downloading gigabytes of image data up front. ### Key Features: * 🧵 Multi-threaded tile generation using `worker_threads` * 🖼️ High-performance image manipulation via `sharp` * ⚡ Uses Bun as its runtime * 🔍 Auto-detects optimal zoom levels via a simple `MAXIMUM_MAGNIFICATION` config ## Real-World Inspiration: Google Maps Before diving into the internals, let's look at what inspired it. When you open Google Maps at zoom level 0, you see the whole Earth in a single square tile. At zoom level 1, it's split into 4 tiles. Zoom level 2? 16 tiles. It's exponential: → **tiles = 4ⁿ at zoom level n** Each tile is **256×256 pixels**. When you zoom in, you're not scaling a single image, you're loading tiles with more detail. This makes zooming in feel instant and seamless. ## Does tilegen Use Mercator Projection? Short answer: **No** , and that's _intentional_. Unlike Google Maps, which uses a **Web Mercator projection** (EPSG:3857) to project a spherical Earth into 2D tiles. Tilegen operates on raw pixel grids and assumes the image is already in a rectangular (flat) coordinate space. This makes it **perfect** for: * 🗺️ Game maps or dungeon blueprints * 🖼️ Large digital artworks or posters * 🧬 Scientific imagery or gigapixel scans * 🧱 Anything that _doesn't_ require geographic correctness If you're working with real-world map data and want Web Mercator compatibility, you'd need to **pre-project** your raster image using GIS tools like GDAL or QGIS before running tilegen. ## tilegen's Architecture Here's a view of what happens under the hood: 1. **Metadata Read** : Uses `sharp` to detect image width and height. 2. **Zoom Level Calculation** : Based on a value called `MAXIMUM_MAGNIFICATION`. 3. **Task Generation** : Every tile for every zoom level becomes a task. 4. **Worker Thread Execution** : Workers slice and resize specific tile sections. 5. **File Output** : Tiles are saved into a `/z/x/y.png` folder structure. ## Zoom Levels and `MAXIMUM_MAGNIFICATION` Here's where the magic (and pain) happened. Originally, I supported **custom zoom levels**. But this caused chaotic behavior, like tiles being mostly transparent, with the actual image squashed in the upper-left corner due to extreme padding. So I killed that idea in favor of one elegant constant: MAXIMUM_MAGNIFICATION ### What does this mean? This defines **how deep** the user can zoom in relative to the base image's pixel density. It doesn't literally scale the image, but rather controls how many zoom levels should exist so that even the deepest level looks sharp. This avoids all the padding headaches and keeps the tiles perfectly aligned. ## Smarter Tile Quality Not all tiles need to be lossless. The user doesn't need zoom level 0 (the whole image) to be razor-sharp. So `tilegen` adjusts quality: * 🧊 **Zoom levels 0-2** : Use slightly lossy PNG compression to save disk space. * 🔍 **Deeper zooms** : Full PNG quality for close-up inspection. This makes a **huge difference** on disk usage without affecting perceived quality. ## Performance tilegen spins up **worker threads** , one per CPU core. Each worker pulls tasks off the queue and works on one tile at a time. Here's a snippet of how tile jobs are assigned: for (let i = 0; i < cpus().length; i++) { const worker = new Worker(...); dispatch(worker); } The main process manages the pool and displays a ASCII progress bar, complete with ETA and tiles/second metrics. ## The Weird Stuff This wouldn't be a proper project without facepalms: * 😤 **Empty tiles at high zooms** : Originally caused by over-padding during custom zooms. Solved by switching to computed zooms. * 🤯 **Sharp's resize behavior** : If you extract a tiny area and resize it to 256x256, the result can be fully transparent. Needed better offset handling. ## So, Why Build This? I wanted something **fast** , **transparent** , and **flexible** , a tool that could help generate tiles for any large static image, not just maps. I also wanted something that used **Bun** by default, because Bun is… well, fun. Other tools like MapTiler, GDAL, and gdal2tiles exist, but they're heavy or GIS-specific. tilegen is simple by design and powerful when needed. ## What's Next? I'm thinking of: * 🧪 CLI support * 🧼 WebP and AVIF tile support * 🧭 Vector tile generation (just for fun?) * 📦 JSON tile manifests (TMS compatibility) * 🌍 Maybe even Web Mercator pre-projection ## Final Thoughts Whether you're visualizing old parchment maps, building a giant RPG overworld, or just want to zoom into a 50k×30k engineering schematic, tilegen makes tiled rendering _effortless_. If Google Maps can do it, so can we, minus the satellites. Stay tuned, there's more to come. This project is open-source and is available at itsbrunodev/tilegen.
0 0 0 0
Post image

👀 The official Claude Code GitHub action uses Bun! #bunjs #javascript

7 0 1 0
Preview
Setting up an application with Nue.js ###### This is a tutorial, walking through how to set your app with Nue.js By the end of this tutorial, we will have a blank application, without any unnecessary packages, ready for you to create an application using Nue.js This will be part of a series we'll go deeper into what you can do with Nue.js and show practical tutorials ## What's Nue.js? Nue.js is a framework, that tries to simplify how applications are built and improve performance, by allowing the usage of faster languages so you are not limited by the typical performance of a JS application From their docs: | Nue is a web framework that prioritizes web standards, enabling developers to create large-scale single-page applications (SPAs) with less code than mainstream tools require, and your codebase stays clean so it is easier to maintain and scale. https://nuejs.org/docs/single-page-apps.html After trying Nue.js, I can say this is a JS framework with good ideas. It creates very light bundle sizes, provides server-side rendering, allows writing application logic in Rust, Go or Zig for performance-critical tasks. Its model-view-controller (MVC) architecture can help maintain a structured development ## Requirements To install Nue, you must first have Bun installed in your system ### Install Bun To run Nue.js we will use Bun `curl -fsSL https://bun.sh/install | bash` You can use npm, yarn or pnpm too, for more info check https://nuejs.org/docs/installation.html#node-setup ### Setting the project Now we need to create a folder to store our code, `mkdir nue-app` ### (Optional) Start an empty Bun project Then `cd` into your new folder and run the command `bun init` to create your base application, you will see this prompt: ? Select a project template - Press return to submit. ❯ Blank React Library Choose `Blank` and once bun finishes setting up your project, your root folder should look like this: $ ls bun.lock index.ts node_modules package.json README.md tsconfig.json ### Install Nue.js locally Now run the command `bun install nuekit` to install Nue.js in your project ### Create a site.yaml and index.html In the root of your application, create a site.yaml and index.html. The site.yaml file will tell Nue how to bundle and run our application while index.html will be the root view of our application title: Nue CRM / A single-page app demo port: 8083 <h1>Hello World</h1> ### Run the app in development Now you can run your Nue.js application, using the command: `bun nue` and that's it You should be able to see your application on `localhost:8083` and now you can start developing **NOTE** If you want to get a sample application running and skip this entire tutorial, just run: `bun nue create simple-blog` to create a blog sample or `bun nue create simple-mpa` to create a multipage sample app, with login and dashboard In case you want to create and deploy a Nue.js application with ease, try Diploi's Nue.js component, so you can have your app live online in seconds https://diploi.com/component/nue ## Closing thoughts I initially planned to make this into a single blog post, but after 3 days of trying to make sense of my experience learning Nue.js to make this blog, I realized that I was being naive and wouldn't be possible, so I split it into multiple parts This is just an introduction to Nue.js and in our next entry, we'll go over setting up the folder structure and logic for our application If you prefer to take the lead, check Nue's documentation about how to use Nue with content-driven applications and single page apps We are working on new components, UX improvements and we'll be posting an update soon! Happy building! 🫡 #### Try Diploi for free ✨ **References:** https://diploi.com/component/nue https://nuejs.org/
0 0 0 0
Preview
JavaScript Lambda Functions Using a Bun Custom Runtime I've previously tried out Lambda functions with a custom runtime using Deno, and it had great...

✍️ New blog post by Jason Butz

JavaScript Lambda Functions Using a Bun Custom Runtime

#aws #javascript #serverless #bunjs

1 0 0 0

This weekend's playground: @nushell.bsky.social , @trpc.io, @svelte.dev , #Bunjs, @tur.so, @drizzle.team

2 0 0 0