Skip to content

yjlo123/moon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moon

A Linux-like terminal simulator written in Runtime Script

Web

https://yjlo123.github.io/moon/

Architecture

arch

Local Setup

Add hosts

mac/linux: /etc/hosts
win: C:\Windows\System32\drivers\etc

127.0.0.1 local.siwei.dev

Create local CA & cert

# mac
brew install mkcert

# win
choco install mkcert

# ubuntu
apt install mkcert
apt install libnss3-tools

mkcert -install
mkcert local.siwei.dev

move certificate and key files to <project_path>/localcert/

Start local server

node server.mjs

macOS & Windows

VM
Moon OS source

Note: GUI is not maintained.

macOS

  • Right click on the VM app, select Show Package Contents
  • Go to Contents/MacOS/src
  • Replace the program.runtime file with the downloaded source file. (File name should not be changed)
  • Restart the VM app

Windows

  • Create a folder src in the same directory as the VM program
  • Put the downloaded source file in the src folder
  • Restart the VM program