some wrappers around nativefier to generate sites and install them for you in Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Adasauce 90f6688091
refactor: move scripts to `sh` dir.
4 years ago
icons Initial commit 4 years ago
sh refactor: move scripts to `sh` dir. 4 years ago
LICENSE add License 4 years ago
Makefile refactor: move scripts to `sh` dir. 4 years ago
README.md docs: add usage output to the readme to give an idea. 4 years ago

README.md

mknative

Some bash wrappers around nativefier to generate standalone electron apps.

Usage

mknative
========
Basic Usage: $ mknative [-u] -n NativeExample -s https://example.com       
---------------------------------------------------------------------------
  -n NativeExample             installed application name (basically an id)
  -s https://example.com       website address                             
  -u                [optional] uninstall                                   
  -i example.com    [optional] domain name to fetch favicon from.          
  -e '--extra-args' [optional] pass some extra args to nativefier build.   

Installation

make install

note: make sure ~/.local/bin is in your $PATH

Generating apps

mknative -n example-app -s https://example.com

it will look for an example-app.png file in ~/.local/share/mknative/icons/. Just download the icon for the site and place it there before running.

Then check out your application launcher for example-app.

Uninstalling apps

mknative -u -n $name

Contributing

I'd like to know if it works for you, or if it's broken somehow.

I'm not looking to create a giant repository of icons, the official nativefier repo on github has a ton of them for common sites. Please don't open issues and pull requests to add them.

It would be really handy if there were a little script that pulled down the icons as part of the mknative build step to avoid the manual process of fetching and placing an icon.