Awesome Open Source
Awesome Open Source

Touch Bar Preview for macOS

latest release license Total downloads minimal system requirements donate

app icon

A small open source app to display your designs on the Touch Bar of the new MacBook Pro.

Install

Download, unzip, and drag the app to Applications folder. Touch Bar Preview requires macOS 10.12.2 or higher.

Instructions

To use Touch Bar Preview just drag and drop a image file (PNG, JPEG) into the app. The image should be 2170px wide and 60px high. Since the Touch Bar is a high-resolution Retina display, this is equivalent to 1085pt by 30pt.

The app automatically overlaps the System button (esc) and Control Strip on top of your design. So you don't have to exclude them in your design! Your design will get the required offset to be perfectly aligned. If your image is bigger or smaller than the required size, the image is currently stretched to fit into the app region.

Why is it not possible to hide the ESC and System Buttons on the right side?

As Apple states in the developer documentation of the Touch Bar:

On the right side of the Touch Bar, the system supplies the always-available Control Strip. The Control Strip gives the user access to standard controls for display brightness, sound volume, Siri, and so on. Your app’s bars appear to the left of the Control Strip. The user can choose to hide the Control Strip, which gives the frontmost app the entire Touch Bar width.

Read more about the Touch Bar in the Apple HIG.

Touch Bar UI Kit

If you're searching for a Touch Bar UI Kit, take a look at my macOS UI Kit Bundle.

You can also find the download link in the app.

Contributing

Feel free to create pull requests if you want to support the app!

If you have any feature request or found a bug, please create a new issue.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
swift (7,540) 
macos (1,661) 
design (362) 
application (138) 
free-software (58) 
design-tools (49) 
touchbar (30) 
macbook (16) 

Find Open Source By Browsing 7,000 Topics Across 59 Categories

Advertising 📦 10
All Projects
Application Programming Interfaces 📦 124
Applications 📦 192
Artificial Intelligence 📦 78
Blockchain 📦 73
Build Tools 📦 113
Cloud Computing 📦 80
Code Quality 📦 28
Collaboration 📦 32
Command Line Interface 📦 49
Community 📦 83
Companies 📦 60
Compilers 📦 63
Computer Science 📦 80
Configuration Management 📦 42
Content Management 📦 175
Control Flow 📦 213
Data Formats 📦 78
Data Processing 📦 276
Data Storage 📦 135
Economics 📦 64
Frameworks 📦 215
Games 📦 129
Graphics 📦 110
Hardware 📦 152
Integrated Development Environments 📦 49
Learning Resources 📦 166
Legal 📦 29
Libraries 📦 129
Lists Of Projects 📦 22
Machine Learning 📦 347
Mapping 📦 64
Marketing 📦 15
Mathematics 📦 55
Media 📦 239
Messaging 📦 98
Networking 📦 315
Operating Systems 📦 89
Operations 📦 121
Package Managers 📦 55
Programming Languages 📦 245
Runtime Environments 📦 100
Science 📦 42
Security 📦 396
Social Media 📦 27
Software Architecture 📦 72
Software Development 📦 72
Software Performance 📦 58
Software Quality 📦 133
Text Editors 📦 49
Text Processing 📦 136
User Interface 📦 330
User Interface Components 📦 514
Version Control 📦 30
Virtualization 📦 71
Web Browsers 📦 42
Web Servers 📦 26
Web User Interface 📦 210