↓ Skip to main content

Obsidian (3): Deploying a Native Browser-Based Obsidian with Ignis

·1562 words·8 mins
Jin Li
Author
Jin Li
Fate lies within the lightcone.
Obsidian Series - This article is part of a series.
Part 3: This Article

Motivation
#

In the previous post, I deployed a web version of Obsidian using linuxserver/obsidian. It solved the problem of taking notes on machines where installing desktop software is restricted, but after using it for a while, it never felt clean.

The reason is simple: it wraps the full desktop Obsidian Electron app inside a virtual desktop environment and streams the screen to the browser through KasmVNC. Running a full desktop environment just to edit Markdown notes feels unnecessarily heavy. In practice, the interface also carries remote-desktop toolbars, indirect clipboard pasting through the KasmVNC side panel, extra workarounds for Chinese fonts, and an awkward experience on mobile browsers.

Looking at newer self-hosted projects, there are now ways to run Obsidian directly in the browser without streaming a virtual desktop. After comparing the available options, I retired the old KasmVNC container and deployed Ignis instead, keeping the same Nextcloud vault sync workflow.

Other articles in this series:

Comparing Browser-Based Options
#

Current ways to access Obsidian in a browser fall into three broad categories:

  1. Remote desktop streaming (such as linuxserver/obsidian with KasmVNC or Selkies): runs the full Linux desktop app inside a container and streams video to the browser. It supports every desktop feature, including plugins that depend on local binaries or native Node modules, at the cost of higher resource usage and clunky clipboard, input method, and mobile behavior.
  2. Browser compatibility shims (such as Ignis and Markport): leaves Obsidian itself unmodified and shims the Electron and Node.js APIs it expects so the actual Obsidian frontend executes directly inside a standard browser while vaults stay as plain files on the server.
  3. Clean-room Markdown web clones (such as WebObsidian): independent web apps built from scratch with components like CodeMirror that read and write standard Markdown and .obsidian folders. They avoid downloading Obsidian’s proprietary bundle and often include built-in auth and APIs, but they do not run Obsidian’s real plugin runtime.

Here is a brief comparison of the main candidates I evaluated:

OptionApproachRuns Real Obsidian?Community PluginsDeployment & Sync Notes
linuxserver/obsidianFull Linux desktop + screen streamingYesFullHeavier on CPU/RAM; indirect clipboard, CJK font setup, poor mobile UX
Nystik-gh/ignisElectron/Node shim + server backendYes (tracks 1.13+ / 1.14)Most API-based plugins workNative browser rendering, lightweight, no built-in auth (fits Traefik + Authelia well)
MusiCode1/markport (formerly obsidian-web)Renderer shim (client-first)Yes, capped at 1.12.7Older versions onlyIntentionally does not satisfy Obsidian 1.13’s startup check; geared more toward client-only browser use
xnohat/webobsidianIndependent web app cloneNoLimited; no real Obsidian plugin runtimeBuilt-in single-user password and Git sync; search/graph indices stay in memory

Since all my devices already sync with Nextcloud via the Remotely Save community plugin, running real Obsidian with plugin support was the deciding factor. Ignis is the best fit: it avoids remote desktop wrapping, tracks recent Obsidian releases, uses far fewer resources, and leaves authentication to my existing reverse proxy and Authelia setup without introducing a second login layer.

Prerequisites
#

  • Docker and Docker Compose
  • A reverse proxy with HTTPS, WebSocket support, and authentication (such as Traefik with Authelia, or Caddy/Nginx with Basic Auth)
  • An existing Nextcloud instance for cross-device syncing

For setting up Nextcloud, reverse proxies, and authentication, see my earlier posts:

Deploying Ignis
#

Ignis Overview
#

The Ignis Docker image does not bundle proprietary Obsidian code. On its first start, the entrypoint downloads the pinned official Obsidian release and unpacks it into /app/obsidian-app. The Node.js server then handles filesystem operations, WebSocket updates across tabs, and proxied network requests for plugins.

Because the UI renders directly in the browser, text rendering, CJK display and input methods, native copy/paste, and responsive mobile layout all work naturally, while your notes remain ordinary Markdown files in a host directory.

One important caveat: Ignis has no built-in authentication, and modern browsers disable required APIs (such as clipboard and crypto features) outside HTTPS. Never expose it directly over plain HTTP; always place it behind HTTPS and an authentication layer.

Docker Compose Configuration
#

Create a working directory and host data directories. Check your local UID and GID with id first so container file permissions match your user:

1
2
3
4
id
mkdir -p ~/docker/ignis
mkdir -p /path/to/obsidian/vaults /path/to/obsidian/data
cd ~/docker/ignis

