GenSiteHub Documentation
Welcome to the official documentation for GenSiteHub. Learn how to use our AI-powered Web IDE to build, preview, and export web applications directly from your browser.
Getting Started
Learn the basics of using GenSiteHub and how to configure your AI models.
Plan vs. Act Mode
Understand the difference between architecting your project and generating code.
Creating Projects
How to start a new project, write effective prompts, and preview your site.
Exporting Code
How to download your generated code and run it in your local environment.
1. Getting Started
GenSiteHub is a 100% free, browser-based, AI-powered IDE. Because everything runs entirely in your browser, there is no need to make an account or log in to use the tool. Your data is saved locally on your device via IndexedDB.
Watch the Video Tutorial
Prefer a visual guide? Check out our Getting Started Video Tutorial on YouTube to see GenSiteHub in action.
Model Configuration
Before generating code, you may need to ensure your AI configuration is set. We utilize the OpenRouter API to fetch the best models available (such as Claude 3.5 Sonnet, Google Gemini Pro, deepseek, and free models).
- Click the Settings icon in the navigation menu.
- If you have an OpenRouter API key, you can enter it securely. (We do not store this key on our servers; it is stored solely in your local browser storage).
- Select your preferred AI model from the dropdown. You can choose from both free models or premium models.
2. Plan Mode vs. Act Mode
GenSiteHub uniquely splits the development lifecycle into two distinct modes. This split ensures high-quality generation by allowing the AI to structure a proper architecture before rushing into coding.
Plan Mode
When in Plan Mode, your prompts will instruct the AI to act as a Software Architect. The AI will assess your idea, determine the necessary files, libraries, and folder structure required, and write out a detailed project plan. No code files will be modified in this mode. This mode is meant purely for discussion and outlining.
Act Mode
When you toggle into Act Mode, the AI shifts from an Architect to a Developer. Submitting a prompt in Act Mode will instruct the AI to actually write the code based on the established plan. It will create, modify, or delete files directly within the Web IDE environment.
3. Creating & Managing Projects
Starting Fresh
On the homepage, click "Create a Project". You will be taken immediately into the workspace. By default, new workspaces begin in Plan Mode.
Writing Effective Prompts
To get the best results:
- Be Specific: Instead of "Make a blog", try "Make a dark-themed tech blog with a 3-column masonry layout, a sticky header, and a footer featuring a newsletter signup."
- Specify Design Wants: GenSiteHub excels at generating beautiful, 100% Vanilla HTML, CSS, and JS applications. Be descriptive with your layouts and styles.
- Use Plan Mode First: Always discuss your idea in Plan Mode. Once the AI understands the architecture, switch to Act Mode and say "Implement the plan we just discussed."
Using the Split View
The workspace provides a three-pane layout:
- Left Sidebar: Chat interface to communicate with the AI. Includes the Plan/Act mode toggle.
- Middle Editor: Review the raw HTML, CSS, JS, or TSX code generated by the AI. You can select different files from the top tabs.
- Right Preview: A real-time
iframerendering the exact application output. Every time the code updates, the preview hot-reloads instantly.
4. Exporting & Running Locally
Currently, GenSiteHub is intended primarily for generating standard HTML, CSS, and JS web components. Because you maintain 100% ownership over your code, you can easily take your project into a local environment.
- Download Source: You can click the "Download" or "Export" buttons in the navigation bar to download a `.zip` file of all the files inside your Web IDE.
- Running locally: Extract the
.zipfile.
If it is a modern 100% Vanilla HTML, CSS, and JS project, you can simply un-zip the package and openindex.htmlin your browser to run it locally without any installation or build tools.
Need more help?
If you encounter issues or have feedback, feel free to reach out to our team.
Contact Support