DEV Community

Cover image for ⚡️ Gowebly CLI now supports the PocketBase framework
Vic Shóstak
Vic Shóstak

Posted on

⚡️ Gowebly CLI now supports the PocketBase framework


Hello, DEV people! 👋

Now, I've released the Gowebly CLI v2.5.0 which includes PocketBase framework/backend support.

Okay, let's get started 😉

📝 Table of contents

What is PocketBase?

PocketBase is an open source ready-to-use framework/backend for your next SaaS and mobile application in a single file.

GitHub logo pocketbase / pocketbase

Open Source realtime backend in 1 file

PocketBase - open source backend in 1 file

build Latest releases Go package documentation

PocketBase is an open source Go backend, consisting of:

  • embedded database (SQLite) with realtime subscriptions
  • built-in files and users management
  • convenient Admin dashboard UI
  • and simple REST-ish API

For documentation and examples, please visit


Please keep in mind that PocketBase is still under active development and therefore full backward compatibility is not guaranteed before reaching v1.0.0.

API SDK clients

The easiest way to interact with the API is to use one of the official SDK clients:


Use as standalone app

You could download the prebuilt executable for your platform from the Releases page. Once downloaded, extract the archive and run ./pocketbase serve in the extracted directory.

The prebuilt executables are based on the examples/base/main.go file and comes with the JS VM plugin enabled by default which allows…

Main features:

  • Realtime database. Embedded performant database with schema builder, data validations, realtime subscriptions and easy to use REST api.
  • Authentication. Manage your app users and handle email/password and OAuth2 sign-ups (Google, Facebook, GitHub, GitLab and more) without the hassle.
  • File storage. Sanely store files locally or in a S3 storage. Easily attach media to your database records and generate thumbs on the fly.
  • Extendable. Use as a standalone app OR as a framework, that you can extend via Go and JavaScript hooks to create your own custom portable backend.

↑ Table of contents

How to use PocketBase with Gowebly CLI?

The first thing you should do is verify that you are using Gowebly CLI version v2.5.0 or higher.

Next, when you start creating a new project, just switch the Go framework selector to the PocketBase option:

gowebly create
Enter fullscreen mode Exit fullscreen mode

And Gowebly CLI created a new project with the PocketBase.

Yeah, it's just working! 🎉

↑ Table of contents

Photos and videos by


If you want more articles (like this) on this blog, then post a comment below and subscribe to me. Thanks! 😻

And of course, you can help me make developers' lives even better! Just connect to one of my projects as a contributor. It's easy!

My main projects that need your help (and stars) 👇

  • 🔥 gowebly: A next-generation CLI tool that makes it easy to create amazing web applications with Go on the backend, using htmx, hyperscript or Alpine.js and the most popular CSS frameworks on the frontend.
  • create-go-app: Create a new production-ready project with Go backend, frontend and deploy automation by running one CLI command.

Other my small projects: yatr, gosl, json2csv, csv2api.

Top comments (0)