Get Started with Buildglare
Welcome to Buildglare! Let's explore how to build beautiful websites using natural language instead of drag-and-drop.
What is Buildglare?
Buildglare is a revolutionary site builder that replaces traditional drag-and-drop interfaces with natural language interactions. It separates frontend and backend concerns, focusing on frontend construction while leaving backend functionality to plugins.
For example, BuildglareForms is a headless form plugin that handles form data collection, spam detection, storage, and notifications, while Buildglare manages the frontend form styling.
Core Concepts
Pages
Individual web pages like Home, About, or Contact pages that make up your website.
Routes
Unique identifiers for pages starting with '/', like '/about' or '/blog/*' where '*' represents parameters.
Components
Reusable elements like headers, footers, and sidebars that can be shared across multiple pages.
How It Works
Cloudflare Workers
Each page and component is created as a Cloudflare Worker, using pure JavaScript, HTML, and CSS without any framework dependencies.
Request Flow
When visitors access your site, requests go through Buildglare's Dispatcher Worker, which routes them to the appropriate Page Worker.
Component Assembly
Pages fetch and assemble their required components to create the final HTML response for the browser.
Development Tips
Chat with AI
Use natural language to create and modify your site. For example:
- "Create an /about page"
- "Add a header component to the /about page"
- "Style the navigation menu in the header"
Element Selector
Use the Element Selector (mouse icon) in the chat interface to easily reference specific elements you want to modify.
Development vs Production
Development
{siteName}.buildglare.dev
{siteName}.buildglarecomponents.dev
Production
{siteName}.buildglare.com
{siteName}.buildglarecomponents.com
Plugin System
Extend your site's functionality with Buildglare's plugin system. Manage plugins in the plugins page:
- Authorize plugins to access your account
- Revoke plugin access at any time
- Each plugin adds specific functionality to your site