integrations.rst 9.9 KB

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