MacGap

用于 HTML/CSS/JS 应用程序的桌面 WebKit 包装器。(Desktop WebKit wrapper for HTML/CSS/JS applications.)

  • Owner: MacGapProject/MacGap1
  • Platform: Mac
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

MacGap

MacGap 项目为 HTML/JS/CSS 开发者提供了一个 Xcode 项目,用于开发在 OSX 的 WebView 中运行的 Native OSX 应用程序,并利用 WebKit 技术。

该项目公开了用于 OS X 集成的 JavaScript API,例如显示本机 OS X 10.9 通知。 MacGap 项目非常轻巧灵活,一个空白的应用程序大约是 980KB。

特性:

  • 小编译的应用程序大小
  • Mac App Store兼容
  • 访问许多 Mac OS X 专用功能

先决条件

MacGap 适用于 OSX 10.6 及更高版本。

macgap generator 生成应用程序,不需要编译。

gem install macgap
macgap new myapp
macgap build myapp

API

MacGap 在 JavaScript 中公开了一个名为 macgap 的对象。您可以使用它来改变 Dock 图标并显示 Growl 通知等等。该 API 在 GitHub 上的 WIKI 中有文档记录:https://github.com/maccman/macgap/wiki

属性

MacGap 是从 Phonegap-mac 派生出来的。它具有相同的许可证(MIT)。

自定义生成

要构建,请确保您已安装最新的Mac OSX Core Library。从 http://developer.apple.com/ 下载。 只需克隆存储库并在 Xcode 中构建。文件public/index.html 在启动时加载。

Main metrics

Overview
Name With OwnerMacGapProject/MacGap1
Primary LanguageObjective-C
Program languageObjective-C (Language Count: 3)
PlatformMac
License:Other
所有者活动
Created At2012-01-09 02:49:22
Pushed At2020-03-26 14:47:58
Last Commit At2017-06-11 16:30:05
Release Count0
用户参与
Stargazers Count3.6k
Watchers Count93
Fork Count208
Commits Count117
Has Issues Enabled
Issues Count105
Issue Open Count52
Pull Requests Count29
Pull Requests Open Count4
Pull Requests Close Count9
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

MacGap

The MacGap project provides HTML/JS/CSS developers an Xcode project for developing Native OSX Apps that run in OSX's WebView and take advantage of WebKit technologies.

The project exposes a JavaScript API for OS X integration, such as displaying native OS X 10.9 notifications. The MacGap project is extremely lightweight and nimble; a blank application is about 980KB.

Features:

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

Pre-requisites

MacGap works on OSX 10.6 and later.

Generate apps with the macgap generator, no compile necessary.

gem install macgap

macgap new myapp
macgap build myapp

API

MacGap exposes an object called macgap inside JavaScript. You can use it to alter the Dock icon and display Growl notifications, amongst other things. The API is documented in the WIKI on GitHub: https://github.com/maccman/macgap/wiki

Attributes

MacGap was forked/ported from Phonegap-mac. It's under the same license (MIT).

Custom Build

To build, make sure you have installed the latest Mac OSX Core Library. Download at http://developer.apple.com/.

Just clone the repository and build in Xcode. The file public/index.html is loaded on startup.