• Stars
    star
    2,753
  • Rank 16,544 (Top 0.4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 16 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A QuickLook plugin that lets you view plain text files without a file extension

QuicklookStephen

QLStephen is a QuickLook plugin that lets you view text files without their own dedicated QuickLook plugin. Files like:

README
INSTALL
Capfile
CHANGELOG
package.json
etc...

Installation

Homebrew

brew install --cask qlstephen

Pre-compiled

Manually Compiled

Compiling the project yourself? Run:

make
make install

Permissions (Quarantine)

If you run into issues with macOS not letting you run the plugin because it's not signed by a verified developer you can follow these steps:

  1. Install the plugin using one of the methods above
  2. run xattr -cr ~/Library/QuickLook/QLStephen.qlgenerator (sudo if needed)
  3. run qlmanage -r
  4. run qlmanage -r cache
  5. Restart Finder by...
    • Restarting your computer
    • or holding down the option key and right click on Finder’s dock icon, then select “Relaunch” from the menu

For more disucssion on this you can read up on #81 starting here

Settings

Maximum file size

To keep quickview fast the preview is limited in its number of shown bytes. The default value is 100kB. You can change this using the shell to set your own max size.

defaults write com.whomwah.quicklookstephen maxFileSize 102400

Trouble?

If you’ve installed the plugin, but don’t see any changes:

  • Run qlmanage -m and look for the public.data line to make sure a different application's qlgenerator file hasn't taken precedence. (Not all qlgenerator files are in ~/Library/QuickLook/ or /Library/QuickLook/!)
  • Make sure you are editing (a) the correct plist of (b) the correct bundle. (For example, you might have two QLStephen plugins. It’s possible the plugin in another directory — perhaps /Library/QuickLook/ — is what is being read.)
  • Run qlmanage -r in the Terminal. (This will restart QuickLook, which reloads all plugins.)

If you want to preview some text files that do have extensions (e.g., *.txt), follow these instructions.

Why “QLStephen”?

Because I was listening to Adam and Joe when I first wrote it.

Authors

Original author: Duncan Robertson

Special thanks to the following people for submitting patches over the years:

Contributing

  • Fork the project
  • Send a pull request
  • Don’t change the build number (I’ll do that when I release a new version)

More Repositories

1

rqrcode

A Ruby library that encodes QR Codes
Ruby
1,884
star
2

rqrcode_core

A Ruby QRCode encoding library
Ruby
43
star
3

language-timothy

A Google Wave Robot that removes bad language from waves
Python
12
star
4

alfred-github-workflow

An Alfred 5 workflow for working with Github. Uses Deno, written in TypeScript
TypeScript
11
star
5

code

Various bit and pieces
Vim Script
11
star
6

radioaunty

A Mac app that allows you to listen to live and catchup BBC Radio
Objective-C
10
star
7

BBC-Now-Next-Chrome

A Google Chrome extension that displays BBC Now Next information. http://littl.me/p1ew
JavaScript
6
star
8

light-controller

A Simple http proxy for controlling the spotlights at work
Ruby
6
star
9

tweetme

A Wordpress plugin that posts a tweet to Twitter when you publish a blog post
PHP
5
star
10

tellybox

A Mac app that allows you to watch live and catchup BBC Television
Objective-C
5
star
11

Redux-Switcher

A Chrome extension to easily switch between BBC Programmes and Redux pages
JavaScript
5
star
12

Twapps

A couple of simple Twitter command line apps I wrote on the train
4
star
13

bbcprogrammes_iphone_webapp

An iPhone WebApp showing BBC Programmes schedule data
JavaScript
4
star
14

revcanonical

A Wordpress plugin that adds rev=canonical support
PHP
4
star
15

vim-config

My Vim config files
Vim Script
4
star
16

redux-podcaster

Redux podcaster generates podcast feeds using Redux data (A BBC Redux account is required)
Ruby
4
star
17

wp-theme-whomwah

A Wordpress theme currently built against WP 2.6 but should work for others
PHP
4
star
18

gwplanner

A Sinatra app that creates turns the BBC Gardener Planner data into the .ics format
Ruby
2
star
19

alfred-vscode-workflow

Searches for `.git` repos in a path of your choice and allows you to open them in VSCode.
TypeScript
2
star
20

whomwah.github.com

HTML
2
star
21

demo-semantic-release-gh-actions

This is demo project showing how you can use both semantic-release and Github actions to package and release a new version of your product.
Shell
2
star
22

findd

Show all parent directories of named dir e.g .git
C
1
star
23

shoppinglist

Creating shopping lists from BBC Recipes
Ruby
1
star
24

oi

Amplify reminders so they are in your face
Swift
1
star
25

tealist

An application for managing lists of people who drink tea
1
star
26

bbc-pac

simple to read proxy settings for idiots like me who forget
Ruby
1
star
27

kyan_docker_rails_legacy

Build Kyan.com Rails images for local development using Legacy Ruby
1
star
28

alfred-github-workflow-auth

TypeScript
1
star
29

Road-Cycling-Events-2012

simple script to generate an ical/ics file of road cyling events in 2012
Ruby
1
star
30

kyan_docker_rails

Images we used at kyan.com as a base image to simplify local development of Rails apps
1
star
31

homebrew-tap

Homebrew Formulae
Ruby
1
star