ansicat.1 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .Dd August 27, 2023
  2. .Dt ANSICAT 1
  3. .Os
  4. .
  5. .Sh NAME
  6. .Nm ansicat
  7. .Nd terminal gemini gemtext renderer for offpunk
  8. .
  9. .Sh SYNOPSIS
  10. .Nm
  11. .Op Fl \-format Ar RENDERER
  12. .Op Fl \-mime Ar MIME
  13. .Op Fl \-url Ar URL ...
  14. .Op Ar INPUT ...
  15. .Nm
  16. .Fl h | \-help
  17. .
  18. .Sh DESCRIPTION
  19. Ansicat is the rendering engine of the browser
  20. .Xr offpunk 1 .
  21. It will render nicely on the terminal any gemtext,
  22. html,
  23. gopher,
  24. and a few other formats.
  25. .Pp
  26. .Xr Offpunk 1
  27. is a command-line browser and feed reader dedicated to browsing the Web,
  28. Gemini, Gopher and Spartan.
  29. .Ss Positional arguments
  30. .Bl -tag -width Ds -offset indent
  31. .It Ar INPUT
  32. path to the text to render.
  33. It defaults to the standard input.
  34. .El
  35. .Ss Keyword arguments
  36. .Bl -tag -width Ds -offset indent
  37. .It Fl h , \-help
  38. show a help message and exit.
  39. .It Fl \-format Ar RENDERER
  40. renderer to use.
  41. Available renderers are
  42. .Ic auto ,
  43. .Ic gemtext ,
  44. .Ic html ,
  45. .Ic feed ,
  46. .Ic gopher ,
  47. .Ic image ,
  48. and
  49. .Ic folder .
  50. The
  51. .Ic auto
  52. renderer will heuristically guess the format,
  53. either thanks to the MIME type,
  54. or from the file being rendered itself.
  55. .It Fl \-mime Ar MIME
  56. MIME type of the content to parse.
  57. .It Fl \-url Ar URL ...
  58. original URL of the content.
  59. .El
  60. .
  61. .Sh EXIT STATUS
  62. .Ex -std
  63. .
  64. .Sh SEE ALSO
  65. .Xr migrate-offpunk-cache 1 ,
  66. .Xr netcache 1 ,
  67. .Xr offpunk 1 ,
  68. .Xr opnk 1 ,
  69. .Lk https://sr.ht/~lioploum/offpunk/
  70. .
  71. .Sh AUTHORS
  72. .An Lionel Dricot (Ploum) Aq Mt offpunk2 at ploum.eu