41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
# Termos
|
|
|
|
This library allows running a fully contained unix-like operating system written in pure typescript.
|
|
|
|
It supports all the basic operations like saving and reading files, creating new files and folders.
|
|
It has support for users and permissions and can handle multiple user sessions at the same time.
|
|
It doesnt implement a website friendly interface on its own. Thats one of the desing choices in this project, to make it as versatile as possible. But it shares a easy to use interface that you can plug into your frontend code to interact with it properly.
|
|
|
|
> [!NOTE]
|
|
> Right now the project is still in alpha and this is just a small portion of whats to come that serves for demonstration purposes. The code and design will change in the future so most of this is not set in stone
|
|
|
|
## Prerequisites
|
|
|
|
- [Node.js](https://nodejs.org/) installed (version 26.2.0 or higher)
|
|
|
|
## Installation
|
|
|
|
> [!NOTE]
|
|
> If youre using Windows or MacOS as your operating system then the installation process might be different.
|
|
> Refer to [this website][ref1] on how to install nodejs on your operating system.
|
|
|
|
[ref1]: https://nodejs.org/en/download
|
|
|
|
```bash
|
|
wget https://git.gornodox.dev/ChaosMaker/termos/archive/unstable-async.zip
|
|
unzip -d termos unstable-async.zip
|
|
cd termos
|
|
npm install
|
|
```
|
|
|
|
## Running the project
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
## Running the test suite
|
|
|
|
```bash
|
|
npm run test
|
|
``` |