Kernel Simulator simulates the future of our planned kernel that's coming as soon as it's finished. It consists of the kernel, the built-in shell known as UESH, and the built-in applications.
Not only it has some basic commands, but it also provides script support, network support, and tons of awesome things.
WARNING: Second-generation versions of KS are not backwards-compatible with the first-generation versions. Upgrade your mods to support the latest API changes.
WARNING: The gangsta language contains strong language that may make you feel uncomfortable reading it.
Here are all the CI build status for all the active KS branches.
Branch | AppVeyor |
---|---|
master | |
servicing |
This section covers what you need to run Kernel Simulator. Please refer to the table below:
System | System version | Framework version | Terminal Emulator | Internet |
---|---|---|---|---|
Windows | Windows 7 or later | .NET Framework 4.8 or .NET Runtime 6.0 | Improved cmd.exe, ConEmu | Required |
Linux | Supported distros | Mono 5.10 or later or .NET Runtime 6.0 | Konsole, GNOME Terminal | Required |
macOS | macOS Catalina | Mono Runtime or .NET Runtime 6.0 | iTerm2 (Terminal.app not supported) | Required |
System | System version | Framework version | Terminal Emulator | Internet |
---|---|---|---|---|
Windows | Windows 10 or 11 | .NET Framework 4.8 or .NET Runtime 6.0 | Improved cmd.exe, ConEmu | Required |
Linux | Supported distros | Mono 6.0 or later or .NET Runtime 6.0 | Konsole, GNOME Terminal | Required |
macOS | macOS Catalina | Mono Runtime or .NET Runtime 6.0 | iTerm2 (Terminal.app not supported) | Required |
- Terminal.app has broken support for 255 and true colors. We discourage using it.
- Download .NET Runtime 6.0 from here
- Download .NET Framework 4.8 from here
- Download Mono from here
This section covers how to install Kernel Simulator on your system. Please scroll down to your system below.
- Install Chocolatey here.
- Press the
chocolatey
button - Follow the steps to install Kernel Simulator
- Once installed, open PowerShell and execute
ks
- Download the Kernel Simulator binary files here.
- Unzip the file to any directory
- Run it by double-clicking
Kernel Simulator.exe
- Open the terminal, and execute
sudo add-apt-repository ppa:eofla/kernel-sim
- Confirm the addition of the PPA. It should update your package cache
- Execute
sudo apt install kernel-simulator
- Execute
ks
- Download the Kernel Simulator binary files here.
- Unzip the file to any directory
- Install the following programs:
- Microsoft.VisualBasic.dll 10.0 (Debian and its derivatives:
sudo apt install libmono-microsoft-visualbasic10.0-cil
) - mono-vbnc (Debian and its derivatives:
sudo apt install mono-vbnc
) - libcpanel-json-xs-perl (Debian and its derivatives:
sudo apt install libcpanel-json-xs-perl
) - Inxi application (For hard drive probation) (Debian and its derivatives:
sudo apt install inxi libcpanel-json-xs-perl
)
- Microsoft.VisualBasic.dll 10.0 (Debian and its derivatives:
- Open terminal to the directory that contains KS, and run it using
mono "Kernel Simulator.exe"
- Download the Kernel Simulator binary files here.
- Unzip the file to any directory
- Install the following programs:
- Open terminal to the directory that contains KS, and run it using
mono "Kernel Simulator.exe"
This section covers how to build Kernel Simulator on your system. Please scroll down to your platform below.
- Open Visual Studio
- Press
Clone a repository
- In Repository Location, enter
https://github.com/Aptivi/Kernel-Simulator.git
- Wait until it clones. It might take a few minutes depending on your Internet connection.
- Press
Solution Explorer
, then pressSwitch Views
- Click on
Kernel Simulator.sln
- Press
Start
or pressBuild > Build Solution
- Open your file explorer, go to the build directory, and double-click on the executable file.
- Install Mono Runtime, Git, and
libmono-microsoft-visualbasic10.0-cil
. - Install JetBrains Rider.
- After installation, open JetBrains Rider, and follow the configuration steps.
- When the main menu opens, choose
Check out from Version Control
and thenGit
. - Write on the URL
https://github.com/Aptivi/Kernel-Simulator.git
and pressTest
to verify your connectivity. - Press Clone, and git will download the repo, then Rider will open up. It might take a few minutes depending on your Internet connection.
- Make sure that you're building
Kernel Simulator.sln
asKS.DotNetSdk.sln
is not ready yet - Click on the hammer button to build, the bug button (breakpoints enabled), or the Run button (breakpoints disabled - CTRL+F5 on VS). When the Edit configuration screen appears, tick the checkbox named
Use External Console
. - If you used the hammer button, then open your file explorer, go to the build directory, and double-click on the executable file.
- Install Mono Runtime,
libmono-microsoft-visualbasic10.0-cil
, and MonoDevelop. - After installation, extract the source code, open MonoDevelop, and click on
Open...
to navigate toKernel Simulator.sln
- Click on the
Build
menu bar, and click on build button to compile. - In your file manager, go to the build directory and then double-click on the executable file.
The packing and distribution procedures are now easier by executing this script below on the command line.
- Open the terminal to the root directory of KS
- Execute
./buildandpack.sh
if you're using Linux or executebuildandpack
oncmd
if running on Windows
Credits to | For |
---|---|
Aptivi | Owner of Kernel Simulator |
OpenWeatherMap | Weather API |
jonasjacek | Console color data |
sindresorhus | Word list |
ayu-theme | Ayu Theme |
Ethan Schoonover | Solarized Theme |
Fabian Neuschmidt | Breezy Theme |
TechRepublic | Articles RSS feed URL |
Aptivi | Name databases |
smashew | Name databases (just in case) |
yavuz | RSS feed list by country |
All VIM theme makers | for VIM themes, such as Darcula, Melange, Papercolor, SpaceCamp, etc. |
All contributors | Contribution |
Below entries are the open source libraries that are used by KS and are required for execution.
Source code: https://github.com/Aptivi/Addresstigator/
Copyright (c) 2022-present Aptivi
License (MIT): https://github.com/Aptivi/Addresstigator/blob/main/LICENSE.txt
Source code: https://github.com/force-net/CRC32.NET
Copyright (c) 2017, force
License (MIT): https://github.com/force-net/Crc32.NET/blob/develop/LICENSE
Source code: https://github.com/Aptivi/Extensification/
Copyright (c) 2020-present Aptivi
License (GNU GPL 3.0 or later): https://github.com/Aptivi/Extensification/blob/master/LICENSE
Source code: https://github.com/drewnoakes/figgle
Copyright (c) 2017-2021 drewnoakes
License (Apache License 2.0): https://github.com/drewnoakes/figgle/blob/master/LICENSE
Source code: https://github.com/robinrodricks/FluentFTP
Copyright (c) 2011-2016, J.P. Trosclair
Copyright (c) 2016-present, Robin Rodricks
License (MIT): https://github.com/robinrodricks/FluentFTP/blob/master/LICENSE.TXT
Source code: https://github.com/zzzprojects/html-agility-pack/
Copyright (c) ZZZ Projects Inc. 2014 - 2021. All rights reserved.
License (MIT): https://github.com/zzzprojects/html-agility-pack/blob/master/LICENSE
Source code: https://github.com/Aptivi/Inxi.NET/
Copyright (c) 2020-present Aptivi
License (GNU GPL 3.0 or later): https://github.com/Aptivi/Inxi.NET/blob/master/LICENSE
Source code: https://github.com/jstedfast/MailKit/
Copyright (c) 2013-present, .NET Foundation and Contributors
License (MIT): https://github.com/jstedfast/MailKit/blob/master/LICENSE
Source code: https://github.com/Aptivi/ManagedWeatherMap/
Copyright (c) 2021-present Aptivi
License (MIT): https://github.com/Aptivi/ManagedWeatherMap/blob/main/LICENSE.txt
Source code: https://github.com/aspnet/aspnetwebstack
Copyright (c) .NET Foundation. All rights reserved.
License (Apache License 2.0): https://github.com/aspnet/AspNetWebStack/blob/main/LICENSE.txt
Source code: https://github.com/JamesNK/Newtonsoft.Json
Copyright (c) 2007, James Newton-King
License (MIT): https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md
Source code: https://github.com/NuGet/NuGet.Client
Copyright (c) .NET Foundation. All rights reserved.
License (Apache 2.0): https://github.com/NuGet/NuGet.Client/blob/dev/LICENSE.txt
Source code: https://github.com/Aptivi/ReadLine.Reboot/
Copyright (c) 2017 Toni Solarin-Sodara
Copyright (c) 2022-present Aptivi
License (MIT): https://github.com/Aptivi/ReadLine.Reboot/blob/master/LICENSE
Source code: https://github.com/sshnet/SSH.NET/
Copyright (c) Renci
License (MIT): https://github.com/sshnet/SSH.NET/blob/develop/LICENSE
Source code: https://github.com/miroiu/string-math
Copyright (c) Miroiu Emanuel
License (MIT): https://github.com/miroiu/string-math/blob/dev/LICENSE
Kernel Simulator - Simulates our future planned Kernel
Copyright (C) 2018-2022 Aptivi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.