Back to Home
Documentation

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.

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:

  1. 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."
  2. Specify Design Wants: GenSiteHub excels at generating beautiful, 100% Vanilla HTML, CSS, and JS applications. Be descriptive with your layouts and styles.
  3. 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 iframe rendering 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.

  1. 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.
  2. Running locally: Extract the .zip file.

    If it is a modern 100% Vanilla HTML, CSS, and JS project, you can simply un-zip the package and open index.html in 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