summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-02-24 06:22:47 +0100
committercashmere <cashmere@autistici.org>2026-02-24 06:22:47 +0100
commit72c84bdbc6a8f8aacc8c8da84a671dd6602f9cea (patch)
tree70f0c1fd34b4c12b7846f5f2e2baff9162d8c3a3
parentc9ddca60818ab2e3853a42cd5bb90ff6360d1f11 (diff)
downloadkitty-graphics-72c84bdbc6a8f8aacc8c8da84a671dd6602f9cea.tar.gz
Add demo files
-rw-r--r--README.org6
-rw-r--r--demo-1.gifbin0 -> 1660723 bytes
-rw-r--r--demo-2.gifbin0 -> 2072966 bytes
-rw-r--r--test-image.pngbin0 -> 2702 bytes
-rw-r--r--test-kitty-gfx.org30
5 files changed, 36 insertions, 0 deletions
diff --git a/README.org b/README.org
index 403347f..da53816 100644
--- a/README.org
+++ b/README.org
@@ -3,6 +3,12 @@
Display images in terminal Emacs (~emacs -nw~) using the [[https://sw.kovidgoyal.net/kitty/graphics-protocol/][Kitty graphics protocol]].
+* Demo
+
+[[file:demo-1.gif]]
+
+[[file:demo-2.gif]]
+
* Foreword
I got the opportunity to subscribe to the highest Claude level. I'm allowed to use it outside of work. I was able to extend Emacs in terminal mode with the kitty protocol. Out of curiosity I wanted to know if a thought I had for months was possible or not, which was basically to extend libvterm with the kitty image protocol and then utilize vterm to display those images inside Emacs Terminal.
diff --git a/demo-1.gif b/demo-1.gif
new file mode 100644
index 0000000..185e454
--- /dev/null
+++ b/demo-1.gif
Binary files differ
diff --git a/demo-2.gif b/demo-2.gif
new file mode 100644
index 0000000..f4cedae
--- /dev/null
+++ b/demo-2.gif
Binary files differ
diff --git a/test-image.png b/test-image.png
new file mode 100644
index 0000000..8b6f04c
--- /dev/null
+++ b/test-image.png
Binary files differ
diff --git a/test-kitty-gfx.org b/test-kitty-gfx.org
new file mode 100644
index 0000000..4b34193
--- /dev/null
+++ b/test-kitty-gfx.org
@@ -0,0 +1,30 @@
+#+TITLE: Kitty Graphics Test
+
+* Test inline images
+
+Here is an inline image using file: link:
+
+[[file:test-image.png]]
+
+Some text after the image to verify overlay positioning.
+
+* Another section
+
+This section has no images, just text to test scrolling behavior.
+
+Line 1
+Line 2
+Line 3
+Line 4
+Line 5
+Line 6
+Line 7
+Line 8
+Line 9
+Line 10
+
+* Relative path test
+
+[[./test-image.png]]
+
+End of test file.