Skip to content
Spaka
Download

Guides · 8 of 11

Publish your website or app

Put your website or app online at a spaka.page address in one click, or with GitHub Pages, Cloudflare, a server of your own or a folder of files.

Nothing you build in Spaka is online until you publish it. Click Publish in the preview bar (⇧⌘P on a Mac, Ctrl+Shift+P on Windows). The Publish your website or app dialog opens on the recommended way, Spaka’s own hosting, with the other ways underneath.

Spaka’s hosting puts your website or app online at an address of its own, <name>.spaka.page. It keeps what visitors send through your forms, with nothing to set up.

  1. In the On Spaka card, check the address. Spaka proposes one from the name of your website or app and checks it as you type: “This address is free”. An address uses 3 to 63 lowercase letters, digits and dashes, starting with a letter. When one is taken, Spaka suggests free ones.
  2. Click the Publish to button, which names the address, for example Publish to field-and-fern.spaka.page.
  3. The first time, sign in to your Spaka account: enter your e-mail address and click Send link. Open the link from the e-mail on any device within 15 minutes, then confirm on its page. There is no password. Publishing then starts by itself.
The Publish dialog, with the address on spaka.pageThe Publish dialog, with the address on spaka.page

The dialog then shows the real steps: the pages made, the images made smaller, the server modules made when your website or app has some, what changed being sent, the switch to the new version. Then Your website or app is online, with Open in browser, Copy link, and a QR code under See it on your phone.

Your Spaka account is separate from your AI accounts. It heads the settings’ sidebar, where its page lists your websites and apps on spaka.page. Sign out leaves them online.

Once your website or app is online on spaka.page or GitHub Pages, the Publish button says its state:

  • Online, with a green dot: everything is online.
  • Online · 3 changes: you changed things that are not online yet.
  • Publishing… while it goes online.
  • Not published, with a red dot: the last publishing failed. The version online is the one before, and your changes are kept.

Click the button to open a small panel: the changes, page by page, and Publish 3 changes. Publishing runs right there; you can close the panel meanwhile. Copy link and Open are its icon buttons, and More… opens the whole dialog. On spaka.page, that dialog has Publish the changes, What visitors sent and Publish somewhere else; on GitHub Pages, Publish the changes, The repository on GitHub and Publish somewhere else.

For now, a website or app on Spaka’s hosting keeps its spaka.page address: a domain name of your own cannot be connected to it yet.

Under the On Spaka card, or put it online elsewhere shows four other ways. Each has its own screen, with every step numbered from the start.

Way What it keeps What you need
GitHub Pages Pages only A GitHub account
Cloudflare Pages and what visitors send A Cloudflare account, Node.js, a terminal
A server Pages and what visitors send A server you can connect to, Docker or Node.js, a terminal
A folder The files of your website or app, for any web host (a Node server when a page shows what visitors send) —

A way that cannot take your website or app says why, and offers Spaka’s hosting instead. See Content and forms for forms.

Spaka publishes on GitHub Pages for you, for free, with a GitHub account.

  1. Click Connect GitHub. Step one, Enter a code on GitHub: click Copy and open GitHub, paste the code there and confirm.
  2. Step two, Allow Spaka on your account: click Open GitHub, then Install. If you already have repositories, choose Only select repositories and pick any one; if you have none, keep All repositories. Spaka only changes the repositories it creates.
  3. Check the repository’s name, proposed from the name of your website or app, then click the Publish to button. The address is <account>.github.io/<name>.

Spaka creates a public repository that holds the files of your website or app, sends them, and waits while GitHub builds the pages. Afterwards, Publish the changes puts your changes online, and The repository on GitHub opens it.

Both are marked Technical. The first step, Save your website or app in a folder, proposes one (Documents › Spaka › Exports, then the name of your website or app; Change… picks another): click Save. The next steps then list the commands to run in a terminal, in that folder, each with Copy. The folder’s README.md has the same steps and more. Once your website or app is online, give its address in its settings (the button before its name, above the conversation), under Published website or app, so that the Content tab can read what visitors send.

Save writes the files of your website or app into a folder. Upload what the folder holds to any web host, with the tool it gives you. When a page of your website or app shows what visitors send, such as a guestbook, the folder holds a Node server instead of plain files, and its README.md says how to run it.

Spaka does not sell domain names for now: you buy one from a registrar. On the screens of Cloudflare and a server, Your own domain name explains how to connect it. On the GitHub Pages screen, it shows until your website or app is online there, and leads to GitHub Pages’ help. With a domain name on GitHub Pages, set the Base path of your website or app back to / in its settings, under Advanced.

If some pages of a website or app started from a template are not adapted yet, the dialog names them first, with Continue the adaptation or Publish anyway. See Start from a template.