.env.example 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. # Timezone for chatto-send dates (default: system local time). Examples: Europe/Berlin, UTC, America/New_York
  18. # CHEAPO_CHATTO_OUTPUT_TIMEZONE=Europe/Berlin
  19. # Date format for CLI 'Free until:' output (Go time layout). Default: RFC3339 (ISO, unambiguous).
  20. # JSON output and MCP always use ISO-8601 regardless of this setting.
  21. # Go uses a reference time (Mon Jan 2 15:04:05 MST 2006) to describe the layout.
  22. # Examples (left = layout, right = rendered output for 2026-12-31 23:59:59 UTC):
  23. # 2006-01-02 -> 2026-12-31
  24. # 02.01.2006 -> 31.12.2026
  25. # 2006-01-02 15:04 -> 2026-12-31 23:59
  26. # 2006-01-02 15:04:05 -> 2026-12-31 23:59:59
  27. # 02.01.2006 15:04:05 -> 31.12.2026 23:59:59
  28. # January 2, 2006 -> December 31, 2026
  29. # Mon, 02 Jan 2006 15:04:05 MST -> Wed, 31 Dec 2026 23:59:59 UTC
  30. # 2006-01-02T15:04:05Z07:00 -> 2026-12-31T23:59:59Z
  31. # Default (ISO-8601 / RFC3339): 2006-01-02T15:04:05Z07:00
  32. # CHEAPO_CLI_OUTPUT_DATE_FORMAT=2006-01-02
  33. # CHEAPO_CLI_OUTPUT_DATE_FORMAT=2006-01-02T15:04:05Z07:00
  34. # Timezone for CLI 'Free until:' (default: UTC). Examples: Europe/Berlin, UTC, America/New_York
  35. # CHEAPO_CLI_OUTPUT_TIMEZONE=Europe/Berlin