Hostinger Horizons: Manage files and data

Hostinger Horizons file management using the integrated backend and code editor

Updated 4 weeks ago

Hostinger Horizons is a prompt-based tool for creating websites and web applications without manual coding. While the AI handles the architecture, you may need to access the codebase for manual edits or manage your project’s data storage. This article covers how to use the built-in code editor and the integrated backend for file and data management.

How to access the Hostinger Horizons code editor

You can view and modify the underlying code of your project directly within the platform.

  1. In the top navigation bar, click the Code button. The file structure appears on the left, with the code editor on the right.
  2. Select the file to edit.
  3. Make your desired changes and click Save. If you wish to cancel, click Discard.
    Hostinger Horizons code editor with the Code tab, index.html file, and Save button highlighted

NOTES

  • Changes to system files can cause website errors.
  • Once saved, changes cannot be automatically reverted.

For more details, refer to the Hostinger Horizons code editor guide.

How to manage data and user-uploaded files

Hostinger Horizons does not support traditional file management via FTP, SSH, or a standard File Manager. Instead, it uses an integrated backend with a database-like structure to store and manage data and user-uploaded files.

This backend automatically handles information from features like user logins, forms, or dynamic content. To store user-uploaded files (such as images or documents) in this system, you must have the Data tab enabled.

If the Data tab is not available, enable integrated storage:

  • In your Horizons project, enter a prompt similar to the following: “Store all user-uploaded files using the integrated backend file storage instead of the local filesystem.”
  • Horizons will automatically configure the storage system for your project.

Once data storage is enabled

  1. In the top navigation bar, click the Data button to access your project’s data.
  2. Select Test data or Live data depending on which environment you want to manage.
  3. Select the relevant collection to store the files and click Add New record.
    Horizons integrated backend data tab with highlighted New Record button on _integrated collection
  4. Enter a custom ID for the file or leave it empty to autogenerate one.
  5. Upload the file and click Create.

NOTES

  • The folder structure is autogenerated by the AI and cannot be manually customized.
  • Not all file formats may be supported.
  • To change an existing image on your website without using the data backend, you can use the Hostinger Horizons visual editor.

File management limitations in Hostinger Horizons

Because Horizons uses an AI-driven architecture, there are specific limitations compared to traditional hosting.

  • Restricted access: System and internal configuration files are not accessible via the code editor.
  • File operations: You cannot create, upload, or delete entire code files manually through the code editor. File-structure changes via prompt is not recommended and may not work or generate unintended output.
  • No traditional access: There is no support for FTP, SFTP, or SSH.
  • Storage limits: The integrated backend includes up to 5GB of storage per project during the beta period.

Alternatives for custom file management

If your project requires high flexibility or large-scale file handling, consider these options.

  • External providers: Services like AWS S3, Cloudinary, or Supabase Storage can be integrated to your Horizons project using prompts.
  • Hostinger hosting plan storage: You can host files on a separate website on your Hostinger hosting plan and reference them in Horizons via URL.
    • Add a new empty custom PHP/HTML website to your hosting plan.
    • Connect the new website to a custom domain or subdomain.
    • Upload files using File Manager.

By using the integrated backend and code editor, you can maintain control over your project’s data and logic without needing external databases.

Additional resources