Discussion about this post

User's avatar
Neural Foundry's avatar

The QuickJS sandboxing is a smart move for production. No filesystem or network access by defalt means you can run untrusted JavaScript safely. The character width calculation in estimateTextWidth is clever, I wouldn't have thought to weight 'm' and 'w' differently. Are you palnning to cache popular badge combinations or would the native startup be fast enough to just generate on demand?

Expand full comment

No posts