With Aptivy you can turn any website into a native Windows, macOS or Linux application.
With Aptivy you can turn any website into a native Windows, macOS or Linux application.
Aptivy is so easy to use, you don't even have to know how to code. The documentation shows you all the required knowledge.
Aptivy is compatible with nearly any type of website, even Wordpress. If there are any issues with a website not loading, simple changes to the app will show any website.
Aptivy applications are compatible with Windows, macOS and Linux, so anybody can run your application.
- ✅ Any Website to App
- ✅ Built on Electron
- ✅ Support for Wordpress
- ✅ Easy to customize and edit
- ✅ High performance
- ✅ Webpage printing
- ✅ macOS, Windows & Linux
- ✅ No coding skills required
Download the latest source code release from the releases page, or clone the main branch. After extracting, open a terminal in the aptivy-desktop folder and install node modules.
npm install
Change Application URL
config.js
//Main Application URL
'websiteUrl' : 'http://example.com',
Change Application Name
package.json
"name": "New_App_Name",
config.js
'appName' : 'WebToDesk',
Change Application Description
package.json
"description": "Convert Website to a Desktop application",
Change Width and Height
config.js
//Application window width and height
'width' : Replace_Value,
'height' : Replace_Value,
'minWidth' : Replace_Value,
'minHeight' : Replace_Value,
Change Application Icon
Important
macOS
Optional icon.icns (macOS app icon) or icon.png. Icon size should be at least 512x512.
Windows
Optional icon.ico (Windows app icon) or icon.png. Icon size should be at least 256x256.
Linux
Linux icon sets will be generated automatically based on the macOS icons file or common icon.png.
Redesign local pages
All local web pages of your application (About, Contact and Loading page) are located in the public directory. You can open any one of the pages which you want to edit and make changes according to your preference.
Customizing Menus
- Main Menu:
menu-config.js
- Right Click Menu:
right-menu-config
Link local pages to Menu
menu-config.js
{label : 'Home', click : () => { require('./main')("home") }},
{label : 'About', click : () => { require('./main')("about") }},
Add new Menu Section
menu-config.js
{
label: 'New_Menu_Name',
submenu: [
{role : 'reload'},
{role : 'zoomIn'},
{role : 'zoomOut'},
]
},
Avialable Menu Roles
Undo, redo, cut, copy, paste, pasteAndMatchStyle, delete, selectAll, reload, forceReload, toggleDevTools, resetZoom, zoomIn, zoomOut, togglefullscreen, window, minimize, close, help, about, services, hide, hideOthers, unhide, quit, startSpeaking, stopSpeaking, close, minimize, zoom, front, appMenu, fileMenu, editMenu, viewMenu, recentDocuments, toggleTabBar, selectNextTab
Hide Website Elements
config.js
//Hide elements by ID
'hideElementsId' : ['id_1', 'id_2', 'id_3'],
//Hide elements by Class
'hideElementsClass' : ['class_1', 'class_2', 'class_3'],
To start your Aptivy Application start the app using:
npm start
To build your customized application for all platforms, you'll need to install electron-builder globally:
npm i electron-builder -g
Important Info:
Important
macOS Users – Can build macOS, Windows and Linux version of your application
Windows Users – Can only build Windows and Linux versions
Supported Platforms
macOS
Only 64bit binaries are provided for macOS. The minimum macOS version supported is macOS 10.10 (Yosemite).
Windows
Windows 7 and later are supported. Older operating systems are not supported (and do not work).
Linux
The prebuilt ia32 (i686) and x64 (amd64) binaries of Electron are built on Ubuntu 12.04, the armv7l binary is built against ARM v7 with hard-float ABI and NEON for Debian Wheezy.
Build for all Platforms
electron-builder -mwl
Build for all macOS
electron-builder --mac
Build for Windows
electron-builder --win
Build for Linux
electron-builder --linux
Built applications are located in the newly created directory called dist
which is inside your application directory.
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature-name
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature-name
) - Open a pull request
This project is licensed under the MIT License.
- massimo-rnd - @massimo_rnd - hi@massimo.gg
- Project Link - https://github.com/massimo-rnd/aptivy-desktop
Feel free to reach out if you have any questions or suggestions!