{
  "id": "lynx",
  "name": "Lynx",
  "homepage": "https://lynx.invisible-island.net/",
  "description": "A text-mode web browser and information client.",
  "executables": [
    "lynx"
  ],
  "dotfiles": {
    "paths": [
      "~/.lynxrc"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Dump or browse a page",
    "description": "Open a URL in Lynx or dump it as text or HTML source. Cookies, restrictions and custom config files are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://github.com/ThomasDickey/lynx-snapshots/blob/master/lynx.man",
        "revision": "snapshot 2026-10-27",
        "evidence": ".B \\-dump\ndumps the formatted output of the default document or those\n.B \\-nolist\ndisable the link list feature in dumps.\n.B \\-listonly\nfor \\fB\\-dump\\fR, show only the list of links.\n.B \\-source\nworks the same as dump but outputs HTML source instead of\n.B \\-width\\fR=\\fINUMBER\nnumber of columns for formatting of dumps, default is 80.\n.B \\-useragent=Name\nset alternate \\fILynx\\fP User-Agent header.\n.B \\-force_html\nforces the first document to be interpreted as HTML.\n.B \\-accept_all_cookies\n.B \\-nocolor\n.B \\-number_links\nforce numbering of links.\n.B \\-head\nsend a HEAD request for the mime headers.\n.B \\-image_links\ntoggles inclusion of links for all images.\n.B \\-reload\nflushes the cache on a proxy server\n"
      }
    ],
    "field": [
      {
        "id": "url",
        "label": "URL or file",
        "type": "string",
        "position": 0,
        "sources": [
          "man"
        ]
      },
      {
        "id": "dump",
        "label": "Dump formatted text to stdout",
        "type": "boolean",
        "option": [
          "-dump"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "source",
        "label": "Dump HTML source",
        "type": "boolean",
        "option": [
          "-source"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "nolist",
        "label": "No link list in dumps",
        "type": "boolean",
        "option": [
          "-nolist"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "listonly",
        "label": "Only list links (with -dump)",
        "type": "boolean",
        "option": [
          "-listonly"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "width",
        "label": "Dump width (columns)",
        "type": "integer",
        "option": [
          "-width"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "number_links",
        "label": "Number links",
        "type": "boolean",
        "option": [
          "-number_links"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "image_links",
        "label": "Include image links",
        "type": "boolean",
        "option": [
          "-image_links"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "head",
        "label": "HEAD request (headers only)",
        "type": "boolean",
        "option": [
          "-head"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "force_html",
        "label": "Force HTML interpretation",
        "type": "boolean",
        "option": [
          "-force_html"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "useragent",
        "label": "User-Agent",
        "type": "string",
        "option": [
          "-useragent"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "nocolor",
        "label": "No color",
        "type": "boolean",
        "option": [
          "-nocolor"
        ],
        "sources": [
          "man"
        ]
      }
    ],
    "task": [
      {
        "id": "browse",
        "label": "Browse a page",
        "fields": [
          "url",
          "number_links"
        ],
        "required": [
          "url"
        ]
      },
      {
        "id": "dump_text",
        "label": "Dump page as text",
        "fields": [
          "url",
          "dump",
          "nolist",
          "width"
        ],
        "required": [
          "url",
          "dump"
        ],
        "set": {
          "dump": [
            true
          ]
        }
      },
      {
        "id": "dump_source",
        "label": "Fetch HTML source",
        "fields": [
          "url",
          "source"
        ],
        "required": [
          "url",
          "source"
        ],
        "set": {
          "source": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "url",
          "dump",
          "source",
          "nolist",
          "width"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "listonly",
          "number_links",
          "image_links",
          "head",
          "force_html",
          "useragent",
          "nocolor"
        ]
      }
    ]
  }
}
