{"html_url": "https://github.com/simonw/datasette/issues/503#issuecomment-500145486", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/503", "id": 500145486, "node_id": "MDEyOklzc3VlQ29tbWVudDUwMDE0NTQ4Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-06-08T17:52:38Z", "updated_at": "2019-06-08T17:52:38Z", "author_association": "OWNER", "body": "This should definitely work - hopefully not a big fix.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 453243459, "label": "Handle SQLite databases with spaces in their names?"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/506#issuecomment-500173464", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/506", "id": 500173464, "node_id": "MDEyOklzc3VlQ29tbWVudDUwMDE3MzQ2NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-06-08T23:44:59Z", "updated_at": "2019-06-08T23:44:59Z", "author_association": "OWNER", "body": "This could also be handled by a plugin.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 453846217, "label": "Option to display binary data"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/506#issuecomment-500173881", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/506", "id": 500173881, "node_id": "MDEyOklzc3VlQ29tbWVudDUwMDE3Mzg4MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-06-08T23:55:52Z", "updated_at": "2019-06-08T23:55:52Z", "author_association": "OWNER", "body": "Possible plugin direction:\r\n\r\n```python\r\nimport filetype # https://pypi.org/project/filetype/\r\n\r\n@hookimpl(trylast=True)\r\ndef render_cell(value):\r\n if isinstance(value, bytes):\r\n info = repr(value)\r\n # May still want to truncate this on table view (but not on row page)\r\n guess = filetype.guess(value)\r\n if guess is not None:\r\n # Need jinja2 markup here for \\n to display\r\n info = \"Guess: mime={}, extension={}\\n\\n{}\".format(\r\n guess.mime, guess.extension, info\r\n )\r\n return info\r\n\r\n return None\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 453846217, "label": "Option to display binary data"}, "performed_via_github_app": null}