vendor: import org-roam blog export and helpers from mac@0789326
New files, no local counterpart, taken verbatim from upstream:
qwan/org-roam-export-blog.el org-roam note -> firehose draft / jekyll draft
qwan/org-roam-export-blog-test.el 364-line ERT suite for the above
qwan/test-fixtures/vault/ vault fixture (notes + .attach tree)
mostalive/{my-org-roam,convert-chats-to-org,journelly-convert-entry-to-org-roam}.el
config-local.example.el template for gitignored config-local.el
elfeed.org, mise.toml feed list; node 24 pin (2ad9dfd)
Not imported, deliberately:
qwan/qwan-markdown-dnd.el earlier, cruder prototype of the same idea as
our firehose-blog.el: copies dropped files to a
cwd-relative dir, overwrites on name clash,
no year dirs, no tests, and evaluates an
ert-deftest at load time (upstream had to
disable it in 7153a24/e1d2415). Installing it
alongside firehose-blog.el would put two
handlers in dnd-protocol-alist for markdown
buffers. Ours supersedes it.
.devcontainer/, run-container.sh, coe-xx/, .pi/, CLAUDE.md, investigation.md
container/game-and-watch/agent scaffolding
README.org, AGENTS.md upstream's docs; ours are doom-specific
Nothing is wired up yet -- these files are inert until the next commit
requires them. Note that mostalive/my-org-roam.el shadows the `my-org-roam'
we currently load from ~/dev/emacs/org-roaming, so do not put mostalive/ on
the load-path without deciding which one wins.
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
;;; config-local.example.el --- Template for machine-specific config -*- lexical-binding: t; -*-
|
||||
;;
|
||||
;; Copy this file to config-local.el and uncomment/modify the section for your setup.
|
||||
;; config-local.el is gitignored, so each machine can have its own configuration.
|
||||
|
||||
;;; ============================================================================
|
||||
;;; OPTION 1: Linux with Ollama (local models)
|
||||
;;; ============================================================================
|
||||
|
||||
;; (setq gptel-backend (gptel-make-ollama "Ollama"
|
||||
;; :host "localhost:11434"
|
||||
;; :stream t
|
||||
;; :models '(qwen2.5-coder:7b
|
||||
;; qwen3:32b
|
||||
;; llama3.2:latest))
|
||||
;; gptel-model 'qwen2.5-coder:7b)
|
||||
;;
|
||||
;; (setq-default gptel-model 'qwen2.5-coder:7b)
|
||||
;;
|
||||
;; (gptel-make-preset 'explain
|
||||
;; :system "Explain what this code does to a novice programmer."
|
||||
;; :model 'qwen2.5-coder:7b
|
||||
;; :backend "Ollama")
|
||||
|
||||
;;; ============================================================================
|
||||
;;; OPTION 2: macOS connecting to remote Linux server
|
||||
;;; ============================================================================
|
||||
|
||||
;; (setq gptel-backend (gptel-make-openai "remote-llama"
|
||||
;; :host "linux-server.local:8000" ; your server's hostname
|
||||
;; :protocol "http"
|
||||
;; :stream t
|
||||
;; :models '(Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf))
|
||||
;; gptel-model 'Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf)
|
||||
;;
|
||||
;; (setq-default gptel-model 'Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf)
|
||||
;;
|
||||
;; (gptel-make-preset 'explain
|
||||
;; :system "Explain what this code does to a novice programmer."
|
||||
;; :model 'Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf
|
||||
;; :backend "remote-llama")
|
||||
|
||||
;;; ============================================================================
|
||||
;;; OPTION 3: Linux with local llama.cpp server
|
||||
;;; ============================================================================
|
||||
|
||||
;; (setq gptel-backend (gptel-make-openai "llama.cpp"
|
||||
;; :host "localhost:8000"
|
||||
;; :protocol "http"
|
||||
;; :stream t
|
||||
;; :models '(Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf))
|
||||
;; gptel-model 'Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf)
|
||||
;;
|
||||
;; (setq-default gptel-model 'Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf)
|
||||
;;
|
||||
;; ;; Also add Ollama as secondary backend
|
||||
;; (gptel-make-ollama "Ollama"
|
||||
;; :host "localhost:11434"
|
||||
;; :stream t
|
||||
;; :models '(qwen2.5-coder:7b qwen3:0.6B))
|
||||
;;
|
||||
;; (gptel-make-preset 'explain
|
||||
;; :system "Explain what this code does to a novice programmer."
|
||||
;; :model 'Qwen3-Coder-30B-A3B-Instruct-Q6_K.gguf
|
||||
;; :backend "llama.cpp")
|
||||
;;
|
||||
;; (gptel-make-preset 'elixir
|
||||
;; :system "You are an expert programmer, specialising in Elixir and TDD, you live in Emacs"
|
||||
;; :model 'Qwen3-Coder-30B-A3B-Instruct-Q6_K.gguf
|
||||
;; :backend "llama.cpp")
|
||||
|
||||
;;; config-local.example.el ends here
|
||||
Reference in New Issue
Block a user