czon 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/.github/workflows/bump-version.yml +112 -0
  2. package/.github/workflows/ci.yml +64 -0
  3. package/.github/workflows/pages.yml +61 -0
  4. package/.github/workflows/publish.yml +81 -0
  5. package/.husky/pre-commit +1 -0
  6. package/.prettierignore +14 -0
  7. package/.prettierrc.json +11 -0
  8. package/.zen/meta.json +106 -0
  9. package/.zen/src/ar-SA/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  10. package/.zen/src/ar-SA/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  11. package/.zen/src/ar-SA/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  12. package/.zen/src/ar-SA/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  13. package/.zen/src/ar-SA/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  14. package/.zen/src/ar-SA/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  15. package/.zen/src/da-DK/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  16. package/.zen/src/da-DK/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  17. package/.zen/src/da-DK/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  18. package/.zen/src/da-DK/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  19. package/.zen/src/da-DK/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  20. package/.zen/src/da-DK/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  21. package/.zen/src/de-DE/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  22. package/.zen/src/de-DE/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  23. package/.zen/src/de-DE/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  24. package/.zen/src/de-DE/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  25. package/.zen/src/de-DE/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  26. package/.zen/src/de-DE/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  27. package/.zen/src/en-US/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  28. package/.zen/src/en-US/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  29. package/.zen/src/en-US/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  30. package/.zen/src/en-US/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  31. package/.zen/src/en-US/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  32. package/.zen/src/en-US/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  33. package/.zen/src/es-ES/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  34. package/.zen/src/es-ES/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  35. package/.zen/src/es-ES/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  36. package/.zen/src/es-ES/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  37. package/.zen/src/es-ES/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  38. package/.zen/src/es-ES/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  39. package/.zen/src/es-MX/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  40. package/.zen/src/es-MX/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  41. package/.zen/src/es-MX/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  42. package/.zen/src/es-MX/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  43. package/.zen/src/es-MX/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  44. package/.zen/src/es-MX/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  45. package/.zen/src/fi-FI/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  46. package/.zen/src/fi-FI/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  47. package/.zen/src/fi-FI/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  48. package/.zen/src/fi-FI/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  49. package/.zen/src/fi-FI/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  50. package/.zen/src/fi-FI/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  51. package/.zen/src/fr-FR/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  52. package/.zen/src/fr-FR/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  53. package/.zen/src/fr-FR/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  54. package/.zen/src/fr-FR/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  55. package/.zen/src/fr-FR/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  56. package/.zen/src/fr-FR/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  57. package/.zen/src/hi-IN/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  58. package/.zen/src/hi-IN/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  59. package/.zen/src/hi-IN/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  60. package/.zen/src/hi-IN/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  61. package/.zen/src/hi-IN/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  62. package/.zen/src/hi-IN/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  63. package/.zen/src/id-ID/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  64. package/.zen/src/id-ID/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  65. package/.zen/src/id-ID/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  66. package/.zen/src/id-ID/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  67. package/.zen/src/id-ID/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  68. package/.zen/src/id-ID/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  69. package/.zen/src/it-IT/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  70. package/.zen/src/it-IT/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  71. package/.zen/src/it-IT/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  72. package/.zen/src/it-IT/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  73. package/.zen/src/it-IT/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  74. package/.zen/src/it-IT/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  75. package/.zen/src/ja-JP/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  76. package/.zen/src/ja-JP/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  77. package/.zen/src/ja-JP/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  78. package/.zen/src/ja-JP/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  79. package/.zen/src/ja-JP/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  80. package/.zen/src/ja-JP/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  81. package/.zen/src/ko-KR/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  82. package/.zen/src/ko-KR/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  83. package/.zen/src/ko-KR/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  84. package/.zen/src/ko-KR/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  85. package/.zen/src/ko-KR/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  86. package/.zen/src/ko-KR/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  87. package/.zen/src/nl-NL/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  88. package/.zen/src/nl-NL/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  89. package/.zen/src/nl-NL/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  90. package/.zen/src/nl-NL/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  91. package/.zen/src/nl-NL/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  92. package/.zen/src/nl-NL/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  93. package/.zen/src/no-NO/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  94. package/.zen/src/no-NO/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  95. package/.zen/src/no-NO/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  96. package/.zen/src/no-NO/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  97. package/.zen/src/no-NO/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  98. package/.zen/src/no-NO/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  99. package/.zen/src/pl-PL/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  100. package/.zen/src/pl-PL/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  101. package/.zen/src/pl-PL/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  102. package/.zen/src/pl-PL/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  103. package/.zen/src/pl-PL/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  104. package/.zen/src/pl-PL/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  105. package/.zen/src/pt-BR/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  106. package/.zen/src/pt-BR/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  107. package/.zen/src/pt-BR/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  108. package/.zen/src/pt-BR/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  109. package/.zen/src/pt-BR/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  110. package/.zen/src/pt-BR/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  111. package/.zen/src/pt-PT/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  112. package/.zen/src/pt-PT/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  113. package/.zen/src/pt-PT/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  114. package/.zen/src/pt-PT/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  115. package/.zen/src/pt-PT/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  116. package/.zen/src/pt-PT/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  117. package/.zen/src/ru-RU/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  118. package/.zen/src/ru-RU/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  119. package/.zen/src/ru-RU/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  120. package/.zen/src/ru-RU/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  121. package/.zen/src/ru-RU/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  122. package/.zen/src/ru-RU/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  123. package/.zen/src/sv-SE/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  124. package/.zen/src/sv-SE/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  125. package/.zen/src/sv-SE/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  126. package/.zen/src/sv-SE/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  127. package/.zen/src/sv-SE/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  128. package/.zen/src/sv-SE/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  129. package/.zen/src/th-TH/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  130. package/.zen/src/th-TH/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  131. package/.zen/src/th-TH/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  132. package/.zen/src/th-TH/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  133. package/.zen/src/th-TH/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  134. package/.zen/src/th-TH/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  135. package/.zen/src/tr-TR/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  136. package/.zen/src/tr-TR/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  137. package/.zen/src/tr-TR/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  138. package/.zen/src/tr-TR/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  139. package/.zen/src/tr-TR/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  140. package/.zen/src/tr-TR/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  141. package/.zen/src/uk-UA/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  142. package/.zen/src/uk-UA/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +79 -0
  143. package/.zen/src/uk-UA/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  144. package/.zen/src/uk-UA/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  145. package/.zen/src/uk-UA/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  146. package/.zen/src/uk-UA/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  147. package/.zen/src/vi-VN/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +121 -0
  148. package/.zen/src/vi-VN/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +78 -0
  149. package/.zen/src/vi-VN/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  150. package/.zen/src/vi-VN/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +71 -0
  151. package/.zen/src/vi-VN/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  152. package/.zen/src/vi-VN/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +30 -0
  153. package/.zen/src/zh-Hans/4b2cedd76dddb2a20b1890460735dd38fa65e293a37d6bd15310852ba1c851c4.md +21 -0
  154. package/.zen/src/zh-Hans/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +123 -0
  155. package/.zen/src/zh-Hans/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +81 -0
  156. package/.zen/src/zh-Hans/59fe7aff1dcf6f4bbbaff1ad2f7c4c5a3d34b99b1d288b78717ee34525c9897b.md +24 -0
  157. package/.zen/src/zh-Hans/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +74 -0
  158. package/.zen/src/zh-Hans/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +74 -0
  159. package/.zen/src/zh-Hans/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +75 -0
  160. package/.zen/src/zh-Hans/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +31 -0
  161. package/.zen/src/zh-Hans/c1b0e9eb01d78140c21097187d6395815fd01a6f179af31b7e72532ec6c7c682.md +75 -0
  162. package/.zen/src/zh-Hans/cbf2fcda767ee28fe49828908c14de2c8edba8f8b7d721743eda767838b70923.md +67 -0
  163. package/.zen/src/zh-Hans/ec9fa686ad66e28d8d9ee131812bb6f31052185584de0853db1ee8893ebddda3.md +22 -0
  164. package/.zen/src/zh-Hans/f119cbaf7645c713b1e0fa67abdc1070766c80f94eec9e42108bfa37ef85db43.md +24 -0
  165. package/.zen/src/zh-Hant/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +123 -0
  166. package/.zen/src/zh-Hant/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +81 -0
  167. package/.zen/src/zh-Hant/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +70 -0
  168. package/.zen/src/zh-Hant/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +74 -0
  169. package/.zen/src/zh-Hant/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +71 -0
  170. package/.zen/src/zh-Hant/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +31 -0
  171. package/README.md +56 -0
  172. package/assets/templates/default/layout.html +421 -0
  173. package/dist/ai/extractMetadataFromMarkdown.d.ts +8 -0
  174. package/dist/ai/extractMetadataFromMarkdown.d.ts.map +1 -0
  175. package/dist/ai/extractMetadataFromMarkdown.js +88 -0
  176. package/dist/ai/extractMetadataFromMarkdown.js.map +1 -0
  177. package/dist/ai/translateMarkdown.d.ts +8 -0
  178. package/dist/ai/translateMarkdown.d.ts.map +1 -0
  179. package/dist/ai/translateMarkdown.js +60 -0
  180. package/dist/ai/translateMarkdown.js.map +1 -0
  181. package/dist/build/pipeline.d.ts +6 -0
  182. package/dist/build/pipeline.d.ts.map +1 -0
  183. package/dist/build/pipeline.js +180 -0
  184. package/dist/build/pipeline.js.map +1 -0
  185. package/dist/cli.d.ts +3 -0
  186. package/dist/cli.d.ts.map +1 -0
  187. package/dist/cli.js +102 -0
  188. package/dist/cli.js.map +1 -0
  189. package/dist/findEntries.d.ts +10 -0
  190. package/dist/findEntries.d.ts.map +1 -0
  191. package/dist/findEntries.js +38 -0
  192. package/dist/findEntries.js.map +1 -0
  193. package/dist/index.d.ts +2 -0
  194. package/dist/index.d.ts.map +1 -0
  195. package/dist/index.js +4 -0
  196. package/dist/index.js.map +1 -0
  197. package/dist/languages.d.ts +2 -0
  198. package/dist/languages.d.ts.map +1 -0
  199. package/dist/languages.js +37 -0
  200. package/dist/languages.js.map +1 -0
  201. package/dist/metadata.d.ts +14 -0
  202. package/dist/metadata.d.ts.map +1 -0
  203. package/dist/metadata.js +78 -0
  204. package/dist/metadata.js.map +1 -0
  205. package/dist/paths.d.ts +6 -0
  206. package/dist/paths.d.ts.map +1 -0
  207. package/dist/paths.js +10 -0
  208. package/dist/paths.js.map +1 -0
  209. package/dist/process/extractMetadataByAI.d.ts +5 -0
  210. package/dist/process/extractMetadataByAI.d.ts.map +1 -0
  211. package/dist/process/extractMetadataByAI.js +31 -0
  212. package/dist/process/extractMetadataByAI.js.map +1 -0
  213. package/dist/process/scanSourceFiles.d.ts +5 -0
  214. package/dist/process/scanSourceFiles.d.ts.map +1 -0
  215. package/dist/process/scanSourceFiles.js +70 -0
  216. package/dist/process/scanSourceFiles.js.map +1 -0
  217. package/dist/process/template.d.ts +5 -0
  218. package/dist/process/template.d.ts.map +1 -0
  219. package/dist/process/template.js +207 -0
  220. package/dist/process/template.js.map +1 -0
  221. package/dist/services/openai.d.ts +41 -0
  222. package/dist/services/openai.d.ts.map +1 -0
  223. package/dist/services/openai.js +54 -0
  224. package/dist/services/openai.js.map +1 -0
  225. package/dist/types.d.ts +35 -0
  226. package/dist/types.d.ts.map +1 -0
  227. package/dist/types.js +3 -0
  228. package/dist/types.js.map +1 -0
  229. package/dist/utils/convertMarkdownToHtml.d.ts +7 -0
  230. package/dist/utils/convertMarkdownToHtml.d.ts.map +1 -0
  231. package/dist/utils/convertMarkdownToHtml.js +94 -0
  232. package/dist/utils/convertMarkdownToHtml.js.map +1 -0
  233. package/dist/utils/frontmatter.d.ts +6 -0
  234. package/dist/utils/frontmatter.d.ts.map +1 -0
  235. package/dist/utils/frontmatter.js +22 -0
  236. package/dist/utils/frontmatter.js.map +1 -0
  237. package/dist/utils/sha256.d.ts +2 -0
  238. package/dist/utils/sha256.d.ts.map +1 -0
  239. package/dist/utils/sha256.js +7 -0
  240. package/dist/utils/sha256.js.map +1 -0
  241. package/docs/test-katex.md +66 -0
  242. package/docs/test-mermaid.md +105 -0
  243. package/docs/tricks.md +15 -0
  244. package/package.json +58 -6
  245. package/src/ai/extractMetadataFromMarkdown.ts +95 -0
  246. package/src/ai/translateMarkdown.ts +60 -0
  247. package/src/build/pipeline.ts +172 -0
  248. package/src/cli.ts +73 -0
  249. package/src/findEntries.ts +37 -0
  250. package/src/index.ts +1 -0
  251. package/src/languages.ts +37 -0
  252. package/src/metadata.ts +44 -0
  253. package/src/paths.ts +7 -0
  254. package/src/process/extractMetadataByAI.ts +31 -0
  255. package/src/process/scanSourceFiles.ts +73 -0
  256. package/src/process/template.ts +222 -0
  257. package/src/services/openai.ts +92 -0
  258. package/src/types.ts +37 -0
  259. package/src/utils/convertMarkdownToHtml.ts +93 -0
  260. package/src/utils/frontmatter.ts +18 -0
  261. package/src/utils/sha256.ts +4 -0
  262. package/test-multilang.js +44 -0
  263. package/tsconfig.json +19 -0
