nativefier: added and linked

master
tiyn 1 year ago
parent 98513a2c4c
commit e52ece2b2a

@ -15,6 +15,8 @@ The following list provides a select few of them.
- [Delver Lens](https://www.delverlab.com/) is an [Android](/wiki/android.md) application for
scanning cards and displaying its price.
Following scanning the cards can be exported to a CSV file.
- [Dragon Shield MTG Card Manager](https://mtg.dragonshield.com/) is a collection and deck manager
available both as an apple and [Android](/wiki/android.md) app and as a website.
- [Magic Judges](https://chat.magicjudges.org/mtgrules/) is a live chat with judges to clarify the
rules.
- [MTG Desktop Companion](https://www.mtgcompanion.org/) is a collection manager for MTG that
@ -28,6 +30,9 @@ The following list provides a select few of them.
- [What's in Standard?](https://whatsinstandard.com/) lists the sets that are currently legal in
the standard format.
Using [Nativefier](/wiki/nativefier.md) a desktop app can be created from all websites listed if
needed.
## Playing Online
There is a fully digital and online version of MTG called

@ -0,0 +1,34 @@
# Nativefier
[Nativefier](https://github.com/nativefier/nativefier) is an command-line tool to create desktop
apps from websites.
This way a single website can be used as an application in contrast to opening it in a
[browser](/wiki/web_browser.md).
It uses [Electron](https://www.electronjs.org/) which in turn uses
[Chromium](https://www.chromium.org/).
## Setup
Nativefier is available on [GitHub](https://github.com/nativefier/nativefier).
Additionally for some [Linux distributions](/wiki/linux.md#distributions) like
[Arch Linux' AUR](/wiki/linux/package_manager.md#arch-linux-pacman-and-yay) it is available via a
package often called `nodejs-nativefier`.
## Usage
The following command example creates an Electron desktop application in a folder inside the home
directory.
The app will be named `Mastodon` will be `x64` compatible with a resolution
of `1024`x`768` pixel.
It will create an icon in the systems `tray` and disable the Chromium developer tools
(`disable-dev-tools`).
The website to make into the application will be `https://mastodon.technology`.
Change these values accordingly.
```sh
nativefier --name Mastodon \
--platform linux --arch x64 \
--width 1024 --height 768 \
--tray --disable-dev-tools \
--single-instance https://mastodon.technology
```

@ -9,3 +9,13 @@ There are various web browsers that are used.
This article recommends the usage of [Firefox](/wiki/firefox.md) because it is
both widely supported and gives the posibility to configure many things to
provide a secure web browser.
## Usage
This section focusses on usage of web browsers in general or topics related to them.
### Making a Website into a Desktop Application
It is possible to create an [Electron-based](https://www.electronjs.org/) web application from a
website.
For this the open-source and free software tool [Nativefier](/wiki/nativefier.md) can be used.

Loading…
Cancel
Save