config.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "properties": {
  6. "READABILITY_ENABLED": {
  7. "type": "boolean",
  8. "default": true,
  9. "x-aliases": ["SAVE_READABILITY", "USE_READABILITY"],
  10. "description": "Enable Readability text extraction"
  11. },
  12. "READABILITY_BINARY": {
  13. "type": "string",
  14. "default": "readability-extractor",
  15. "description": "Path to readability-extractor binary"
  16. },
  17. "READABILITY_TIMEOUT": {
  18. "type": "integer",
  19. "default": 30,
  20. "minimum": 5,
  21. "x-fallback": "TIMEOUT",
  22. "description": "Timeout for Readability in seconds"
  23. },
  24. "READABILITY_ARGS": {
  25. "type": "array",
  26. "items": {"type": "string"},
  27. "default": [],
  28. "x-aliases": ["READABILITY_DEFAULT_ARGS"],
  29. "description": "Default Readability arguments"
  30. },
  31. "READABILITY_ARGS_EXTRA": {
  32. "type": "array",
  33. "items": {"type": "string"},
  34. "default": [],
  35. "x-aliases": ["READABILITY_EXTRA_ARGS"],
  36. "description": "Extra arguments to append to Readability command"
  37. }
  38. }
  39. }