Create docker-compose.yml and .env inside the directory. Pinning an explicit release tag rather than latest keeps upgrades predictable:

  • docker-compose.yml
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
  ignis:
    image: nobbe/ignis:0.9.0
    container_name: ignis
    restart: unless-stopped
    environment:
      PUID: ${PUID:-1000}
      PGID: ${PGID:-1000}
      TZ: ${TZ:-UTC}
      WS_ORIGINS: ${WS_ORIGINS:-}
    volumes:
      - ${VAULTS_DIR:-./vaults}:/vaults
      - ${DATA_DIR:-./data}:/app/data
      - obsidian-app:/app/obsidian-app
    networks:
      traefik-net:
        aliases:
          - ignis
    healthcheck:
      test: ["CMD", "curl", "--silent", "--fail", "http://127.0.0.1:8080/api/version"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 120s

volumes:
  obsidian-app:

networks:
  traefik-net:
    external: true
  • .env
1
2
3
4
5
6
VAULTS_DIR=/path/to/obsidian/vaults
DATA_DIR=/path/to/obsidian/data
PUID=1000
PGID=1000
TZ=UTC
WS_ORIGINS=https://notes.example.com

Key settings explained:

  • VAULTS_DIR and DATA_DIR: bind-mounted to /vaults (your vaults) and /app/data (Ignis server settings).
  • obsidian-app: a named Docker volume that caches the downloaded Obsidian frontend assets so container recreations do not re-download them.
  • PUID / PGID: set to your host user’s UID and GID (note that on some Linux distributions the default user group GID is 100 rather than 1000).
  • WS_ORIGINS: restricts accepted WebSocket Origin headers to your public HTTPS URL to protect against cross-site WebSocket hijacking.
  • healthcheck: checks /api/version; giving start_period: 120s prevents false unhealthy reports while the first startup fetches Obsidian.

Starting and Reverse Proxy Configuration
#

Validate and start the stack:

1
2
3
docker compose config --quiet
docker compose up -d
docker compose logs -f

The first boot takes a minute or two while Ignis downloads and unpacks Obsidian. Once the logs report the server listening on port 8080, verify the local API endpoint:

1
docker exec ignis curl -sS http://127.0.0.1:8080/api/version

A healthy instance responds with JSON similar to:

1
{"version":"0.9.0","build":"...","obsidianVersion":"1.14.4"}

Next, route your domain to http://ignis:8080 behind authentication. With Traefik and Authelia, a dynamic route looks like this:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
http:
  routers:
    ignis:
      rule: Host(`notes.example.com`)
      entryPoints:
        - websecure
      middlewares:
        - authelia
      service: ignis-service
      tls: {}

  services:
    ignis-service:
      loadBalancer:
        servers:
          - url: http://ignis:8080

If you publish the service through Cloudflare Tunnel, add the matching hostname to your tunnel’s ingress rules and point its Cloudflare DNS record to that tunnel. Traefik handles WebSocket upgrades automatically.

Initial Setup and Nextcloud Sync
#

Creating the Vault
#

Open your domain in the browser and sign in through Authelia. On first launch, Ignis opens its Vault Manager:

Ignis Vault Manager

Click Create New Vault in the bottom right and enter the exact same vault name used on your other Obsidian clients (in my case, Jin Li Obsidian) so that Remotely Save maps to the same Nextcloud folder.

Once created, Obsidian loads directly inside the browser without any virtual-desktop chrome:

Ignis Initial Workspace

Configuring Remotely Save
#

If you are migrating from an older container, double-check that all existing notes have already synced to Nextcloud and keep a temporary backup before removing the old container directory.

Inside the fresh vault, configuring sync follows the same steps as post one:

  1. Open Settings from the bottom-left gear icon and enable Community Plugins.

  2. Search for, install, and enable the latest Remotely Save plugin:

    Installing Remotely Save in Ignis
  3. Import your settings string from another device, or enter your Nextcloud WebDAV details manually.

One detail that is easy to get wrong when entering the Nextcloud WebDAV URL manually: if your vault folder in Nextcloud is Jin Li Obsidian, set Server Address to your user’s WebDAV files root:

1
https://<your-nextcloud-domain>/remote.php/dav/files/<username>/

Leave Remote Base Directory empty and do not append Jin Li Obsidian to the URL. Remotely Save automatically looks for a subfolder matching your vault name under the WebDAV root; appending the vault name creates a nested Jin Li Obsidian/Jin Li Obsidian directory instead. For the password, generate a dedicated Nextcloud App Password under Settings → Security → Devices & sessions rather than reusing your main login password.

Trigger a sync from the left sidebar icon to pull all notes from Nextcloud.

Even when Nextcloud and Ignis run on the same host, avoid directly bind-mounting Nextcloud’s internal data/<username>/files/ directory into Ignis for read-write access. Nextcloud manages file indexing (oc_filecache), locks, and version history through its own database and www-data ownership; writing files behind its back leads to stale indexes and sync conflicts. Going through WebDAV—whether via Remotely Save or a server-side tool like nextcloudcmd or rclone—keeps Nextcloud consistent.

Conclusion
#

Moving from linuxserver/obsidian to Ignis makes browser-based Obsidian feel much cleaner. Without a virtual desktop layer in between, text rendering, Chinese display and input, copy/paste, and mobile access all work like a normal web app, with lower overhead and optional PWA standalone window support.

It still has clear boundaries: HTTPS and authentication must be provided by a reverse proxy, and plugins requiring native Node modules or child_process will not run in the browser. For an everyday note-taking workflow backed by Nextcloud and Remotely Save, however, Ignis is a noticeably cleaner replacement.

Obsidian Series - This article is part of a series.
Part 3: This Article