Update README.md

This commit is contained in:
2026-03-07 04:28:19 +01:00
parent 97296843df
commit 682d03e60c
+48 -24
View File
@@ -1,38 +1,62 @@
# sv Preview can be found here -> https://gornodox.dev
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli). Hello everyone that decided to visit my repo.
Today i present to you a 'Work In Progress', state of the art (not really) portfolio website.
## Creating a project The main idea was that the "bash terminal" would serve as the main interface that the user would interact with...
If you're seeing this, you've probably already done this step. Congrats! But then I thought to myself,
>*Wouldn't it be cool if it would actually work like a terminal?`*
```sh ...and that's how we got here.
# create a new project in the current directory
npx sv create
# create a new project in my-app >***Make note that not all features listed below may be implemented when you're seeing this.***
npx sv create my-app
```
## Developing The whole environment is a simulation of a linux environment, from every data structure to the way everything behaves. Theres a file system representation that gets generated from a live folder structure by [this](https://github.com/ChaosMakerMLG/FileSystemParser) project.
This gets parsed by my website into the object structure that the whole `Bash` algorithm can deal and interact with.
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: There are users, permissions, ownership, links (hard and symbolic)
File system supports file contents - they get cached into a file with a name, and the node stored on heap just has the name to the correct file cache.
```sh Every command is treated like a process that can be exited
npm run dev aswell as files being executable
# or start the server and open the app in a new browser tab All of this is purely data-driven and modular, so if you where to take my code and just implement an IO system that would interact with my algorithm, then it would work out of the box, which is REALLYYY COOOL in my opinion.
npm run dev -- --open
```
## Building All the changes that the user makes will be stored on their browsers `localStorage` and read out on login
To create a production version of your app: The website will still serve the purpose of being a portfolio but the actuall portfolio part will just be a process that is ran at initialization of the terminal, and it will display the info about me as a TUI ^w^
```sh It can of course be shutdown as mentioned above and thats how you get access to the shell ;)
npm run build
```
You can preview the production build with `npm run preview`. ## This project uses and implements:
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment. - Tree traversal
- Binary search
- Quick sort
- And much mode weird stuff...
## Commands:
- return
- ls
- echo
- touch
- mkdir
- pwd
- cd
- exit
- cp
- mv
- rm
- cat
- less
- chown
- chmod
- reboot
- help
- whoami
- sudo
- su
- clear
> More will probably added with time :)