{"id":23162776,"url":"https://github.com/vanvanni/system","last_synced_at":"2025-04-04T20:34:56.168Z","repository":{"id":249534189,"uuid":"831730157","full_name":"vanvanni/system","owner":"vanvanni","description":"System Library - Used for server operations","archived":false,"fork":false,"pushed_at":"2024-12-02T23:15:26.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T05:13:55.857Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanvanni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-21T13:10:38.000Z","updated_at":"2024-12-02T23:15:30.000Z","dependencies_parsed_at":"2024-07-21T17:15:56.601Z","dependency_job_id":"dd4800cb-4275-44a9-8741-6d8c553eabd9","html_url":"https://github.com/vanvanni/system","commit_stats":null,"previous_names":["vanvanni/system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Fsystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Fsystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Fsystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Fsystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanvanni","download_url":"https://codeload.github.com/vanvanni/system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247248927,"owners_count":20908202,"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":[],"created_at":"2024-12-18T00:13:38.079Z","updated_at":"2025-04-04T20:34:56.143Z","avatar_url":"https://github.com/vanvanni.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# System Repo\nMy collection of utilities used on servers.\n\n## Bin\nScripts and binaries that can be used in PATH for making life easier.\n\n## Lib\nAll libaries(\"modules\") that can be used for creating your system utility scripts like backups and etc.\n\n### Script.sh\nThe base library of each script. Containing several useful functions.\n\n##### load {LIB_NAME}\nLoads a library from the lib folder.\n```bash\nload \"use-env\"\n```\n\n##### is_root\nWill check if the executing user is a root user.\n```bash\nis_root\n```\n\n##### rid\nGenerates a random string with 8 characters on default.\n```bash\nRANDOM_SIZE=8 # Default in script.sh. Add to script to override\n\nMY_ID=$(rid)\n```\n\n##### tz\nSpits out the current timestamp based on the `DATE_FORMAT`\n```bash\nBACKUP_TIME=$(tz)\n```\n\n## Scripts\nAll the scripts are assumed to be living in the root directory of the repository. Therefore you could also fork this repo to add your own scripts. If you want scripts not to be public(added to repo), prefix them with `private-`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanvanni%2Fsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanvanni%2Fsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanvanni%2Fsystem/lists"}