.env.example 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. # .env in the project root (godotenv). Never commit the real .env file.
  2. CHATTO_TOKEN="<token>" # set by the operator
  3. # CHATTO_BASE_URL=https://chat.chatto.run # optional, is the default
  4. # Date format for chatto-send output (Go time layout). Default: 02.01.2006 (unambiguous).
  5. # Go uses a reference time (Mon Jan 2 15:04:05 MST 2006) to describe the layout.
  6. # Examples (left = layout, right = rendered output for 2026-12-31 23:59:59 UTC):
  7. # 02.01.2006 -> 31.12.2026
  8. # 2006-01-02 -> 2026-12-31
  9. # 02.01.2006 15:04 -> 31.12.2026 23:59
  10. # 02.01.2006 15:04:05 -> 31.12.2026 23:59:59
  11. # January 2, 2006 -> December 31, 2026
  12. # Mon, 02 Jan 2006 15:04:05 MST -> Wed, 31 Dec 2026 23:59:59 UTC
  13. # 2006-01-02T15:04:05Z07:00 -> 2026-12-31T23:59:59Z
  14. # Reference: https://pkg.go.dev/time#Time.Format
  15. # CHEAPO_CHATTO_OUTPUT_DATE_FORMAT=2006-01-02
  16. CHEAPO_CHATTO_OUTPUT_DATE_FORMAT=02.01.2006
  17. # Date format for CLI 'Free until:' output (Go time layout). Default: RFC3339 (ISO, unambiguous).
  18. # JSON output and MCP always use ISO-8601 regardless of this setting.
  19. # Go uses a reference time (Mon Jan 2 15:04:05 MST 2006) to describe the layout.
  20. # Examples (left = layout, right = rendered output for 2026-12-31 23:59:59 UTC):
  21. # 2006-01-02 -> 2026-12-31
  22. # 02.01.2006 -> 31.12.2026
  23. # 2006-01-02 15:04 -> 2026-12-31 23:59
  24. # 2006-01-02 15:04:05 -> 2026-12-31 23:59:59
  25. # 02.01.2006 15:04:05 -> 31.12.2026 23:59:59
  26. # January 2, 2006 -> December 31, 2026
  27. # Mon, 02 Jan 2006 15:04:05 MST -> Wed, 31 Dec 2026 23:59:59 UTC
  28. # 2006-01-02T15:04:05Z07:00 -> 2026-12-31T23:59:59Z
  29. # Default (ISO-8601 / RFC3339): 2006-01-02T15:04:05Z07:00
  30. # CHEAPO_CLI_OUTPUT_DATE_FORMAT=2006-01-02
  31. # CHEAPO_CLI_OUTPUT_DATE_FORMAT=2006-01-02T15:04:05Z07:00