Skip to content

knilink/oh-puhn-text-ui.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

oh-puhn-text-ui.el

Experimental project to the experimental reed.el.

Setup

Clone and Build reed

git clone https://github.com/knilink/reed.el
cd reed.el
git checkout ace8f38
cargo build --release

Clone this repo

git clone https://github.com/knilink/oh-puhn-text-ui.el

Load the dynamic module and elisp script to emacs.d as well as customize completion endpoint and model.

(load "/path/to/reed.el/target/release/libreed.so")
(add-to-list 'load-path "/path/to/reed.el/lisp")
(load "/path/to/oh-puhn-text-ui.el/oh-puhn-text-ui.el")

(setq oh-puhn-text-ui-model "gemma3:27b")
(setq oh-puhn-text-ui-completion-endpoint "http://localhost:11434/v1/chat/completions")

M-x oh-puhn-text-ui to run the app.

Bindings

oh-puhn-text-ui

  • RET: oh-puhn-text-ui-handle-click, open input buffer for user message content at cursor position
  • <tab>: oh-puhn-text-ui-handle-tab, expand/collapse reasoning block
  • [: oh-puhn-text-ui-swipe-left, swipe to previous message at cursor position
  • ]: oh-puhn-text-ui-swipe-right, swipe to next message at cursor position
  • C-r: oh-puhn-text-ui-regenerate, regenerate assistant message at cursor position
  • C-c C-c: oh-puhn-text-ui-abort, abort streaming
  • C-x e: oh-puhn-text-open-editor open new message input editor
  • M-p: oh-puhn-hover-previous-message move cursor to previous chat message
  • M-n: oh-puhn-hover-next-message move cursor to previous chat message

oh-puhn-text-ui-input

  • C-x s: save and submit user message content
  • C-g: abort editing

Demo

demo-20250625.mp4

About

Yet another llm frontend but text ui

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors