In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
It is believed that many inexperienced people don't know how to turn any website into a single executable Appimage in Linux. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
Do you want to create the Web application as a portable Appimage package format? Appnativefy is a simple tool that can help you achieve this function.
Appnativefy is a simple command-line tool that generates executable AppImage files from any Web site, using Nativefier API on the back end with AppImageKIt.
Appimage is a general Linux package format. Unlike other packages, you do not need to install it. Just make it executable and run the startup program!
How to use Appnativefy:
Using Appnativefy, you can run a simple command to convert a Web site into a single executable Appimage:
Appnativefy-name "TYPE_PACKAGE_NAME"-url "URL_ADDRESS"
For example, you can change www.linuxmi.com to appimage with the following command:
Linuxmi@linuxmi:~/www.linuxmi.com$ appnativefy-name "LinuxMi"-url "https://www.linuxmi.com"-favicon
You can add more flags at the end of the command to enable more options, such as:
-- services allows login using services such as Microsoft 365 and Google.
-- favicon enforces the use of website icons when creating AppImage.
-- widevine added Widevine support to enable playback of DRM-enabled content.
For more information, run appnativefy-h
For example, running the following command creates an application image for Spotify that has Widevine support, enables login services, and uses favicon.
Linuxmi@linuxmi:~/www.linuxmi.com$ appnativefy-name "Spotify"-url "https://open.spotify.com"-services-widevine-favicon
The application will create an appnativefy folder in the user's home directory that contains all generated Appimage packages.
How to install Appnativefy:
The software is provided in the form of NPM software package. To install it, first open the terminal and run the command to install the dependency:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt install nodejs npm wget
Then install the tool through the npm command:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo npm install-g appnativefy
The output is as follows:
Npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported / usr/local/bin/appnativefy-> / usr/local/lib/node_modules/appnativefy/appnativefy.js > core-js@3.9.0 postinstall / usr/local/lib/node_modules/appnativefy/node_modules/core-js > node-e "try {require ('. / postinstall')} catch (e) {}"
How to delete an Appnativefy:
To delete the command line tool, simply run the command:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo npm uninstall-g appnativefy
If you do not use nodejs and npm, delete them to free up dozens of MB of disk space:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt purge-auto-remove nodejs npm after reading the above, have you mastered how to turn any website into a single executable Appimage in Linux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.