/SilverOS

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

SilverOS

SilverOS is a user-friendly operating system simulator designed with :3 in mind.

Installation - Source

To install SilverOS from the source, follow these straightforward steps:

  1. Open your terminal.
  2. Run the following command:
git clone -b gh-pages https://github.com/HttpAnimation/SilverOS.git
  1. Navigate to the SilverOS directory:
cd SilverOS
  1. Install dependencies:
npm install
  1. Build SilverOS:
npm run make
  1. Navigate to the build directory:
cd out/make

Choose your operating system and follow the specific installation instructions below:

Linux

  • RPM:
sudo dnf install *.rpm
  • DEB:
sudo dpkg -i *.deb

macOS

  • Intel:

Extract the zip file and drag the app into your Applications folder.

  • ARM:

(Not tested)

don't have a m# :(

NT

(Not tested)

Mods

Enhance SilverOS with additional mods by following these steps:

  1. Download the desired mod from a trusted source, such as GitHub.
  2. Ensure proper organization of mod files:
- ModEXP
  - index.html
  - package.json
  - script.js
  - style.css
  1. Move the mod folder to the "mods" directory within the SilverOS project:
mv My\ Mod Mods
  1. for Linux and macOS run the modLoader.sh script:
./modLoader.sh
  1. For NT use the modLoader.bat script:
start modLoader.bat

Login

Access the login page with the default password admin. Modify the password by editing the config.json file:

Before modification:

{
    "Comment-2": "This is the login password",
    "LoginPassword": "admin"
}

After modification:

{
    "Comment-2": "This is the login password",
    "LoginPassword": "NewPasswordHere"
}

How to package

To package a mod/plugin make a new file called package.json

nano package.json

Now add the following

{
    "Name": "NameOfApp",
    "Photo": "ModName/iconpath/icon.png",
    "MainEXE": "ModName/file.html",
    "Width": "800px",
    "Height": "480px",
    "NewTab": false
}
  1. "Name"
    "Name": "NameOfApp",

Name is the name of app usally the folder name.

    "Name": "Forkfights",
  1. "Photo"
    "Photo": "ModName/iconpath/icon.png",

Photo is the icon that gets displayed on the desktop usally a size of >612x612.

  1. "Photo"
    "Photo": "Forkfights/photos/icon.png",
  1. "MainEXE"
    "MainEXE": "ModName/file.html",

MainEXE is the file gets displayed this is your main page.

    "MainEXE": "Forkfights/index.html",
  1. "Width"
    "Width": "800px",

Width is the x axis of the app and should usally kept to be default unless reason.

    "Width": "800px",
  1. "Height"
    "Height": "480px",

Height is the size of the y-axis of your app and should usally be kept as defauly unless reason.

    "Height": "480px",
  1. NewTab
    "NewTab": false

NewTab tells SilverOS if the app should be opening a full new frame or a new app window this is usally for fullscreen.

How updates are made.

Updates will be sent out to the github as packages.

Modded NT READ

If your modded NT distro edits the terminal/cmd app then the app may not work to make sure it works type in the app cmd and make sure it enters the dir.

cd Downloads

Credits

photo