Stands for Megh's Emulated Shell. An extensible and responsive terminal-like personal / portfolio website built with SvelteKit. Has command executions, interactive mini-apps ("programs"), a virtual read-only filesystem, themes, an on-screen keyboard, internet radio streams and much more. Try to find the easter eggs ;)
Built and deployed on GitHub Pages
- Create a function in
src/lib/commands/yourCommand.ts:export default function yourCommand(args: string[]): string { return "Hello from your new command!"; }
- Export and register the command in
src/lib/commands/allCommandsBarrel.ts:yourCommand: { man: "Description of your command", cmd: yourCommand }
- Create a new route in
src/routes/yourProgram/+page.svelte. - Add the program name to the
programsarray insrc/lib/system.svelte.ts:export const programs: string[] = [ // ... "yourProgram" ];
- Launch your program from the terminal using
./yourProgramor by going to http://localhost:5173/yourProgram.