{"id":17383300,"url":"https://github.com/catboy96/universal-linux-script","last_synced_at":"2025-04-15T09:40:45.994Z","repository":{"id":115066886,"uuid":"86708408","full_name":"Catboy96/Universal-Linux-Script","owner":"Catboy96","description":"A shell script with built-in variables which can simplify Linux shell script writing.","archived":false,"fork":false,"pushed_at":"2017-06-03T01:34:53.000Z","size":60,"stargazers_count":16,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T18:51:58.958Z","etag":null,"topics":["python","python3","shell-script","shell-scripts","shellscript"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Catboy96.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-30T13:54:53.000Z","updated_at":"2023-07-18T12:49:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"72cd8a84-99df-4995-9ca3-9151ffe592fc","html_url":"https://github.com/Catboy96/Universal-Linux-Script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Catboy96%2FUniversal-Linux-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Catboy96%2FUniversal-Linux-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Catboy96%2FUniversal-Linux-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Catboy96%2FUniversal-Linux-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Catboy96","download_url":"https://codeload.github.com/Catboy96/Universal-Linux-Script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249045382,"owners_count":21203865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python3","shell-script","shell-scripts","shellscript"],"created_at":"2024-10-16T07:41:13.079Z","updated_at":"2025-04-15T09:40:45.964Z","avatar_url":"https://github.com/Catboy96.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://raw.githubusercontent.com/CYRO4S/Universal-Linux-Script/master/code_64.png)\n# Universal Linux Script\n[![AUR](https://img.shields.io/aur/license/yaourt.svg)]() [![AUR](https://img.shields.io/badge/uls-Milestone-green.svg)]()  \n***\n*ULS Pronounces \"U-Less\"*.  \nA shell script with built-in variables which can simply script writting.  \nFor example, ```pkg.install nginx``` equals ```apt-get -y install nginx``` on Debian \u0026 ```yum -y install nginx``` on CentOS.  \n  \n## README.md in other languages:\n[简体中文](https://github.com/CYRO4S/Universal-Linux-Script/blob/master/README_zh-hans-cn.md)\n  \n## ULS language  \nULS's language is **same as Linux shell script's language**.  \nIn another word, ULS is a shell script with built-in variables which can be replaced to specific commands or strings when executed on your device.   \nHere's a full example:  \n**test.uls**:  \n```\npkg.update  \npkg.install nginx  \necho net.ip  \nif [ dev.virt == \"kvm\" ]; then  \n    echo \"KVM\"  \nelif [ dev.virt == \"openvz\" ]; then  \n    echo \"OpenVZ\"  \nfi  \n```  \nWhen **test.uls** executed on a Debian device with \"**123.123.123.123**\" as public IPv4 address \u0026 **KVM** as virtualization technology, it will be converted to:\n```\napt-get update  \napt-get -y install nginx  \necho \"123.123.123.123\"  \nif [ \"kvm\" == \"kvm\" ]; then  \n    echo \"KVM\"  \nelif [ \"kvm\" == \"openvz\" ]; then  \n    echo \"OpenVZ\"  \nfi  \n```   \n  \n## Starting Guide: How to setup \u0026 run ULS script  \n[Go to wiki](https://github.com/CYRO4S/Universal-Linux-Script/wiki/Starting-Guide:-How-to-setup-\u0026-run-ULS-script)  \n  \n## ULS Script writer's beginning guide\n[Go to wiki](https://github.com/CYRO4S/Universal-Linux-Script/wiki/ULS-Script-writer's-beginning-guide)\n  \n## All built-in variables  \n[Go to wiki](https://github.com/CYRO4S/Universal-Linux-Script/wiki/All-built-in-variables)  \n  \n## Update history\n[Go to wiki](https://github.com/CYRO4S/Universal-Linux-Script/wiki/Update-history)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatboy96%2Funiversal-linux-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatboy96%2Funiversal-linux-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatboy96%2Funiversal-linux-script/lists"}