All Projects → samuelmeuli → Glance

samuelmeuli / Glance

Licence: mit
🔎 All-in-one Quick Look plugin

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Glance

Popover
Custom macOS Popover 💬
Stars: ✭ 71 (-91.08%)
Mutual labels:  macos-app
Nineanimator
An elegant way of discovering anime on iOS.
Stars: ✭ 369 (-53.64%)
Mutual labels:  macos-app
Podsupdater
A macOS app which helps you manage dependency releases in your Podfile.
Stars: ✭ 513 (-35.55%)
Mutual labels:  macos-app
Pasteboard Viewer
📋 Inspect the system pasteboards on macOS
Stars: ✭ 257 (-67.71%)
Mutual labels:  macos-app
Betterandbetter
BetterAndBetter 是一款包含很多功能的 macOS 软件。
Stars: ✭ 328 (-58.79%)
Mutual labels:  macos-app
Sketchcachecleaner
💻 Sketch Cache Cleaner - Deletes hidden Sketch history files that can take a lot of space on your hard drive and that you would probably never use.
Stars: ✭ 435 (-45.35%)
Mutual labels:  macos-app
timeGO
一款 macOS 平台的倒计时 app,力求简洁快速
Stars: ✭ 47 (-94.1%)
Mutual labels:  macos-app
Inboxer
Unofficial, free and open-source Inbox by Gmail Desktop App
Stars: ✭ 668 (-16.08%)
Mutual labels:  macos-app
Coteditor
Lightweight Plain-Text Editor for macOS
Stars: ✭ 4,129 (+418.72%)
Mutual labels:  macos-app
Sloth
Mac app that shows all open files, directories, sockets, pipes and devices in use by all running processes. Nice GUI for lsof.
Stars: ✭ 4,549 (+471.48%)
Mutual labels:  macos-app
Electron Xiami
虾米音乐 & 虾米电台 - Linux & Mac | Xiami Player & Xiami Radio desktop for Linux & Mac supported by Electron
Stars: ✭ 304 (-61.81%)
Mutual labels:  macos-app
Gmail Desktop
📮 Nifty Gmail desktop app for macOS, Linux & Windows
Stars: ✭ 317 (-60.18%)
Mutual labels:  macos-app
Stringz
A lightweight and powerful editor for localizing iOS, macOS, tvOS, and watchOS applications.
Stars: ✭ 440 (-44.72%)
Mutual labels:  macos-app
macOS-global-autocomplete
📃 System-wide autocompleting that learns what you type and works in any app! (also slightly scary maybe don't use this...)
Stars: ✭ 26 (-96.73%)
Mutual labels:  macos-app
Macos Apps
Awesome macOS apps
Stars: ✭ 559 (-29.77%)
Mutual labels:  macos-app
MacAppIconSwitcher
Switches your Mac Application Icons
Stars: ✭ 18 (-97.74%)
Mutual labels:  macos-app
Switchkey
Automatically activate the correct input source.
Stars: ✭ 418 (-47.49%)
Mutual labels:  macos-app
Caprine
Elegant Facebook Messenger desktop app
Stars: ✭ 6,170 (+675.13%)
Mutual labels:  macos-app
Gifski
🌈 Convert videos to high-quality GIFs on your Mac
Stars: ✭ 5,691 (+614.95%)
Mutual labels:  macos-app
Iina Plus
Extra danmaku support for iina. (iina 弹幕支持
Stars: ✭ 451 (-43.34%)
Mutual labels:  macos-app

Glance

All-in-one Quick Look plugin

Glance provides Quick Look previews for files that macOS doesn't support out of the box.

Download on the Mac App Store

Supported file types

  • Source code (with Chroma syntax highlighting): .cpp, .js, .json, .py, .swift, .yml and many more

  • Markdown (rendered using goldmark): .md, .markdown, .mdown, .mkdn, .mkd, .Rmd

  • Archive: .tar, .tar.gz, .zip

  • Jupyter Notebook (rendered using nbtohtml): .ipynb

  • Tab-separated values (parsed using SwiftCSV): .tab, .tsv

FAQ

There are existing Quick Look apps for some of the supported file types. Why create another one?

  • Glance combines the features of many plugins into one and provides consistent and beautiful previews.
  • Glance is fully compatible with Dark Mode.
  • Some plugins still use the deprecated Quick Look Generator API and might stop working in the future.
  • Glance can easily be extended to support other file types.

Why does Glance require network permissions?

Glance renders some previews in a WKWebView. All assets are stored locally and network access is disabled, but web views unfortunately still need the com.apple.security.network.client entitlement to function.

Why isn't the app available on macOS 10.14 or older?

The app uses the new Quick Look API that was introduced in 10.15, so it unfortunately won't work with older versions of macOS.

Why are images in my Markdown files not loading?

Glance blocks remote assets. Furthermore, the app only has access to the file that's being previewed. Local image files referenced from Markdown are therefore not loaded.

Why isn't [file type] supported?

Feel free to open an issue or contribute! When opening an issue, please describe what kind of preview you'd expect for your file.

Please note that macOS doesn't allow the handling of some file types (e.g. .plist, .ts and .xml).

You claim to support [file type], but previews aren't showing up.

Please note that Glance skips previews for large files to avoid slowing down your Mac.

It's possible that your file's extension or UTI isn't associated with Glance. You can easily verify this:

  1. Check whether the file extension is matched to the correct class in PreviewVCFactory.swift.
  2. Find your file's UTI by running mdls -name kMDItemContentType /path/to/your/file. Check whether the UTI is listed under QLSupportedContentTypes in Info.plist.
  3. If an association is missing, please feel free to add it and submit a PR.

Contributing

Suggestions and contributions are always welcome! Please discuss larger changes (e.g. adding support for a new file type) via issue before submitting a pull request.

Xcode, Swift and Go need to be installed to build the app locally.

To add previews for a new file extension, please follow these steps:

  1. Create a new class for your file type in this directory. It should implement the Preview protocol. See the other files in the directory for examples.
  2. Match the file extension to your class in PreviewVCFactory.swift.
  3. Find your file's UTI by running mdls -name kMDItemContentType /path/to/your/file. Add it to QLSupportedContentTypes in Info.plist.
  4. Update README.md, SupportedFilesWC.xib, the App Store description and Credits.rtf (if you introduced a new library).
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].