-
Notifications
You must be signed in to change notification settings - Fork 44
About HRCloud2 Apps
AppLauncher was designed for [HRCloud2] (https://github.com/zelon88/HRCloud2/wiki/About-HRCloud2) to provide the application with a safe and predictable opening for modular code, applications, and features. HRCloud2 Apps are unique because they are extremely simple and easy for anybody of any coding experience to make. Any web language is supported, and as an added bonus you PHP developers have access to [WordPress functions] (https://codex.wordpress.org/Function_Reference) to call in their projects. Create a WordPress website with HRCloud2 pulling the strings, or don't and run HRCloud2 as a standalone Cloud platform. Create end-user apps and install them with just a few clicks.
Apps, just like on any platform, are the bread-and-butter of what you do on a specific device. With HRCloud2 Apps for your server, you can serve content to your users with simply crafted PHP, JScript, and HTML. HRCloud2 can install, uninstall, display, and manage your Apps, as well as scan them for viruses to keep your server safe.
Apps can be any language, but there are some special requirements that HRCloud2 scans for when looking for installed Apps. These requirements are in place to protect you, your server, your users, and the trust between end-users and developers.
-
An "App" must have a .php file with the SAME EXACT name as the directory for the App. (Ex: Notes/Notes.php or Calculator/Calculator.php)
-
The "App.php" file must contain the following lines of code, adjusted for your App....
/*//
HRCLOUD2-PLUGIN-START
App Name: text
App Version: text
App License: text
App Author: text
App Description: text
App Integration: 0 or 1
HRCLOUD2-PLUGIN-END
//*/
-
Your App MUST be open-source, with publicly available source code, a link to the official HRCloud2 Github repo, and a license that satisfies GPLv3. (if you want to distribute it or monetize it in any way).
-
If you choose to distribute your file to others, it MUST be distributed in an archive file containing ONLY ONE FOLDER named WITH ONLY the name of the included App. (HRCloud2 will NOT launch an App with a mis-matched Directory/Naming structure)
-
Any App documentation or Readme files MUST be included INSIDE the app folder, NOT ALONGSIDE IT in the distribution archive. This ensures the Apps directory stays clean. (as extra files add time to HRCloud2's scans)
-
An App can contain as many files as it wants, but it CAN NOT contain an "index.html" file. Any index.html files in your App will be discarded and replaced by HRCloud2 for security. Your "App/App.php" file is effectively an App's index file. Developers can build their own libraries and include or require them into their Apps.
-
If one or more of these conditions are not met, HRCloud2 may not detect or properly install your App.
About
Getting Started
- Installation Instructions
- Dependency Requirements
- Official App Pack
- Official Game Pack
- Tech Description & Breakdown
Usage
Troubleshooting