integrations.rst 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. :tocdepth: 2
  2. Integrations with other tools
  3. ================================
  4. kitty provides extremely powerful interfaces such as :doc:`remote-control` and
  5. :doc:`kittens/custom` and :doc:`kittens/icat` that allow it to be integrated
  6. with other tools seamlessly.
  7. Image and document viewers
  8. ----------------------------
  9. Powered by kitty's :doc:`graphics-protocol` there exist many tools for viewing
  10. images and other types of documents directly in your terminal, even over SSH.
  11. .. _tool_termpdf:
  12. `termpdf.py <https://github.com/dsanson/termpdf.py>`_
  13. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  14. A terminal PDF/DJVU/CBR viewer
  15. .. _tool_tdf:
  16. `tdf <https://github.com/itsjunetime/tdf>`_
  17. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18. A terminal PDF viewer
  19. .. _tool_fancy_cat:
  20. `fancy-cat <https://github.com/freref/fancy-cat>`_
  21. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  22. A terminal PDF viewer
  23. .. _tool_mdcat:
  24. `mdcat <https://github.com/lunaryorn/mdcat>`_
  25. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  26. Display markdown files nicely formatted with images in the terminal
  27. .. _tool_ranger:
  28. `ranger <https://github.com/ranger/ranger>`_
  29. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  30. A terminal file manager, with previews of file contents powered by kitty's
  31. graphics protocol.
  32. .. _tool_nnn:
  33. `nnn <https://github.com/jarun/nnn/>`_
  34. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  35. Another terminal file manager, with previews of file contents powered by kitty's
  36. graphics protocol.
  37. .. _tool_yazi:
  38. `Yazi <https://github.com/sxyazi/yazi>`_
  39. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  40. Blazing fast terminal file manager, with built-in kitty graphics protocol support
  41. (implemented both Classic protocol and Unicode placeholders).
  42. .. _tool_hunter:
  43. `hunter <https://github.com/rabite0/hunter>`_
  44. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  45. Another terminal file manager, with previews of file contents powered by kitty's
  46. graphics protocol.
  47. .. _tool_presentterm:
  48. `presenterm <https://github.com/mfontanini/presenterm>`_
  49. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  50. Show markdown based slides with images in your terminal, powered by the
  51. kitty graphics protocol.
  52. .. _tool_term_image:
  53. `term-image <https://github.com/AnonymouX47/term-image>`__
  54. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  55. Tool to browse images in a terminal using kitty's graphics protocol.
  56. .. _tool_koneko:
  57. `koneko <https://github.com/twenty5151/koneko>`_
  58. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  59. Browse images from the pixiv artist community directly in kitty.
  60. .. _tool_viu:
  61. `viu <https://github.com/atanunq/viu>`_
  62. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  63. View images in the terminal, similar to kitty's icat.
  64. .. _tool_nb:
  65. `nb <https://github.com/xwmx/nb>`_
  66. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  67. Command line and local web note-taking, bookmarking, archiving, and knowledge
  68. base application that uses kitty's graphics protocol for images.
  69. .. _tool_w3m:
  70. `w3m <https://github.com/tats/w3m>`_
  71. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  72. A text mode WWW browser that supports kitty's graphics protocol to display
  73. images.
  74. .. _tool_awrit:
  75. `awrit <https://github.com/chase/awrit>`__
  76. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  77. A full Chromium based web browser running in the terminal using kitty's
  78. graphics protocol.
  79. .. _tool_chawan:
  80. `chawan <https://sr.ht/~bptato/chawan/>`__
  81. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  82. A text mode WWW browser that supports kitty's graphics protocol to display
  83. images.
  84. .. _tool_mpv:
  85. `mpv <https://github.com/mpv-player/mpv/commit/874e28f4a41a916bb567a882063dd2589e9234e1>`_
  86. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  87. A video player that can play videos in the terminal.
  88. .. _tool_timg:
  89. `timg <https://github.com/hzeller/timg>`_
  90. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  91. A terminal image and video viewer, that displays static and animated images or
  92. plays videos. Fast multi-threaded loading, JPEG exif rotation, grid view and
  93. connecting to the webcam make it a versatile terminal utility.
  94. System and data visualisation tools
  95. ---------------------------------------
  96. .. _tool_neofetch:
  97. `neofetch <https://github.com/dylanaraps/neofetch>`_
  98. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  99. A command line system information tool that shows images using kitty's graphics
  100. protocol
  101. .. _tool_matplotlib:
  102. `matplotlib <https://github.com/jktr/matplotlib-backend-kitty>`_
  103. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  104. Show matplotlib plots directly in kitty
  105. .. _tool_KittyTerminalImage:
  106. `KittyTerminalImages.jl <https://github.com/simonschoelly/KittyTerminalImages.jl>`_
  107. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  108. Show images from Julia directly in kitty
  109. .. _tool_euporie:
  110. `euporie <https://github.com/joouha/euporie>`_
  111. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  112. A text-based user interface for running and editing Jupyter notebooks, powered
  113. by kitty's graphics protocol for displaying plots
  114. .. _tool_gnuplot:
  115. `gnuplot <http://www.gnuplot.info/>`_
  116. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  117. A graphing and data visualization tool that can be made to display its output in
  118. kitty with the following bash snippet:
  119. .. code-block:: sh
  120. function iplot {
  121. cat <<EOF | gnuplot
  122. set terminal pngcairo enhanced font 'Fira Sans,10'
  123. set autoscale
  124. set samples 1000
  125. set output '|kitten icat --stdin yes'
  126. set object 1 rectangle from screen 0,0 to screen 1,1 fillcolor rgb"#fdf6e3" behind
  127. plot $@
  128. set output '/dev/null'
  129. EOF
  130. }
  131. Add this to bashrc and then to plot a function, simply do:
  132. .. code-block:: sh
  133. iplot 'sin(x*3)*exp(x*.2)'
  134. .. tool_tgutui:
  135. `tgutui <https://github.com/tgu-ltd/tgutui>`_
  136. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  137. A Terminal Operating Test hardware equipment
  138. .. tool_onefetch:
  139. `onefetch <https://github.com/o2sh/onefetch>`_
  140. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  141. A tool to fetch information about your git repositories
  142. .. tool_patat:
  143. `patat <https://github.com/jaspervdj/patat>`_
  144. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  145. Terminal based presentations using pandoc and kitty's image protocol for
  146. images
  147. .. tool_wttr:
  148. `wttr.in <https://github.com/chubin/wttr.in>`_
  149. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  150. A tool to display weather information in your terminal with curl
  151. .. tool_wl_clipboard:
  152. `wl-clipboard-manager <https://github.com/maximbaz/wl-clipboard-manager>`_
  153. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  154. View and manage the system clipboard under Wayland in your kitty terminal
  155. Editor integration
  156. -----------------------
  157. |kitty| can be integrated into many different terminal based text editors to add
  158. features such a split windows, previews, REPLs etc.
  159. .. tool_kakoune:
  160. `kakoune <https://kakoune.org/>`_
  161. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  162. Integrates with kitty to use native kitty windows for its windows/panels and
  163. REPLs.
  164. .. tool_vim_slime:
  165. `vim-slime <https://github.com/jpalardy/vim-slime#kitty>`_
  166. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  167. Uses kitty remote control for a Lisp REPL.
  168. .. tool_vim_kitty_navigator:
  169. `vim-kitty-navigator <https://github.com/knubie/vim-kitty-navigator>`_
  170. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  171. Allows you to navigate seamlessly between vim and kitty splits using a
  172. consistent set of hotkeys.
  173. .. tool_vim_test:
  174. `vim-test <https://github.com/vim-test/vim-test>`_
  175. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  176. Allows easily running tests in a terminal window
  177. .. tool_nvim_image_viewers:
  178. Various image viewing plugins for editors
  179. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  180. * `image.nvim <https://github.com/3rd/image.nvim>`_ - Bringing images to neovim
  181. * `image_preview.nvim <https://github.com/adelarsq/image_preview.nvim/>`_ - Image preview for neovim
  182. * `hologram.nvim <https://github.com/edluffy/hologram.nvim>`_ - view images inside nvim
  183. Scrollback manipulation
  184. -------------------------
  185. .. tool_kitty_scrollback_nvim:
  186. `kitty-scrollback.nvim <https://github.com/mikesmithgh/kitty-scrollback.nvim>`_
  187. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  188. Browse the scrollback buffer with Neovim, with simple key actions for efficient
  189. copy/paste and even execution of commands.
  190. .. tool_kitty_search:
  191. `kitty-search <https://github.com/trygveaa/kitty-kitten-search>`_
  192. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  193. Live incremental search of the scrollback buffer.
  194. .. tool_kitty_grab:
  195. `kitty-grab <https://github.com/yurikhan/kitty_grab>`_
  196. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  197. Keyboard based text selection for the kitty scrollback buffer.
  198. Miscellaneous
  199. ------------------
  200. .. tool_kitty_smart_tab:
  201. `kitty-smart-tab <https://github.com/yurikhan/kitty-smart-tab>`_
  202. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  203. Use keys to either control tabs or pass them onto running applications if no
  204. tabs are present
  205. .. tool_kitty_smart_scroll:
  206. `kitty-smart-scroll <https://github.com/yurikhan/kitty-smart-scroll>`_
  207. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  208. Use keys to either scroll or pass them onto running applications if no
  209. scrollback buffer is present
  210. .. tool_kitti3:
  211. `kitti3 <https://github.com/LandingEllipse/kitti3>`_
  212. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  213. Allow using kitty as a drop-down terminal under the i3 window manager
  214. .. tool_weechat_hints:
  215. `weechat-hints <https://github.com/GermainZ/kitty-weechat-hints>`_
  216. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  217. URL hints kitten for WeeChat that works without having to use WeeChat's
  218. raw-mode.
  219. .. tool_glkitty:
  220. `glkitty <https://github.com/michaeljclark/glkitty>`_
  221. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  222. C library to draw OpenGL shaders in the terminal with a glgears demo