{"id":19535661,"url":"https://github.com/miyako/4d-plugin-ql","last_synced_at":"2026-06-11T06:31:43.761Z","repository":{"id":147172434,"uuid":"106082052","full_name":"miyako/4d-plugin-ql","owner":"miyako","description":"Use QuickLook API to generate thumbnails and previews","archived":false,"fork":false,"pushed_at":"2023-08-06T00:12:47.000Z","size":9885,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T04:16:22.083Z","etag":null,"topics":["4d-plugin"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miyako.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-07T08:18:51.000Z","updated_at":"2024-08-27T04:45:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c08d323-d231-48db-b968-84ba0392a612","html_url":"https://github.com/miyako/4d-plugin-ql","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/miyako/4d-plugin-ql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-ql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-ql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-ql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-ql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyako","download_url":"https://codeload.github.com/miyako/4d-plugin-ql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-ql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34186385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["4d-plugin"],"created_at":"2024-11-11T02:19:28.803Z","updated_at":"2026-06-11T06:31:43.745Z","avatar_url":"https://github.com/miyako.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![version](https://img.shields.io/badge/version-16-8331AE)\n![platform](https://img.shields.io/static/v1?label=platform\u0026message=mac-intel\u0026color=blue)\n[![license](https://img.shields.io/github/license/miyako/4d-plugin-ql)](LICENSE)\n![downloads](https://img.shields.io/github/downloads/miyako/4d-plugin-ql/total)\n![deprecated](https://img.shields.io/badge/-deprecated-inactive)\n\n# 4d-plugin-ql\nUse [QuickLook](https://developer.apple.com/documentation/quicklook) API to generate thumbnails ~~and previews~~.\n\n### Remarks\n\nto dump \"c\" symbols from ``qlmanage``\n\n```\nnm -g /usr/bin/qlmanage\n```\n\nto dump \"obj-c\" symbols from ``qlmanage``\n\n```\notool -ov /usr/bin/qlmanage\n```\n\nor use [class-dump](https://github.com/nygard/class-dump)\n\nprevious version was using a hidden function ``QLPreviewCopyData`` to generate preview.\n\nthis API has been removed on Catalina and Big Sur.\n\ncurrent version is using ``- synchronousGetData`` of the hidden ``QLPreview`` class.\n\n### Syntax\n\n```\nthumbnail:=QL Create thumbnail (path;options)\n```\n\nParameter|Type|Description\n------------|------------|----\npath|TEXT|\noptions|TEXT|JSON in/out\nthumbnail|PICTURE|\n\nValid properties of ``options`` on input are ``scaleFactor``, ``width`` and ``height``.\n\n```\npreview:=QL Create preview (path;type;data;options)\n```\n\nParameter|Type|Description\n------------|------------|----\npath|TEXT|\ntype|ARRAY TEXT|\ndata|ARRAY BLOB|\noptions|TEXT|JSON in/out\npreview|BLOB|\n\nPossible properties of ``options`` on output:\n\n```\nheight\nPDFStyle (0=standard, 3=right, 4=left)\nbaseBundlePath (converted to HFS)\ntextEncoding\npageElementXPath\nmimeType\nwidth\nallowJavascript\n```\n\nNo known generators seem to process ``options`` on input.\n\nFor documents with multiple pages, an HTML preview is generally returned.\n\nIf the preview document is a single page, the data is returned in ``preview``. You can use ``mimeType`` to find out its internal format. The generator decides what kind of preview to draw. For example, Microsoft Office generators tend to create JPG. Apple iWorks tend to create PDF.\n\nIf the preview document has several pages, the data is returned in ``data`` and a container HTML is returned in ``preview``. The ``cid`` of each page is returned in  ``type``. \n\nNote that QuickLook is actually a **collection of generators and viewers**. A \"preview\" is not limited to image, it can be audio, video, etc. Likewise, the viewer could be a web browser engine, PDF or text viewer, even a media player or stream player (``baseBundlePath`` indicates the type of viewer). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-ql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyako%2F4d-plugin-ql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-ql/lists"}