@@ -0,0 +1,79 @@
1
+ ---
2
+ 'title': 'KaTeX Formula Display Test'
3
+ 'summary': 'This document is an example for testing KaTeX formula display, containing multiple inline and block-level mathematical formulas such as E=mc^2, integrals, derivatives, series, piecewise functions, tables, matrices, etc., aimed at verifying correct formula rendering.'
4
+ 'tags':
5
+ - 'KaTeX'
6
+ - 'Formula Test'
7
+ - 'Mathematical Formulas'
8
+ - 'LaTeX'
9
+ - 'Display Effect'
10
+ - 'Document Example'
11
+ 'inferred_lang': 'en-US'
12
+ ---
13
+
14
+ # KaTeX Formula Display Test
15
+
16
+ This is an inline formula test: $ E = mc^2 $.
17
+
18
+ This is a block-level formula test:
19
+
20
+ $$
21
+ \int_a^b f(x) \, dx = F(b) - F(a)
22
+ $$
23
+
24
+ This is another block-level formula test:
25
+
26
+ $$
27
+ \frac{d}{dx}e^x = e^x
28
+ $$
29
+
30
+ This is a complex formula test:
31
+
32
+ $$
33
+ \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
34
+ $$
35
+
36
+ Formula test with cases:
37
+
38
+ $$
39
+ f(x) =
40
+ \begin{cases}
41
+ x^2 & \text{if } x \geq 0 \\
42
+ -x & \text{if } x < 0
43
+ \end{cases}
44
+ $$
45
+
46
+ Table formula:
47
+
48
+ $$
49
+ \begin{array}{c|c|c}
50
+ a & b & c \\
51
+ \hline
52
+ 1 & 2 & 3 \\
53
+ 4 & 5 & 6 \\
54
+ \end{array}
55
+ $$
56
+
57
+ Matrix formula:
58
+
59
+ $$
60
+ \begin{pmatrix}
61
+ 1 & 2 \\
62
+ 3 & 4
63
+ \end{pmatrix}
64
+ $$
65
+
66
+ Formula test containing text:
67
+
68
+ $$
69
+ E = mc^2 \quad \text{where } m \text{ is mass and
70
+ } c \text{ is the speed of light}
71
+ $$
72
+
73
+ Generalized Kelly formula:
74
+
75
+ $$
76
+ f^* = \argmax_f \sum_{i \in X} P_i \ln (1 + f \cdot R_i)
77
+ $$
78
+
79
+ Please ensure all the above formulas display correctly.
@@ -0,0 +1,70 @@
1
+ ---
2
+ 'title': 'ZEN - Minimalist Markdown + AI Static Site Builder'
3
+ 'summary': 'ZEN is an AI-powered static site generator focused on simplifying documentation writing and building. It allows users to create static HTML sites from git-managed folders using Markdown, with no complex configuration—all settings are hidden in the .zen directory. Core features include intelligent categorization and navigation (generating site maps via AI content analysis), automatic incremental translation (supporting multilingual versions, enabling users to write in their native language while AI handles translation), and a minimally disruptive writing experience. The tool relies on Node.js, an OpenAI API Key, and Git, enabling quick builds via the command line and supporting language parameters such as zh-Hans and en-US.'
4
+ 'tags':
5
+ - 'Static Site Generator'
6
+ - 'Markdown'
7
+ - 'AI'
8
+ - 'Multilingual Translation'
9
+ - 'Minimalism'
10
+ - 'Documentation Tool'
11
+ - 'ZEN'
12
+ 'inferred_lang': 'zh-Hans'
13
+ ---
14
+
15
+ # ZEN - Minimalist Markdown + AI Static Site Builder
16
+
17
+ [> Website Demo](https://zen.zccz14.com/)
18
+
19
+ ## Core Features
20
+
21
+ 1. 📃 **Static Site Generation**: Build a static HTML site from any git-managed folder containing Markdown files.
22
+ 2. 🧭 **Intelligent Categorization and Navigation**: Use AI to analyze content, generating site maps and navigation independent of source file locations.
23
+ 3. 🌍 **Automatic Incremental Translation**: Use AI for incremental translation, allowing users to write Markdown in their native language while supporting multilingual output.
24
+
25
+ Why create another Markdown static site generator? I’ve reconsidered how documentation tools can better serve writers in the AI era:
26
+
27
+ - **Return to Content: Minimize Distractions, Focus on Writing**
28
+
29
+ Bring documentation back to its essence and restore tranquility to writing.
30
+
31
+ First, I don’t want to be a librarian. Sometimes I want to jot down ideas without having finalized titles or organized structures. I want LLMs to automatically generate titles, summaries, categories, navigation, and other organizational tasks.
32
+
33
+ Second, my workspace must stay clean. I don’t want complex build tools, intricate documentation configurations, or convoluted structures. Tools like Docusaurus, VuePress, and Astro with their configuration files and project structures give me a headache. ZEN hides all configurations in the `.zen` directory, tucked away in a corner. Users can focus solely on writing content, leaving the rest to ZEN. All other directories are your writing space—organize your Markdown files however you like.
34
+
35
+ - **Return to Native Language: Write in Your Mother Tongue, Seamlessly Build Multilingual Versions**
36
+
37
+ Life is short; I can’t be bothered with translation. People think most deeply when using their native language. Yet, staying connected to the world is essential—I don’t want to give up multilingual communication. I wanted a tool that lets me write in my native language while making my content accessible to more people. Traditional i18n requires manual translation and content maintenance, which is too cumbersome. I chose to use LLMs for translation, saving significant time and enabling one-click multilingual translation.
38
+
39
+ ## Quick Start
40
+
41
+ Prerequisites:
42
+
43
+ - [Node.js](https://nodejs.org/) installed (version 18 or higher recommended, with `npx` command available)
44
+ - An [OpenAI API Key](https://platform.openai.com/account/api-keys) or compatible OpenAI API key
45
+ - Git installed (used to list Markdown files from Git, ignoring files filtered by `.gitignore` rules)
46
+
47
+ First, work within a folder already managed by Git:
48
+
49
+ Set environment variables:
50
+
51
+ ```bash
52
+ export OPENAI_API_KEY="sk-xxxxxx" # Required: Replace with your OpenAI API Key
53
+ export OPENAI_BASE_URL="https://api.openai.com/v1" # Optional, defaults to OpenAI's official API
54
+ export OPENAI_MODEL="gpt-3.5-turbo" # Optional, defaults to the gpt-3.5-turbo model
55
+ ```
56
+
57
+ Build the site with support for multilingual translation. Use the current directory as the source and output to the `.zen/dist` directory.
58
+
59
+ - Specify language versions using the `--lang` parameter multiple times (e.g., `--lang zh-Hans --lang en-US`).
60
+ - No need to configure the source language—ZEN automatically detects it.
61
+
62
+ ```bash
63
+ npx zengen@latest build --lang zh-Hans --lang en-US
64
+ ```
65
+
66
+ **View more parameters or help**:
67
+
68
+ ```bash
69
+ npx zengen@latest
70
+ ```
@@ -0,0 +1,71 @@
1
+ ---
2
+ 'title': 'ZEN - A Minimalist Markdown + AI Static Site Builder'
3
+ 'summary': 'ZEN is a static site generator with AI capabilities, designed to simplify the process of writing documentation and building websites. It allows users to focus on writing Markdown content in their native language, automatically handling title generation, categorized navigation, and incremental translation. It supports multilingual versions without complex configuration. Built on Node.js and the OpenAI API, it enables rapid site construction via the command line, making it ideal for writers who value efficiency and simplicity.'
4
+ 'tags':
5
+ - 'Static Site Generator'
6
+ - 'Markdown'
7
+ - 'AI'
8
+ - 'Minimalism'
9
+ - 'Multilingual Translation'
10
+ - 'Node.js'
11
+ - 'OpenAI'
12
+ 'inferred_lang': 'zh-Hans'
13
+ ---
14
+
15
+ # ZEN - A Minimalist Markdown + AI Static Site Builder
16
+
17
+ [> Website Demo](https://zccz14.github.io/ZEN/)
18
+
19
+ ## Core Features
20
+
21
+ 1. 📃 **Static Site Generation**: Build a static HTML site from any git-managed folder containing Markdown files.
22
+ 2. 🧭 **Intelligent Categorized Navigation**: Use AI to analyze content, generating a site map and navigation that is independent of the original file structure.
23
+ 3. 🌍 **Automatic Incremental Translation**: Use AI for incremental translation, allowing users to write Markdown in their native language while supporting multilingual audiences.
24
+
25
+ Why create another Markdown static site generator? I've reconsidered how documentation tools can better serve writers in the AI era:
26
+
27
+ - **Return to Content: Minimize Distractions, Focus on Writing**
28
+
29
+ Bring documentation back to its essence and restore tranquility to the writing process.
30
+
31
+ First, I don't want to be a librarian. Sometimes I want to jot down ideas before I've settled on a title or organized them fully. I want an LLM to automatically generate titles, create summaries, categorize content, and handle navigation.
32
+
33
+ Second, my workspace must stay clean. I don't want complex build tools, intricate documentation configurations, or convoluted structures. Tools like Docusaurus, VuePress, and Astro often overwhelm me with their configuration files and project layouts. ZEN hides all configuration in a `.zen` directory, tucked out of sight. Users can focus solely on writing, leaving the rest to ZEN. All other directories are your writing space—organize your Markdown files however you like.
34
+
35
+ - **Return to Native Language: Write in Your Mother Tongue, Seamlessly Build Multilingual Versions**
36
+
37
+ Life is short; I don't want to translate. People think most deeply in their native language. Yet, staying connected to the world is essential—I don't want to give up multilingual communication. I needed a tool that lets me write in my native language while making my content accessible to a broader audience. Traditional i18n requires manual translation and ongoing content maintenance, which is too cumbersome. I chose to use LLMs for translation, saving significant time and enabling one-click multilingual support.
38
+
39
+ ## Quick Start
40
+
41
+ Prerequisites:
42
+
43
+ - [Node.js](https://nodejs.org/) installed (version 18 or higher recommended, with `npx` command available)
44
+ - An [OpenAI API Key](https://platform.openai.com/account/api-keys) or a compatible OpenAI API key
45
+ - Git installed (used to list Markdown files from a Git repository, ignoring files filtered by `.gitignore` rules)
46
+
47
+ First, work within a folder already managed by Git:
48
+
49
+ Set environment variables:
50
+
51
+ ```bash
52
+ export OPENAI_API_KEY="sk-xxxxxx" # Required: Replace with your OpenAI API Key
53
+ export OPENAI_BASE_URL="https://api.openai.com/v1" # Optional, defaults to the official OpenAI API
54
+ export OPENAI_MODEL="gpt-3.5-turbo" # Optional, defaults to the gpt-3.5-turbo model
55
+ ```
56
+
57
+ Build the site with support for multilingual translation. Use the current directory as the source and output to the `.zen/dist` directory.
58
+
59
+ - Specify language versions using the `--lang` parameter multiple times (e.g., `--lang zh-Hans --lang en-US`).
60
+ - Set the site's base URL prefix with the `--base-url` parameter (e.g., for a GitHub Pages repository name).
61
+ - No need to configure the source language—ZEN detects it automatically.
62
+
63
+ ```bash
64
+ npx zengen@latest build --lang zh-Hans --lang en-US
65
+ ```
66
+
67
+ **View more parameters or help**:
68
+
69
+ ```bash
70
+ npx zengen@latest
71
+ ```
@@ -0,0 +1,71 @@
1
+ ---
2
+ 'title': 'ZEN - Minimalist Markdown + AI Static Site Builder'
3
+ 'summary': 'ZEN is a static site generator with AI capabilities, designed specifically for Markdown documents. It allows users to convert a Git folder containing Markdown files into a static HTML site without complex configuration—all settings are hidden in the .zen directory. Core features include intelligent categorization and navigation (using AI to analyze content and generate a sitemap), automatic incremental translation (supporting multilingual versions, enabling users to write in their native language with AI handling translation), and a minimally disruptive writing experience. The quick start guide requires installing Node.js, obtaining an OpenAI API Key and Git, building the site via the command line, and supports specifying languages and base URLs.'
4
+ 'tags':
5
+ - 'Static Site Generator'
6
+ - 'Markdown'
7
+ - 'AI'
8
+ - 'Multilingual Translation'
9
+ - 'Minimalism'
10
+ - 'Documentation Tool'
11
+ - 'Git'
12
+ 'inferred_lang': 'zh-Hans'
13
+ ---
14
+
15
+ # ZEN - Minimalist Markdown + AI Static Site Builder
16
+
17
+ [> Website Demo](https://zen.zccz14.com/)
18
+
19
+ ## Core Features
20
+
21
+ 1. 📃 **Static Site Generation**: Build any Git folder containing Markdown files into a static HTML site.
22
+ 2. 🧭 **Intelligent Categorization and Navigation**: Uses AI to analyze content, generating a sitemap and navigation that is insensitive to source file locations.
23
+ 3. 🌍 **Automatic Incremental Translation**: Uses AI for incremental translation, allowing users to write Markdown in their native language while supporting multilingual output.
24
+
25
+ Why create another Markdown static site generator? I've reconsidered how documentation tools can better serve writers in the AI era:
26
+
27
+ - **Return to Content: Minimize Distractions, Focus on Writing**
28
+
29
+ Bring documentation back to its essence and restore tranquility to writing.
30
+
31
+ First, I don't want to be a librarian. Sometimes I want to jot down ideas without having finalized titles or organizational structures. I want LLMs to automatically generate titles, summaries, categories, navigation, and other organizational tasks.
32
+
33
+ Second, my workspace must stay clean. I don't want complex build tools, cumbersome documentation configurations, or intricate structures. Every time I see the configuration files and project structures of tools like Docusaurus, VuePress, or Astro, I get a headache. Now, ZEN hides all configurations in the `.zen` directory, tucked away in a corner. Users only need to focus on writing content; ZEN handles the rest. All other directories are your writing space—organize your Markdown files freely.
34
+
35
+ - **Return to Native Language: Write in Your Mother Tongue, Seamlessly Build Multilingual Versions**
36
+
37
+ Life is short; I can't be bothered with translation. People express their deepest thoughts best in their native language. Yet, staying connected to the world is essential, and I don't want to give up multilingual communication. I wanted a tool that lets me write in my native language while making my content accessible to a broader audience. Traditional i18n requires manual translation and content maintenance, which is too cumbersome. I chose to use LLMs for translation, saving significant time and enabling one-click multilingual translation.
38
+
39
+ ## Quick Start
40
+
41
+ Prerequisites:
42
+
43
+ - [Node.js](https://nodejs.org/) installed (version 18 or higher recommended, with `npx` command available)
44
+ - [OpenAI API Key](https://platform.openai.com/account/api-keys) obtained, or an OpenAI-compatible API Key
45
+ - Git installed (used to list Markdown files from Git, ignoring files filtered by `.gitignore` rules)
46
+
47
+ First, work in a folder already managed by Git:
48
+
49
+ Set environment variables:
50
+
51
+ ```bash
52
+ export OPENAI_API_KEY="sk-xxxxxx" # Required: Replace with your OpenAI API Key
53
+ export OPENAI_BASE_URL="https://api.openai.com/v1" # Optional, defaults to OpenAI's official API
54
+ export OPENAI_MODEL="gpt-3.5-turbo" # Optional, defaults to the gpt-3.5-turbo model
55
+ ```
56
+
57
+ Build the site with support for multilingual translation. Uses the current directory as the source and outputs to the `.zen/dist` directory.
58
+
59
+ - Specify language versions to generate using the `--lang` parameter multiple times (e.g., `--lang zh-Hans --lang en-US`).
60
+ - Specify the site's base URL prefix with the `--base-url` parameter (e.g., a repository name on GitHub Pages).
61
+ - No need to configure the source language; ZEN automatically detects it.
62
+
63
+ ```bash
64
+ npx zengen@latest build --lang zh-Hans --lang en-US
65
+ ```
66
+
67
+ **View more parameters or help**:
68
+
69
+ ```bash
70
+ npx zengen@latest
71
+ ```
@@ -0,0 +1,30 @@
1
+ ---
2
+ 'title': 'ZEN Documentation Date Declaration Usage Tips'
3
+ 'summary': "This document introduces the technique of declaring dates directly within the body text using the ZEN tool. It contrasts this with the traditional Markdown method of declaring dates via YAML Frontmatter, highlighting ZEN's automatic recognition and intelligent processing capabilities. This approach enhances the user experience and is suitable for content types like diaries and blogs that require a timeline."
4
+ 'tags':
5
+ - 'ZEN'
6
+ - 'Date Declaration'
7
+ - 'Markdown'
8
+ - 'AI Processing'
9
+ - 'Timeline'
10
+ - 'User Experience'
11
+ - 'Document Management'
12
+ 'inferred_date': '2026-01-08'
13
+ 'inferred_lang': 'zh-Hans'
14
+ ---
15
+
16
+ # Usage Tips
17
+
18
+ ## Declaring Dates in the Body Text
19
+
20
+ Within the body text, you can use date declarations like "Today is January 8, 2026" (the format style is flexible), and ZEN will automatically recognize and process it.
21
+
22
+ Traditional Markdown documents declare dates through YAML Frontmatter, which requires remembering the corresponding field; otherwise, the date may not be correctly identified.
23
+
24
+ ZEN supports declaring dates directly within the body text, avoiding the issue of forgetting to fill in the Frontmatter field.
25
+
26
+ The AI will automatically extract and infer date information from the body text and process it as the document's creation date.
27
+
28
+ This method is more flexible and intelligent, enhancing the user experience.
29
+
30
+ As a side note, documents with dates can generate a timeline view, making browsing and management easier. This is particularly suitable for content types like diaries and blogs that require a timeline.
@@ -0,0 +1,121 @@
1
+ ---
2
+ 'title': 'Documento de Prueba de Diagramas Mermaid'
3
+ 'summary': 'Este documento es un archivo de prueba para verificar la funcionalidad de renderizado de diagramas Mermaid en ZEN. Incluye ejemplos de varios tipos de diagramas Mermaid, como diagramas de flujo, diagramas de secuencia, diagramas de Gantt, diagramas de clases, diagramas de estado y gráficos circulares, además de una prueba de sintaxis errónea para comprobar la visualización de mensajes de error. El documento tiene como objetivo demostrar el funcionamiento correcto de la integración de Mermaid en ZEN.'
4
+ 'tags':
5
+ - 'Mermaid'
6
+ - 'Prueba de diagramas'
7
+ - 'ZEN'
8
+ - 'Diagrama de flujo'
9
+ - 'Diagrama de secuencia'
10
+ - 'Diagrama de Gantt'
11
+ - 'Diagrama de clases'
12
+ - 'Diagrama de estado'
13
+ 'inferred_date': '2024-01-01'
14
+ 'inferred_lang': 'es-ES'
15
+ ---
16
+
17
+ # Prueba de Diagramas Mermaid
18
+
19
+ Este es un archivo de prueba para verificar la funcionalidad de renderizado de diagramas Mermaid en ZEN.
20
+
21
+ ## Ejemplo de Diagrama de Flujo
22
+
23
+ ```mermaid
24
+ graph TD
25
+ A[Inicio] --> B{¿Continuar?}
26
+ B -->|Sí| C[Ejecutar acción]
27
+ B -->|No| D[Fin]
28
+ C --> E[Verificar resultado]
29
+ E --> F{¿Éxito?}
30
+ F -->|Sí| G[Completado]
31
+ F -->|No| H[Reintentar]
32
+ H --> C
33
+ G --> D
34
+ ```
35
+
36
+ ## Ejemplo de Diagrama de Secuencia
37
+
38
+ ```mermaid
39
+ sequenceDiagram
40
+ participant Usuario
41
+ participant Sistema
42
+ participant BaseDeDatos
43
+
44
+ Usuario->>Sistema: Enviar solicitud
45
+ Sistema->>BaseDeDatos: Consultar datos
46
+ BaseDeDatos-->>Sistema: Devolver resultados
47
+ Sistema-->>Usuario: Mostrar resultados
48
+ ```
49
+
50
+ ## Ejemplo de Diagrama de Gantt
51
+
52
+ ```mermaid
53
+ gantt
54
+ title Cronograma del Proyecto
55
+ dateFormat YYYY-MM-DD
56
+ section Diseño
57
+ Análisis de requisitos :done, des1, 2024-01-01, 7d
58
+ Diseño de prototipo :active, des2, 2024-01-08, 5d
59
+ Diseño detallado : des3, after des2, 5d
60
+ section Desarrollo
61
+ Desarrollo frontend : dev1, after des3, 10d
62
+ Desarrollo backend : dev2, after des3, 15d
63
+ section Pruebas
64
+ Pruebas unitarias : test1, after dev1, 5d
65
+ Pruebas de integración : test2, after dev2, 5d
66
+ ```
67
+
68
+ ## Ejemplo de Diagrama de Clases
69
+
70
+ ```mermaid
71
+ classDiagram
72
+ class Animal {
73
+ +String nombre
74
+ +int edad
75
+ +void comer()
76
+ +void dormir()
77
+ }
78
+ class Perro {
79
+ +void ladrar()
80
+ }
81
+ class Gato {
82
+ +void maullar()
83
+ }
84
+
85
+ Animal <|-- Perro
86
+ Animal <|-- Gato
87
+ ```
88
+
89
+ ## Ejemplo de Diagrama de Estado
90
+
91
+ ```mermaid
92
+ stateDiagram-v2
93
+ [*] --> Inactivo
94
+ Inactivo --> Procesando : Iniciar procesamiento
95
+ Procesando --> Éxito : Procesamiento exitoso
96
+ Procesando --> Error : Fallo en el procesamiento
97
+ Éxito --> [*]
98
+ Error --> [*]
99
+ ```
100
+
101
+ ## Ejemplo de Gráfico Circular
102
+
103
+ ```mermaid
104
+ pie title Uso de Navegadores
105
+ "Chrome" : 65.2
106
+ "Firefox" : 15.3
107
+ "Safari" : 12.5
108
+ "Edge" : 5.2
109
+ "Otros" : 1.8
110
+ ```
111
+
112
+ ## Prueba de Sintaxis Errónea (debería mostrar un mensaje de error)
113
+
114
+ ```mermaid
115
+ graph TD
116
+ A --> B
117
+ // Falta definición de flecha aquí
118
+ C --> D
119
+ ```
120
+
121
+ Este archivo de prueba incluye varios tipos de diagramas Mermaid para verificar que la integración de Mermaid en ZEN funcione correctamente.
@@ -0,0 +1,78 @@
1
+ ---
2
+ 'title': 'Prueba de visualización de fórmulas KaTeX'
3
+ 'summary': 'Este documento es un ejemplo para probar la visualización de fórmulas KaTeX, incluyendo múltiples fórmulas matemáticas en línea y en bloque, como E=mc^2, integrales, derivadas, series, funciones definidas por partes, tablas, matrices, etc., con el objetivo de verificar la renderización correcta de las fórmulas.'
4
+ 'tags':
5
+ - 'KaTeX'
6
+ - 'prueba de fórmulas'
7
+ - 'fórmulas matemáticas'
8
+ - 'LaTeX'
9
+ - 'visualización'
10
+ - 'ejemplo de documento'
11
+ 'inferred_lang': 'es-ES'
12
+ ---
13
+
14
+ # Prueba de visualización de fórmulas KaTeX
15
+
16
+ Esta es una prueba de fórmula en línea: $ E = mc^2 $.
17
+
18
+ Esta es una prueba de fórmula en bloque:
19
+
20
+ $$
21
+ \int_a^b f(x) \, dx = F(b) - F(a)
22
+ $$
23
+
24
+ Esta es otra prueba de fórmula en bloque:
25
+
26
+ $$
27
+ \frac{d}{dx}e^x = e^x
28
+ $$
29
+
30
+ Esta es una prueba de fórmula compleja:
31
+
32
+ $$
33
+ \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
34
+ $$
35
+
36
+ Prueba de fórmula con casos:
37
+
38
+ $$
39
+ f(x) =
40
+ \begin{cases}
41
+ x^2 & \text{si } x \geq 0 \\
42
+ -x & \text{si } x < 0
43
+ \end{cases}
44
+ $$
45
+
46
+ Fórmula con tabla:
47
+
48
+ $$
49
+ \begin{array}{c|c|c}
50
+ a & b & c \\
51
+ \hline
52
+ 1 & 2 & 3 \\
53
+ 4 & 5 & 6 \\
54
+ \end{array}
55
+ $$
56
+
57
+ Fórmula con matriz:
58
+
59
+ $$
60
+ \begin{pmatrix}
61
+ 1 & 2 \\
62
+ 3 & 4
63
+ \end{pmatrix}
64
+ $$
65
+
66
+ Prueba de fórmula con texto:
67
+
68
+ $$
69
+ E = mc^2 \quad \text{donde } m \text{ es la masa y } c \text{ es la velocidad de la luz}
70
+ $$
71
+
72
+ Fórmula generalizada de Kelly:
73
+
74
+ $$
75
+ f^* = \argmax_f \sum_{i \in X} P_i \ln (1 + f \cdot R_i)
76
+ $$
77
+
78
+ Por favor, asegúrate de que todas las fórmulas anteriores se muestren correctamente.
@@ -0,0 +1,70 @@
1
+ ---
2
+ 'title': 'ZEN - Generador de sitios estáticos minimalista con Markdown + IA'
3
+ 'summary': 'ZEN es un generador de sitios estáticos con IA integrada, enfocado en simplificar la escritura de documentación y el proceso de construcción. Permite a los usuarios crear sitios HTML estáticos usando Markdown en carpetas gestionadas por git, sin configuraciones complejas; toda la configuración se oculta en el directorio .zen. Sus funciones principales incluyen navegación por categorización inteligente (genera mapas del sitio mediante análisis de contenido con IA), traducción automática incremental (soporta versiones multilingüe, los usuarios pueden escribir en su idioma nativo y la IA maneja la traducción), y una experiencia de escritura con mínimas interrupciones. La herramienta depende de Node.js, una clave API de OpenAI y Git, se construye rápidamente mediante línea de comandos y admite parámetros de idioma como zh-Hans y en-US.'
4
+ 'tags':
5
+ - 'Generador de sitios estáticos'
6
+ - 'Markdown'
7
+ - 'IA'
8
+ - 'Traducción multilingüe'
9
+ - 'Minimalismo'
10
+ - 'Herramienta de documentación'
11
+ - 'ZEN'
12
+ 'inferred_lang': 'zh-Hans'
13
+ ---
14
+
15
+ # ZEN - Generador de sitios estáticos minimalista con Markdown + IA
16
+
17
+ [> Demostración del sitio web](https://zen.zccz14.com/)
18
+
19
+ ## Funcionalidades básicas
20
+
21
+ 1. 📃 **Generación de sitios estáticos**: Convierte cualquier carpeta gestionada por git que contenga Markdown en un sitio HTML estático.
22
+ 2. 🧭 **Navegación por categorización inteligente**: Utiliza IA para analizar el contenido, generando un mapa del sitio y navegación, sin depender de la ubicación de los archivos fuente.
23
+ 3. 🌍 **Traducción automática incremental**: Emplea IA para realizar traducciones incrementales, permitiendo a los usuarios escribir Markdown en su idioma nativo, pero con soporte multilingüe.
24
+
25
+ ¿Por qué crear otro generador de sitios estáticos con Markdown? He reconsiderado cómo las herramientas de documentación pueden servir mejor a los escritores en la era de la IA:
26
+
27
+ - **Regreso al contenido**: Minimizar las interrupciones, enfocarse en escribir
28
+
29
+ Devolver la documentación a su esencia, devolver la tranquilidad a la escritura.
30
+
31
+ Primero, no quiero ser un bibliotecario. A veces quiero escribir algo, pero quizás aún no he pensado en su título o no he organizado bien las ideas. Me gustaría que un LLM me ayudara automáticamente a generar títulos, resúmenes, categorías, navegación y otras tareas de organización.
32
+
33
+ Segundo, mi espacio de trabajo debe estar ordenado. No quiero herramientas de construcción con configuraciones complejas, ni lidiar con estructuras complicadas. Cada vez que veo los archivos de configuración y la estructura de proyectos de herramientas como Docusaurus, VuePress o Astro, me duele la cabeza. Ahora, ZEN opta por ocultar toda la configuración en el directorio .zen, barriéndola bajo la alfombra, para que el usuario solo se concentre en escribir el contenido y deje el resto a ZEN. Todos los demás directorios son su espacio de escritura, donde puede organizar sus archivos Markdown libremente.
34
+
35
+ - **Regreso al idioma nativo**: Escribir en la lengua materna, construir versiones multilingües sin esfuerzo
36
+
37
+ La vida es corta, no tengo ganas de traducir. Las personas alcanzan su máxima profundidad de pensamiento cuando usan su idioma nativo. Pero al mismo tiempo, es necesario mantenerse conectado con el mundo, y no quiero renunciar a la comunicación multilingüe. Por eso, deseaba una herramienta que me permitiera escribir en mi idioma nativo y, a la vez, llegar a más personas con mi contenido. Los sistemas actuales de i18n no solo requieren que uno traduzca, sino que también mantenga las actualizaciones del contenido, lo cual es muy tedioso. He optado por usar LLM para ayudarme con las traducciones, ahorrándome mucho tiempo y permitiéndome completar traducciones a múltiples idiomas con un solo clic.
38
+
39
+ ## Comenzar rápidamente
40
+
41
+ Requisitos previos:
42
+
43
+ - Tener instalado [Node.js](https://nodejs.org/) (se recomienda versión 18 o superior, debe incluir el comando npx)
44
+ - Haber obtenido una [clave API de OpenAI](https://platform.openai.com/account/api-keys), o una clave API compatible con OpenAI
45
+ - Tener instalado Git (para listar archivos Markdown desde Git, ignorando los filtrados por reglas de .gitignore)
46
+
47
+ Primero, trabaje en una carpeta ya gestionada por git:
48
+
49
+ Configure las variables de entorno:
50
+
51
+ ```bash
52
+ export OPENAI_API_KEY="sk-xxxxxx" # Obligatorio: reemplace con su clave API de OpenAI
53
+ export OPENAI_BASE_URL="https://api.openai.com/v1" # Opcional, por defecto usa la API oficial de OpenAI
54
+ export OPENAI_MODEL="gpt-3.5-turbo" # Opcional, por defecto usa el modelo gpt-3.5-turbo
55
+ ```
56
+
57
+ Construya el sitio, con soporte para traducción multilingüe. Use el directorio actual como fuente y genere la salida en el directorio `.zen/dist`.
58
+
59
+ - Puede especificar las versiones de idioma que desea generar usando múltiples veces el parámetro `--lang` (por ejemplo, `--lang zh-Hans --lang en-US`).
60
+ - No es necesario configurar el idioma fuente; ZEN lo detectará automáticamente.
61
+
62
+ ```bash
63
+ npx zengen@latest build --lang zh-Hans --lang en-US
64
+ ```
65
+
66
+ **Ver más parámetros o ayuda**:
67
+
68
+ ```bash
69
+ npx zengen@latest
70
+ ```
@@ -0,0 +1,71 @@
1
+ ---
2
+ 'title': 'ZEN - Generador de sitios estáticos minimalista con Markdown + IA'
3
+ 'summary': 'ZEN es un generador de sitios estáticos con funciones de IA, diseñado para simplificar la escritura de documentación y la construcción de sitios. Permite a los usuarios centrarse en escribir contenido en Markdown en su idioma nativo, gestionando automáticamente la generación de títulos, navegación por categorías y traducción incremental, con soporte para versiones multilingües sin configuración compleja. Basado en Node.js y la API de OpenAI, construye sitios rápidamente desde la línea de comandos, ideal para escritores que buscan eficiencia y simplicidad.'
4
+ 'tags':
5
+ - 'Generador de sitios estáticos'
6
+ - 'Markdown'
7
+ - 'IA'
8
+ - 'Minimalismo'
9
+ - 'Traducción multilingüe'
10
+ - 'Node.js'
11
+ - 'OpenAI'
12
+ 'inferred_lang': 'zh-Hans'
13
+ ---
14
+
15
+ # ZEN - Generador de sitios estáticos minimalista con Markdown + IA
16
+
17
+ [> Demostración del sitio web](https://zccz14.github.io/ZEN/)
18
+
19
+ ## Funcionalidades básicas
20
+
21
+ 1. 📃 **Generación de sitios estáticos**: Convierte cualquier carpeta git con archivos Markdown en un sitio HTML estático.
22
+ 2. 🧭 **Navegación inteligente por categorías**: Utiliza IA para analizar el contenido, generando mapas del sitio y navegación, independientemente de la ubicación de los archivos fuente.
23
+ 3. 🌍 **Traducción incremental automática**: Emplea IA para traducciones incrementales, permitiendo a los usuarios escribir en Markdown en su idioma nativo, pero con soporte multilingüe.
24
+
25
+ ¿Por qué crear otro generador de sitios estáticos con Markdown? He reconsiderado cómo las herramientas de documentación pueden servir mejor a los escritores en la era de la IA:
26
+
27
+ - **Regreso al contenido**: Minimizar las distracciones, enfocarse en escribir
28
+
29
+ Devolver la documentación a su esencia, devolver la escritura a la tranquilidad.
30
+
31
+ Primero, no quiero ser un bibliotecario. A veces quiero escribir algo, pero quizás aún no he pensado en su título o no lo he organizado de manera específica. Me gustaría que un LLM generara automáticamente títulos, resúmenes, categorías, navegación y otras tareas de organización.
32
+
33
+ Segundo, mi espacio de trabajo debe estar ordenado. No quiero herramientas de construcción con configuraciones complejas, ni estructuras complicadas. Cada vez que veo los archivos de configuración y estructuras de proyectos de herramientas como Docusaurus, VuePress o Astro, me duele la cabeza. Ahora, ZEN oculta toda la configuración en el directorio `.zen`, barriéndola bajo la alfombra. El usuario solo necesita centrarse en escribir, y ZEN se encarga del resto. Los demás directorios son su espacio de escritura, donde puede organizar sus archivos Markdown libremente.
34
+
35
+ - **Regreso al idioma nativo**: Escribir en la lengua materna, construyendo versiones multilingües sin esfuerzo
36
+
37
+ La vida es corta, no quiero traducir. Las personas piensan con mayor profundidad cuando usan su idioma nativo. Pero conectar con el mundo también es necesario, y no quiero renunciar a la comunicación multilingüe. Por eso, deseo una herramienta que me permita escribir en mi idioma nativo y, al mismo tiempo, llegar a más personas. Los sistemas actuales de i18n requieren que traduzcas tú mismo y mantengas las actualizaciones, lo cual es tedioso. He optado por usar LLM para traducir, ahorrando tiempo y permitiendo traducciones a múltiples idiomas con un solo clic.
38
+
39
+ ## Comenzar rápidamente
40
+
41
+ Requisitos previos:
42
+
43
+ - Tener instalado [Node.js](https://nodejs.org/) (versión 18 o superior recomendada, con el comando `npx` disponible).
44
+ - Obtener una [Clave API de OpenAI](https://platform.openai.com/account/api-keys), o una clave API compatible con OpenAI.
45
+ - Tener instalado Git (para listar archivos Markdown desde un repositorio git, ignorando los filtrados por `.gitignore`).
46
+
47
+ Primero, trabaja en una carpeta gestionada por git:
48
+
49
+ Configura las variables de entorno:
50
+
51
+ ```bash
52
+ export OPENAI_API_KEY="sk-xxxxxx" # Obligatorio: reemplaza con tu clave API de OpenAI
53
+ export OPENAI_BASE_URL="https://api.openai.com/v1" # Opcional, por defecto usa la API oficial de OpenAI
54
+ export OPENAI_MODEL="gpt-3.5-turbo" # Opcional, por defecto usa el modelo gpt-3.5-turbo
55
+ ```
56
+
57
+ Construye el sitio, con soporte para traducción multilingüe. Usa el directorio actual como fuente y genera la salida en `.zen/dist`.
58
+
59
+ - Puedes especificar los idiomas a generar usando múltiples veces el parámetro `--lang` (ej. `--lang zh-Hans --lang en-US`).
60
+ - Puedes especificar el prefijo de la URL base del sitio con el parámetro `--base-url` (ej. el nombre del repositorio en GitHub Pages).
61
+ - No es necesario configurar el idioma fuente; ZEN lo detecta automáticamente.
62
+
63
+ ```bash
64
+ npx zengen@latest build --lang zh-Hans --lang en-US
65
+ ```
66
+
67
+ **Ver más parámetros o ayuda**:
68
+
69
+ ```bash
70
+ npx zengen@latest
71
+ ```