Skip to content

Self Hosting

Hatem Soliman edited this page Nov 28, 2026 · 3 revisions

Self Hosting

Build the app

./build.sh           # build/Khor.app
./build.sh install   # also copy to ~/Applications and launch

The build compiles mac/Sources/*.swift with swiftc, copies web/ into the app and signs it ad hoc.

Host the demo

The web folder is a static site with no build step.

  • Vercel: import the repo. vercel.json serves web/ with a strict content security policy.
  • Anything else: serve web/ as static files.
  • Locally: python3 -m http.server 8765 --directory web

Font

The landing page uses Dubai Font, which isn't included. To host it, put the files in web/fonts/ as Dubai-Light, Dubai-Regular, Dubai-Medium and Dubai-Bold (.woff2 or .ttf), if its licence allows that. Without them, it uses the system font.

Publish this wiki

scripts/publish-wiki.sh copies docs/wiki/ into the GitHub wiki.

Clone this wiki locally