{"id":25813359,"url":"https://github.com/wildan3105/ng-crud","last_synced_at":"2025-10-10T12:22:28.354Z","repository":{"id":88030899,"uuid":"70349272","full_name":"wildan3105/ng-crud","owner":"wildan3105","description":":rocket: An automatic CRUD (create, read, update, delete) operation for virtual host using Nginx","archived":false,"fork":false,"pushed_at":"2017-10-31T17:53:28.000Z","size":17,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T15:43:01.330Z","etag":null,"topics":["crud","nginx","virtual-hosts"],"latest_commit_sha":null,"homepage":"","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/wildan3105.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2016-10-08T18:12:53.000Z","updated_at":"2022-06-28T09:25:25.000Z","dependencies_parsed_at":"2023-03-13T18:33:37.056Z","dependency_job_id":null,"html_url":"https://github.com/wildan3105/ng-crud","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wildan3105/ng-crud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildan3105%2Fng-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildan3105%2Fng-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildan3105%2Fng-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildan3105%2Fng-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wildan3105","download_url":"https://codeload.github.com/wildan3105/ng-crud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildan3105%2Fng-crud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003896,"owners_count":26083641,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["crud","nginx","virtual-hosts"],"created_at":"2025-02-28T02:37:51.509Z","updated_at":"2025-10-10T12:22:28.349Z","avatar_url":"https://github.com/wildan3105.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nginx Virtual Host CRUD Operation\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/67f638d5088045589f5f60825c0e58cd)](https://www.codacy.com/app/wildan3105/ng-crud?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=wildan3105/ng-crud\u0026amp;utm_campaign=Badge_Grade)\n\nSimple bash script to perform CRUD (Create, Read, Update, and Delete) virtual host using Nginx\n\n## Installation\n1. Download the codes via terminal on your server\n\n  `$ wget https://github.com/wildan3105/Nginx-Vhost-CRUD-Operation/archive/master.zip`\n\n2. Unzip the codes\n\n  `$ unzip master.zip /path/to`\n  \n3. Change permission for all files\n\n  `$ chmod +x *.sh`\n  \n4. Start managing your Nginx virtual host and **be productive** !\n\n5. **Optional** : If you wanna edit the script on your own, you can also change permission to 755 to enable editing\n\n  `$ chmod 755 *.sh`\n  \n## Usage\n\n![](http://i.giphy.com/bmJBov60DXOvu.gif)\n\n**Assumption(s)** : You have set your basic Nginx virtual host / server blocks. If you haven't set it yet, check to this link : \n\n[How to set up nginx virtual host on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04)\n\nBasic command line syntax :\n  `$ sudo ./create.sh [argument]`\n\n## Examples\n1. Create a new virtual host : \n   \n   *Syntax* : `$ sudo ./create.sh [domain]`\n\n   **Example** : `$ sudo ./create.sh blog.wildan.us`\n\n2. List all active virtual host(s): \n   \n   *Syntax* : `$ ./read.sh`\n\n   **Example** : `$ ./read.sh`\n\n3. Delete certain virtual host : \n   \n   *Syntax* : `$ sudo ./delete.sh [domain]`\n\n   **Example** : `$ sudo ./delete.sh blog.wildan.us`\n\n4. Update virtual host address : \n   \n   *Syntax* : `$ sudo ./update.sh [old-domain] [new-domain]`\n\n   **Example** : `$ sudo ./update.sh blog.wildan.us notes.wildan.us`\n\n## Further Development\n- [x] Add usage.sh\n- [x] Check if domain already exist\n- [ ] Colored output text\n\n## Contributor\n- [Wildan S. Nahar](http://github.com/wildan3105)\n- [Enrique Matías Sánchez](http://github.com/quique)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwildan3105%2Fng-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwildan3105%2Fng-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwildan3105%2Fng-crud/lists"}