From e52ece2b2af65e11d8d39922e7a67579c60e2112 Mon Sep 17 00:00:00 2001 From: tiyn Date: Wed, 22 Nov 2023 03:24:40 +0100 Subject: [PATCH] nativefier: added and linked --- wiki/games/magic:_the_gathering.md | 5 +++++ wiki/nativefier.md | 34 ++++++++++++++++++++++++++++++ wiki/web_browser.md | 10 +++++++++ 3 files changed, 49 insertions(+) create mode 100644 wiki/nativefier.md diff --git a/wiki/games/magic:_the_gathering.md b/wiki/games/magic:_the_gathering.md index 9d4c422..9ac498b 100644 --- a/wiki/games/magic:_the_gathering.md +++ b/wiki/games/magic:_the_gathering.md @@ -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 diff --git a/wiki/nativefier.md b/wiki/nativefier.md new file mode 100644 index 0000000..f11abb3 --- /dev/null +++ b/wiki/nativefier.md @@ -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 +``` diff --git a/wiki/web_browser.md b/wiki/web_browser.md index 50fbe36..e3db5f8 100644 --- a/wiki/web_browser.md +++ b/wiki/web_browser.md @@ -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.