{"id":27630347,"url":"https://github.com/aamulumi/clizard","last_synced_at":"2025-06-18T12:34:45.189Z","repository":{"id":233527752,"uuid":"780942222","full_name":"AamuLumi/clizard","owner":"AamuLumi","description":"Scripts to speed up init and deployment tasks on servers - Written with ZX","archived":false,"fork":false,"pushed_at":"2025-03-22T08:58:46.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T09:28:51.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AamuLumi.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":"2024-04-02T13:03:34.000Z","updated_at":"2025-03-22T08:58:50.000Z","dependencies_parsed_at":"2025-03-22T09:35:14.579Z","dependency_job_id":null,"html_url":"https://github.com/AamuLumi/clizard","commit_stats":null,"previous_names":["aamulumi/clizard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AamuLumi%2Fclizard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AamuLumi%2Fclizard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AamuLumi%2Fclizard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AamuLumi%2Fclizard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AamuLumi","download_url":"https://codeload.github.com/AamuLumi/clizard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250471870,"owners_count":21436034,"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":"2025-04-23T16:40:33.839Z","updated_at":"2025-04-23T16:40:34.435Z","avatar_url":"https://github.com/AamuLumi.png","language":"JavaScript","readme":"# clizard\n\nScripts to speed up init and deployment tasks on servers  \nWritten with ZX and bash\n\n**Warning** : I'm working sporadically on this project for my personal and professional use. Scripts normally work, but\nwhile this project isn't mature, take a look at each script code to avoid any problem.\n\n## How to use\n\nClone the repository on the machine where you need it.  \nScripts paths follow the pattern : `setup/\u003cprogram\u003e/\u003coptions\u003e/\u003cfeature\u003e.mjs`.\n\n## Features\n\n### Certbot\n\n- Install Certbot on debian ([more](/setup/certbot/for-debian.sh))\n\n### Git\n\n- Install a git server ([more](/setup/git/init-repo.mjs))\n    - With an auto-deployment script ([more](/setup/git/add-post-push/simple.mjs))\n    - With a blue-green deployment through\n      nginx ([more](/setup/git/add-post-push/with-blue-green-deployment/for-nginx.mjs))\n\n### Node\n\n- Install node on debian through nvm ([more](/setup/node/for-debian.sh))\n\n### SSH\n\n- Disable password login ([more](/setup/ssh/disable-password-login.mjs))\n\n### sudo\n\n- Authorize a command for a user ([more](/setup/sudo/authorize_command_for_user.mjs))\n\n### zx\n\n- Install zx ([more](/setup/zx.sh))\n\n## Development and testing\n\nThere's a simple script to create a debian container locally w/ Docker or Podman and link the repo as a volume.  \nRun `./test/startTestContainer.sh` and execute your scripts in the container.\n\n## Ideas for the future\n\n- [ ] Rollback scripts\n\n## Why ZX\n\nBecause I hate bash. Sorry sysadmins but I'm a dev with a taste for nice and modern syntax.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamulumi%2Fclizard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faamulumi%2Fclizard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamulumi%2Fclizard/lists"}