{"id":15724021,"url":"https://github.com/tsif/sourcepreview","last_synced_at":"2025-05-13T10:33:52.493Z","repository":{"id":151242861,"uuid":"115931886","full_name":"tsif/SourcePreview","owner":"tsif","description":"Quick look plugin for macOS for source code files","archived":false,"fork":false,"pushed_at":"2018-10-22T07:57:05.000Z","size":1148,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T23:32:32.367Z","etag":null,"topics":["quicklook-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Objective-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/tsif.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":"2018-01-01T16:41:54.000Z","updated_at":"2023-12-20T06:30:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce85519e-9154-446d-9bd9-65739cd37f99","html_url":"https://github.com/tsif/SourcePreview","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsif%2FSourcePreview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsif%2FSourcePreview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsif%2FSourcePreview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsif%2FSourcePreview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsif","download_url":"https://codeload.github.com/tsif/SourcePreview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253923196,"owners_count":21984856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["quicklook-plugin"],"created_at":"2024-10-03T22:14:21.719Z","updated_at":"2025-05-13T10:33:52.453Z","avatar_url":"https://github.com/tsif.png","language":"Objective-C","readme":"[![Build Status](https://travis-ci.com/tsif/SourcePreview.svg?token=8ZyhMMGarwUGfCibCHGk\u0026branch=master)](https://travis-ci.com/tsif/SourcePreview) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)  ![version: 1.0.1](https://img.shields.io/badge/version-1.0.1-green.svg)\n\n# SourcePreview\n\nQuick look plugin for macOS for source code files in swift. Inspired by [QLMarkDown](https://github.com/toland/qlmarkdown) and [QLSwift](https://github.com/lexrus/QLSwift). Source code is rendered by using [prism.js](https://prismjs.com/). Features include the ability to copy the source file to the clipboard and the display of line numbers in the preview.\n\nwritten by [Dimitri James Tsiflitzis](https://github.com/tsif/)\n\ndesigned by [Dimitris Niavis](https://niavis.design/)\n\n![Alt Text](https://github.com/tsif/SourcePreview/blob/develop/SourcePreview/screenshots/preview.png)\n\n![Alt Text](https://github.com/tsif/SourcePreview/blob/develop/SourcePreview/screenshots/thumbnail.png)\n\n## Installation\n\nPick any of the methods below:\n\n- Once you clone this repo, you can run the `SourcePreview` scheme in xcode. A post build step copies `SourcePreview.qlgenerator` into `~/Library/QuickLook` and you can start previewing swift files.\n\n- You can build an installer package yourself. Run the project at least once in xcode. Then, in a terminal, go to the `installer` folder located in the `SourcePreview` folder. Run the `build.sh` file. Running this command will create a `.pkg` file in the `compiled` folder. Double click on the `.pkg` and follow the prompts to install the plugin.\n\n- Download the latest [release](https://github.com/tsif/SourcePreview/releases/tag/1.0.1) from https://github.com/tsif/SourcePreview/releases. You can copy `SourcePreview.qlgenerator` into `~/Library/QuickLook` manually (run `qlmanage -r` once you do this) or you can run the installer package located here.\n\n## Removal\n\nDrag `SourcePreview.qlgenerator` located in `~/Library/QuickLook` into the trash.\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2018 tsif\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n## Version History\n\nVersion 1.0.1 - September 18, 2018\n\n- Initial release.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsif%2Fsourcepreview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsif%2Fsourcepreview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsif%2Fsourcepreview/lists"}