DEV Community

Thomas Hansen
Thomas Hansen

Posted on

Getting Started with Open Source Vibe Coding

Magic Cloud is 100% open source. In addition, people keeps on telling me it's "better" than Lovable and Bolt42. I wouldn't know since I barely use these tools, but I know what it can do, and what it can do, easily saves me for 90% of my time!

In the above video I demonstrate the entire process of getting started with Magic. Below are its Docker Compose file if you want to reproduce what I did.

services:
  backend:
    image: servergardens/magic-backend:latest
    container_name: magic_backend
    restart: always
    ports:
      - "4444:4444"
    volumes:
      - magic_files_etc:/magic/files/etc
      - magic_files_data:/magic/files/data
      - magic_files_config:/magic/files/config
      - magic_files_modules:/magic/files/modules
  frontend:
    image: servergardens/magic-frontend:latest
    container_name: magic_frontend
    depends_on:
      - backend
    restart: always
    ports:
      - "5555:80"
volumes:
  magic_files_etc:
  magic_files_data:
  magic_files_config:
  magic_files_modules:
Enter fullscreen mode Exit fullscreen mode

Save the above as "docker-compose.yaml" somewhere, run docker compose up, and you're vibe coding on your own development machine, using nothing but open source software.

The last AI agent on Earth

In a way, Magic Cloud becomes "the last AI agent you'll ever need". This is because of its Hyperlambda programming language, that allows for dynamically generate tools on demand, and immediately use these tools to perform some task.

No deployments, no compilations, no "setting up sandbox environment" wait screens - Still, the thing is 100% secure by default!

What can you create?

The above just creates a simple TODO app, but at least in theory, you can create anything you can create with Lovable and Bolt42, except everything is open source of course!

I've used it to create complex CRM systems with RLS and business logic. I've used it to create task management systems, with Kanban boards, and RBAC. I've used it to create rich back office apps, with integrated SSO and OIDC. And everything "just works."

Bugs

Vibe coding is still a new phenomenon, and the process generates bugs every now and then - So you must sanity check the code output before trusting it.

Just a friendly warning ...

Getting started

You can find the repo here.

Top comments (0)