5
22
3

What is MacGap?

MacGap provides HTML/JS/CSS developers an Xcode project for developing native OS X App. These Apps run in OS X's WebView and take advantage of WebKit technologies. MacGap exposes a JavaScript API for OS X integration, such as displaying native notifications or writing data to a file. MacGap is extremely lightweight and nimble; a blank application weighs less than 1MB.
MacGap is a tool in the Cross-Platform Desktop Development category of a tech stack.
MacGap is an open source tool with 3.6K GitHub stars and 226 GitHub forks. Here’s a link to MacGap's open source repository on GitHub

Who uses MacGap?

Companies
5 companies reportedly use MacGap in their tech stacks, including Slack, Flowdock, and Montemedia.

Why developers like MacGap?

Here’s a list of reasons why companies and developers use MacGap
MacGap Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose MacGap in their tech stack.

StackShare Editors
StackShare Editors
Chromium
MacGap
ES6
Electron
TypeScript
React
Node.js

Slack's new desktop application was launched for macOS. It was built using Electron for a faster, frameless look with a host of background improvements for a superior Slack experience. Instead of adopting a complete-in-box approach taken by other apps, Slack prefers a hybrid approach where some of the assets are loaded as part of the app, while others are made available remotely. Slack's original desktop app was written using the MacGap v1 framework using WebView to host web content within the native app frame. But it was difficult to upgrade with new features only available to Apple's WKWebView and moving to this view called for a total application rewrite.

Electron brings together Chromium's rendering engine with the Node.js runtime and module system. The new desktop app is now based on an ES6 + async/await React application is currently being moved gradually to TypeScript. Electron functions on Chromium's multi-process model, with each Slack team signed into a separate process and memory space. It also helps prevent remote content to directly access desktop features using a feature called WebView Element which creates a fresh Chromium renderer process and assigns rendering of content for its hosting renderer. Additional security can be ensured by preventing Node.js modules from leaking into the API surface and watching out for APIs with file paths. Communication between processes on Electron is carried out via electron-remote, a pared-down, zippy version of Electron's remote module, which makes implementing the web apps UI much easier.

See more
StackShare Editors
StackShare Editors
Chromium
MacGap
ES6
Electron
React
Node.js

The Slack desktop app was originally written us the MacGap framework, which used Apple’s WebView to host web content inside of a native app frame. As this approach continued to present product limitations, Slack decided to migrate the desktop app to Electron. Electron is a platform that combines the rendering engine from Chromium and the Node.js runtime and module system. The desktop app is written as a modern ES6 + async/await React application.

For the desktop app, Slack takes a hybrid approach, wherein some of the assets ship as part of the app, but most of their assets and code are loaded remotely.

See more

MacGap's Features

  • open-source
  • tiny compiled app sizes
  • Mac App Store compatible
  • access to many Mac OS X-specific features

MacGap Alternatives & Comparisons

What are some alternatives to MacGap?
Electron
With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor.
Element
Element is a Vue 2.0 based component library for developers, designers and product managers, with a set of design resources.
JavaFX
It is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.
Nativefier
Nativefier is a command line tool that allows you to easily create a desktop application for any web site with succinct and minimal configuration. Apps are wrapped by Electron in an OS executable (.app, .exe, etc.) for use on Windows, OSX and Linux.
React Native Desktop
Build OS X desktop apps using React Native.
See all alternatives

MacGap's Stats

MacGap's Followers
22 developers follow MacGap to keep up with related blogs and decisions.
Sean C
Roger Winright
MohammadAsh15
Dreamweaver85
Sujeeth Jinesh
Ara Yapejian
Callen Wang
Sergey S Petrenko
Alexander Evseev
Joel Duckworth