Skip to content

Self host

This page is for internal use atm, but hopefully will eventually be useful for wider public.


  1. Organize your markdown as follows, as per AstroJS docs, in any root directory:

    Terminal window
    ├── src/
    ├── starlightConfig.ts
    ├── content/docs/
    ├─ topic-1/
    ╰─ file-1.md, file-2 ...
    ╰─ topic-2/
    ╰─ file-1.md, folder/ ...
    ╰── pages/ # optional
    ╰─ index.astro
    ╰── public/ # optional
    ╰── images, js, wasm, html files
  2. For each content/docs/ topic, add an entry in the src/starlightConfig.ts.

  1. To change the home page, the pages/index.astro file, or common components, shall be edited.

  2. Files other than markdowns, can be copied to the public folder.

  3. Cherry-pick from following commands to build, rebuild and serve the contents locally:

    Terminal window
    # First source our global bashrc file, then run:
    htBuildLocal & # after each change of contents

A web app for using OpenAI Whisper and Ollama as a private assistant.

Repo: gitea/aliraeini/whisper2ollama (TODO make public once stable)

Initial build:

Clone git repo and set env var WEB_APPS_DIR=<path/to/root/dir/of/> whisper2ollama

Terminal window
cd "${WEB_APPS_DIR}/whisper2ollama"
make build

Deploy:

Terminal window
(cd "$WEB_APPS_DIR/whisper2ollama" && make deployLocal)

UI: Open whisper2ollama piped through pinggy or localhost:8003 in your browser