1 line
No EOL
4.2 KiB
Text
1 line
No EOL
4.2 KiB
Text
{"protected":false,"mode":"f","metadata":{"name":"help","author":"Luna Magdalena :3","version":[1],"dependencies":["lazybox"],"paths":{"help.js":"%B/help.js","itty.intro":"%D/itty.intro"}},"content":"{\"help.js\":{\"protected\":true,\"metadata\":{\"runner\":[]},\"mode\":\"f\",\"content\":\"await exec.runProgram(\\\"woman\\\", [\\\"itty.intro\\\"], \\\"\\\", false)\\nquit()\"},\"itty.intro\":{\"protected\":false,\"metadata\":{},\"mode\":\"f\",\"content\":\"\\u0011[sD050]Introduction to Itty\\u0011[s7000]\\n\\nyou can close this page by pressing \\u0011[s6020]q\\u0011[s7000]\\n\\nitty is a terminal environment where you can run programs and have fun! it is inspired by \\u0011[sA000]computercraft\\u0011[s7000] and \\u0011[sA000]linux\\u0011[s7000]\\n\\nthis is only aimed to be a quickstart guide. you can find more information by checking the woman page for a particular program\\n\\n\\u0011[s5040]Using itty\\u0011[s7000]\\n\\n\\u0011[s4020]Command line:\\u0011[s7000]\\n\\nitty's main interface is a \\u0011[sA000]command line\\u0011[s7000]. you run a program by specifying its name followed by space separated arguments. you can use single or double quotes in case the argument is supposed to contain spaces\\n\\nthe \\u0011[sA000]|\\u0011[s7000] character can be used to chain commands together, passing the first program's output to the second\\n\\nfor example, \\u0011[sE800] echo \\\"hello world\\\" \\u0011[s7000] will output \\\"hello world\\\", and \\u0011[sE800] echo \\\"hello world\\\" | scroll \\u0011[s7000] will pass \\\"hello world\\\" to the scroll utility\\n\\n\\u0011[s4020]Basic programs:\\u0011[s7000]\\n\\nyou can get a list of currently installed programs by running \\u0011[sE800] programs \\u0011[s7000]\\n\\nif you would like to know more about a program, you can run \\u0011[sE800] woman program-name \\u0011[s7000], to get a manual page for the program \\u0011[sA020]program-name\\u0011[s7000]\\n\\nany running program can be closed by pressing \\u0011[sA000]Ctrl+C\\u0011[s7000]\\n\\nsome important programs are \\u0011[sA000]smol\\u0011[s7000], which is a simple text editor; and \\u0011[sA000]mrrp\\u0011[s7000], which lets you install and uninstall programs\\n\\nkeep in mind that imporant system files cannot be manipulated\\n\\n\\u0011[s4020]Environment variables:\\u0011[s7000]\\n\\nenvironment variables are global config options that let programs and itty know how to behave\\n\\nthese can be manipulated with the \\u0011[sA000]env\\u0011[s7000] tool\\n\\nan explanation of what each one is used for can be found in the itty git repository\\n\\nwhen starting, itty will load environment variables from a file located at \\u0011[s2040]/.env\\u0011[s7000]. you can create this file by running \\u0011[sE800] env save /.env \\u0011[s7000] and it will contain the current env values\\n\\n\\u0011[s4020]Saving your progress:\\u0011[s7000]\\n\\nonce you've had fun with itty, you might wanna save its current state so you can continue later. there are many ways of doing this\\n\\nthe easiest is to use the \\u0011[sA000]persist\\u0011[s7000] utility. it is seamless, but it can only store around 5MB\\n\\nyou can use it by running \\u0011[sE800] persist set / 1 \\u0011[s7000], which will persist the entire filesystem. the woman page for \\u0011[sA000]persist\\u0011[s7000] goes into more detail\\n\\nif the saved state of itty makes it fail to start, reload the page and quickly press \\u0011[sA000]Ctrl+Alt+r\\u0011[s7000] to enter rescue mode\\n\\nyou should also run \\u0011[sE800] persist backup \\u0011[s7000] periodically to download a copy of your data, since browser storage might get wiped\\n\\nfiles can also be transfered to and from your computer with the \\u0011[sA000]loader\\u0011[s7000] and \\u0011[sA000]yarn\\u0011[s7000] utilities\\n\\n\\u0011[s4020]Additional resources:\\u0011[s7000]\\n\\nthe itty repository can be found at \\u0011[sE000]https://codeberg.org/Magdalunaa/itty\\u0011[s7000]\\n\\nit contains detailed documentation about itty, such as what environment variables do, how to make your own programs, and how to use the different systems that itty provides in them\\n\\nif the woman pages and documentation aren't enough and you still have questions, send me an email at \\u0011[sA000]\\\":3\\\"@girlkissing.tips\\u0011[s7000] and i'll try to help\"}}"} |