1.8 KiB
To reproduce the archive, the following dependencies should be met:
this tutorial is for macOS only, but you should be able to get it running anywhere that can run ollama
Currently, all paths are hard-coded, so the scripts will only work if the Repository is cloned to the home directory Plus, you have to adjust either your username or the entire path in the scripts
Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
git
brew install git
Node.js and npm, as well as yarn
brew install node
npm install --global yarn
Babashka and Clojure
brew install borkdude/brew/babashka
brew install clojure/tools/clojure
both prerequisites for publish-spa
Publish-spa
git clone https://github.com/logseq/publish-spa
cd publish-spa && yarn install
yarn global add $PWD
this is a tool used to automatically publish the logseq archive everything works without, but you will have to manually export the archive
The Logseq desktop app (optional)
brew install --cask logseq
only if you want a convenient way to modify the archive
Python
brew install python@3.13
Ollama
brew install --cask ollama
I am using the cask here because it autostarts the server, but you can also use the CLI version if you prefer. ollama handles all the LLM needs. if that is not needed, you can skip this step
The Archive Repository
git clone arontaupe/thesis
Make the script executable
cd thesis/code
chmod +x publish.sh
chmod +x scan.sh
then, either run the scripts individually or use the provided app that should now work
./scan.sh
./publish.sh
the app is called Scan to Archive
and should be in the thesis folder