You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
copy your org-roam notes in the "content" subfolder
copy your emacs' init.el to "my-org-roam-notes" folder and insert the publishing definition below
;; Load the publishing system
(require 'ox-publish)
(message "Build complete!")
;; Define the publishing project
(setq org-publish-project-alist
(list
(list "my-org-site"
:recursive t
:base-directory "./content"
:publishing-directory "./public"
:publishing-function 'org-ascii-publish-to-utf8 ;;export to ascii text with utf8 encoding
:with-author nil ;;don't include author name
:with-creator nil ;;don't include emacs and org versions in footer
:with-toc nil ;;don't include table of contents
:section-numbers nil ;;don't include section numbers
:time-stamp-file nil)))
;; Generate the site output
(org-publish-all t)
create a build.sh bash script in the "my-org-roam-notes" with the following content in
#!/bin/sh
emacs -Q --script build-site.el
make build.sh executable and run it
chmod u+x build.sh
./build.sh
your exported notes in ascii utf8 will be in the "public" subdirectory, check if it all were exported.
some notes may fail to export due to errors in your org-ref biblatex entries. Correct them and reexport the missing notes.
some notes may fail to export for unknown reasons like ones with url, rename the old "content" folder to "content.bak", create a new "content" folder and move the missing notes there and reexport.
Ingest the notes in localGPT
When you have your notes in ascii txt format in the "publish" subfolder, copy the folder to the SOURCE_DOCUMENTS folder of localGPT
run python ingest.py
Ask questions to your notes, locally!
This is a great way to complement your zettelkasten system in org-roam.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Publish emacs org-roam notes to ascii utf8
Ingest the notes in localGPT
When you have your notes in ascii txt format in the "publish" subfolder, copy the folder to the SOURCE_DOCUMENTS folder of localGPT
run
python ingest.py
Ask questions to your notes, locally!
This is a great way to complement your zettelkasten system in org-roam.
Beta Was this translation helpful? Give feedback.
All reactions