Git Product home page Git Product logo

nativefier-icons's Introduction

Note: Nativefier is unmaintained, please see #1577.

Nativefier

Example of Nativefier app in the macOS dock

You want to make a native-looking wrapper for WhatsApp Web (or any web page).

nativefier 'web.whatsapp.com'

Walkthrough animation

You're done.

Introduction

Nativefier is a command-line tool to easily create a “desktop app” for any web site with minimal fuss. Apps are wrapped by Electron (which uses Chromium under the hood) in an OS executable (.app, .exe, etc) usable on Windows, macOS and Linux.

I built this because I grew tired of having to Alt-Tab to my browser and then search through numerous open tabs when using Messenger or Whatsapp Web (HN thread). Nativefier features:

  • Automatically retrieval of app icon / name
  • Injection of custom JS & CSS
  • Many more, see the API docs or nativefier --help

Installation

Install Nativefier globally with npm install -g nativefier . Requirements:

  • macOS 10.13+ / Windows / Linux
  • Node.js ≥ 16.9 and npm ≥ 7.10

Optional dependencies:

  • ImageMagick or GraphicsMagick to convert icons. Be sure convert + identify or gm are in your $PATH.
  • Wine to build Windows apps from non-Windows platforms. Be sure wine is in your $PATH.
Or install with Docker (click to expand)
  • Pull the image from Docker Hub: docker pull nativefier/nativefier
  • ... or build it yourself: docker build -t local/nativefier . (in this case, replace nativefier/ in the below examples with local/)

By default, nativefier --help will be executed. To build e.g. a Gmail app into ~/nativefier-apps,

docker run --rm -v ~/nativefier-apps:/target/ nativefier/nativefier https://mail.google.com/ /target/

You can pass Nativefier flags, and mount volumes to pass local files. E.g. to use an icon,

docker run --rm -v ~/my-icons-folder/:/src -v $TARGET-PATH:/target nativefier/nativefier --icon /src/icon.png --name whatsApp -p linux -a x64 https://web.whatsapp.com/ /target/
Or install with Snap & AUR (click to expand)

These repos are not managed by Nativefier maintainers; use at your own risk. If using them, for your security, please inspect the build script.

Usage

To create an app for medium.com, simply nativefier 'medium.com'

Nativefier will try to determine the app name, and well as other options that you can override. For example, to override the name, nativefier --name 'My Medium App' 'medium.com'

Read the API docs or run nativefier --help to learn about command-line flags and configure your app.

Troubleshooting

See CATALOG.md for site-specific ideas & workarounds contributed by the community.

If this doesn’t help, go look at our issue tracker.

Development

Help welcome on bugs and feature requests!

Docs: Developer / build / hacking, API / flags, Changelog.

License: MIT.

nativefier-icons's People

Contributors

ac21 avatar alexanderpepper avatar austencm avatar brunolemos avatar codebucketdev avatar cryogenx avatar dennisroche avatar derekperkins avatar ecogan avatar egmontsong avatar ejjoo avatar eladnava avatar elfassy avatar ericsaboia avatar focusaurus avatar fsavje avatar ialexryan avatar jiahaog avatar kingmob avatar krystof-k avatar matanrubin avatar mattiaaccornero avatar mvhenten avatar nicolasgeraud avatar nlbuescher avatar pkuczynski avatar redoxeon avatar rodrigoflores avatar sconetto avatar swrobel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nativefier-icons's Issues

Is this project still maintained?

I've had a PR submitted for over a month now, and I see some that are older. I have many more contributions I'm eager to make, but not if my pull requests are ignored.

Open links in default browser by default

Hi, I'm wondering, is there a way to define the behavior for links.

Indeed, I'm using nativefier for gmail/inbox and I'm a bit tired notably with a trackpad to use the second click to open links in my default browser.

The current default behavior is to open a new window inside nativefier which of course doesn't share cookies, …

Thanks :)

Application to join nativefier-icons maintainer team

Details

User: github.com/PhantomNimbi
Team: github.com/DeveCorner-Github
Support Request: Application to join nativefier-icons maintainer team
Details:

I'm noticing this repo has become largely unmaintained and would like to offer to help maintain it if it would be something the nativefier team is willing to allow.

If accepted, I can check for new pull requests occasionally and even set up push notifications to notify me of new pull requests so I can keep on top of it, as well as anything else that may be asked of me.

As it stands I have plenty of free time and would be plenty capable of helping to keep the icon-repo maintained if the team is willing to allow.

If you are up for accepting a new maintainer I'm free to help. You can contact me via Discord and also via a response to this page if it is faster.

Contact Information

Is this dead?

Adding icons seems to be not happening, trying to generate some apps would love this repo to be updated

In README.md, iconverticons.com link not working

In the README.md, iconverticons.com is the suggested site to use to convert icons. The link leads to a broken page.

Specs:
OS: Windows 10
Browsers used: Chrome version 100.0.4896.88, Firefox version 99.0.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.