Install or self-host the Axion Notes web app

Run Axion Notes in a modern browser, install it as a browser app where supported, or deploy the static web build on your own server.

Before you begin

The Axion Notes web edition runs in a modern browser and does not require Node.js, npm, PHP, a database, or an online account. SolisWare currently distributes it as a static web build for self-hosting rather than as a hosted notes service.

What is a single-page application?

Axion Notes is a React single-page application, commonly shortened to SPA. The server initially returns one index.html file, and JavaScript then changes views and routes inside the browser without requesting a separate HTML document for every screen.

This affects how the app must be hosted. Routes such as /home and /welcome are browser routes, so the web server must return index.html when a requested route is not a real file or directory.

Self-host the web app

  1. Open the Axion Notes releases page on GitHub.
  2. Open the latest release and find its Assets section.
  3. Download the archive whose filename ends in -web.zip.
  4. Extract the downloaded archive. If it contains another ZIP archive, extract that archive as well.
  5. Locate the build containing index.html, static, manifest.json, and the app icons.
  6. Upload the build contents to the root directory of a domain or subdomain served over HTTPS.
  7. Configure the server’s SPA fallback, then open the site in a browser.

Configure SPA routing

Keep real files and directories accessible, but send every other request to index.html. Without this fallback, refreshing a route such as /home may produce a server-generated 404 page.

For Apache, place an .htaccess file beside index.html:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.html [L]

For Nginx, use a fallback in the site’s root location:

location / {
    try_files $uri $uri/ /index.html;
}

After deployment, verify that the site loads at / and that directly opening or refreshing /home and /welcome returns the app rather than a 404 page.

Install the web app from your browser

The web build includes an app manifest, icons, and standalone display settings. A compatible browser may therefore offer an option such as Install app, Install Axion Notes, Add to Dock, or Create shortcut while the hosted app is open.

  1. Open the hosted Axion Notes web app in your preferred browser.
  2. Open the browser’s page or application menu.
  3. Select the available install, dock, or shortcut option.
  4. Confirm the installation and open Axion Notes from the shortcut created by the browser.

The exact option and its location vary by browser and operating system. Installing the site this way gives it an app-like window, but it does not convert it into the Electron desktop edition or add desktop-only features.

Web app data

Notes and settings remain in browser localStorage for the exact origin hosting Axion Notes. Installing the site as a browser app does not enable synchronization, create a cloud copy, or move the notes into the desktop edition.

Read Web app storage before clearing browser data, changing the site origin, or replacing a self-hosted deployment.

Offline availability

The current web build does not include a service worker for deliberately caching the application files. A browser-installed shortcut may look and behave like a standalone app, but reliable offline startup is not currently supported. The hosting server should remain available whenever you open or reload the web app.