thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.78k stars 187 forks source link

Custom package manager for libs,commands, programming languages #478

Open OlshaMB opened 2 years ago

OlshaMB commented 2 years ago

I suggest creating custom package manager like brew/apt/pacman. And it works like this pca install <package name> - add package pca list - list of your installed packges pca remove <package name> - remove package pca remove -r <package name> - remove recursively package pca repo add <link to repo> - add repository from which you source packages pca repo remove <link to repo> - remove repository from which you source packages pca repo list - list of repositories from which you source packages This will solve many issues and create tool for community to better contribute to list of commands avalibale in terminal

bummoblizard commented 2 years ago

While it's a great idea, iOS doesn't allow installing arbitrary commands outside the app bundle. Furthermore, most of the commands don't work on iOS without heavy modification.

OlshaMB commented 2 years ago

but you can install commands throw pip and also community can make modifications for this to work

bummoblizard commented 2 years ago

but you can install commands throw pip and also community can make modifications for this to work

Sure. So I'll leave this open :) I think it's possible if the commands are compiled as webassembly.

OlshaMB commented 2 years ago

https://wapm.io/ there is a package manager for wasm and it has many packages. you could try to modificate it

bummoblizard commented 2 years ago

https://wapm.io/ there is a package manager for wasm and it has many packages. you could try to modificate it

Wow, thank you for sharing this! It looks promising.