https://github.com/d3m0k1d/ngcfg
Ngnix config CLI generator
https://github.com/d3m0k1d/ngcfg
cli cli-tool devops go golang nginx yaml
Last synced: 2 days ago
JSON representation
Ngnix config CLI generator
- Host: GitHub
- URL: https://github.com/d3m0k1d/ngcfg
- Owner: d3m0k1d
- License: mit
- Created: 2025-11-04T11:25:37.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-11-30T15:35:39.000Z (7 months ago)
- Last Synced: 2025-12-02T22:39:01.088Z (7 months ago)
- Topics: cli, cli-tool, devops, go, golang, nginx, yaml
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ngcfg
A universal CLI utility for configuring [Nginx](https://nginx.org/)
# Table of contents
1. [Overview](#overview)
2. [Requirements](#requirements)
3. [Installation](#installation)
4. [Usage](#usage)
5. [License](#license)
## Overview
A config generator for [Nginx](https://nginx.org/) writen in golang and using [Go Template](https://pkg.go.dev/text/template), [Cobra](https://github.com/spf13/cobra) and more libs.
### Features
- Generate simple server block from yaml config files to nginx format
### Roadmap
- [x] Generate simple server block from yaml config files to nginx format
- [ ] Add validation for yaml configs
- [ ] Add support json config files
- [ ] Configurating Nginx with CLI flags and args
- [ ] SSL sertificate generation support with certbot
## Requirements
- Go 1.25.3
## Installation
```bash
git clone https://github.com/d3m0k1d/ngcfg.git
cd ngcfg
go mod tidy
go build -o ngcfg
```
## Usage
```bash
ngcfg yaml -f {{name.yml}}
```
## License
This project is licensed under the MIT License.