💺 Introducing Bask: A VS Code extension for building plugins

Hello Bubblers!
In case you missed it, you can now develop Bubble plugins in VS Code. This extension drastically improves the developer experience around making plugins by instantly synchronizing code between your local code editor and Bubble.

In addition to code-sync, Bask also gives us:

  • File names for humans™ - rename files from Bubble’s native random-string format to the actual names you gave your actions or elements so you always know which file you’re working in.
  • Function names for robots™ - we convert function (instance, properties, context) to function update (instance, properties, context) so linters and build tools just work.
  • Automated bundling - sync your code as is or bundle it to make actions run faster. Treeshaking and deploying with ES6 modules has never been easier.
  • Git decoupling - you’re no longer chained to developing in main branch. Practical version control is back, baby!
  • Improved organization Which commit was related to an official release of my plugin? Never wonder again thanks to Bask Publish.

Motivation

While building Omnisearch, I ended up having to rely on several javascript libraries to make switching between Algolia and Typesense as easy as possible. The weight of these made it so my SSAs took 14 seconds to execute.

That was never gonna fly with users so I needed a way to drastically reduce execution time. Luckily, I found that tree-shaking my codebase reduced that time from 14 seconds down to 2 seconds on average. This was great but it created a whole new challenge:

Every time I wanted to test a plugin change, I needed to rebuild my code with esbuild and then copy and paste the bundled function into Bubble’s plugin editor.

This became far too tedious so I built Bask. Bubble themselves ended up liking it so much they partnered with me to feature it as a core Bubble integration. May we suffer no more! To date I’ve launched Omnisearch with SSAs that take on average 1 second to execute and users like @rico.trevisan are already using Bask to ship better plugins faster.

Costs and getting started

We offer a trial for folks to try Bask for free and charge $9 monthly or $85 annually thereafter to cover support and improvements. See here to get started!

8 Likes