<aid="table-of-contents"class="anchor"href="#table-of-contents"aria-hidden="true"><spanaria-hidden="true"class="octicon octicon-link"></span></a>Table of Contents</h2>
<p>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 <ahref="http://electron.atom.io">Electron</a> in an OS executable (<code>.app</code>, <code>.exe</code>, etc.) for use on Windows, OSX and Linux.</p>
<p>I did this because I was tired of having to <code>⌘-tab</code> or <code>alt-tab</code> to my browser and then search through the numerous open tabs when I was using <ahref="http://messenger.com">Facebook Messenger</a> or <ahref="http://web.whatsapp.com">Whatsapp Web</a>.</p>
<p>View the changelog <ahref="https://github.com/jiahaog/nativefier/blob/master/History.md">here</a>.</p>
<p>Nativefier will intelligently attempt to determine the app name, your OS and processor architecture, among other options. If desired, the app name or other options can be overwritten by specifying the <code>--name "Medium"</code> as part of the command line options, as such.</p>
<p>Read the <ahref="docs/api.md">API documentation</a> for other command line flags and options that can be used to configure the packaged app.</p>
<p>If you would like high resoulution icons to be used, please contribute to the <ahref="https://github.com/jiahaog/nativefier-icons">icon repository</a>!</p>
<p><strong>For Windows Users:</strong> Take note that the application menu is automatically hidden by default, you can press <code>alt</code> on your keyboard to access it.</p>
<p><strong>For Linux Users:</strong> Do not put spaces if you define the app name yourself with <code>--name</code>, as this will cause problems (tested on Ubuntu 14.04) when pinning a packaged app to the launcher.</p>
<aid="icons-for-windows-apps-from-non-windows-platforms"class="anchor"href="#icons-for-windows-apps-from-non-windows-platforms"aria-hidden="true"><spanaria-hidden="true"class="octicon octicon-link"></span></a>Icons for Windows Apps from non-Windows platforms</h3>
<aid="icon-conversion-for-osx"class="anchor"href="#icon-conversion-for-osx"aria-hidden="true"><spanaria-hidden="true"class="octicon octicon-link"></span></a>Icon Conversion for OSX</h3>
<p>To support conversion of a <code>.png</code> or <code>.ico</code> into a <code>.icns</code> for a packaged OSX app icon (currently only supported on OSX), you need the following dependencies.</p>
<p>Google Chrome is required for flash to be supported. Alternatively, you could download the PepperFlash Chrome plugin and specify the path to it directly with the <code>--flash</code> flag. See the command line options below for more details.</p>
<aid="how-it-works"class="anchor"href="#how-it-works"aria-hidden="true"><spanaria-hidden="true"class="octicon octicon-link"></span></a>How It Works</h2>
<p>A template app with the appropriate event listeners and callbacks set up is included in the <code>./app</code> folder. When the <code>nativefier</code> command is executed, this folder is copied to a temporary directory with the appropriate parameters in a configuration file, and is packaged into an app with <ahref="https://github.com/electron-userland/electron-packager">Electron Packager</a>.</p>
<p>In addition, I built <ahref="https://github.com/jiahaog/gitcloud">GitCloud</a> to use GitHub as an icon index, and also the <ahref="https://github.com/jiahaog/page-icon">pageIcon</a> fallback to infer a relevant icon from a url.</p>
<spanclass="site-footer-owner"><ahref="https://github.com/jiahaog/nativefier">Nativefier</a> is maintained by <ahref="https://github.com/jiahaog">jiahaog</a>.</span>
<spanclass="site-footer-credits">This page was generated by <ahref="https://pages.github.com">GitHub Pages</a> using the <ahref="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <ahref="https://twitter.com/jasonlong">Jason Long</a>.</span>