Self host
This page is for internal use atm, but hopefully will eventually be useful for wider public.
In-house docs (this website ++)
Section titled “In-house docs (this website ++)”-
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 -
For each
content/docs/
topic, add an entry in thesrc/starlightConfig.ts
.
-
To change the home page, the
pages/index.astro
file, or common components, shall be edited. -
Files other than markdowns, can be copied to the
public
folder. -
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
OpenAI Whisper + Ollama
Section titled “OpenAI Whisper + Ollama”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
cd "${WEB_APPS_DIR}/whisper2ollama"make build
Deploy:
(cd "$WEB_APPS_DIR/whisper2ollama" && make deployLocal)
UI: Open whisper2ollama piped through pinggy or localhost:8003 in your browser