{"id":24201959,"url":"https://github.com/itzhep/gomon","last_synced_at":"2025-09-22T00:31:54.433Z","repository":{"id":257792665,"uuid":"861998201","full_name":"Itzhep/gomon","owner":"Itzhep","description":"nodemon but in golang !","archived":false,"fork":false,"pushed_at":"2024-12-21T14:30:31.000Z","size":21463,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-21T14:31:27.735Z","etag":null,"topics":["cli","golang","nodemon"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Itzhep.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-09-23T21:14:40.000Z","updated_at":"2024-12-21T14:20:26.000Z","dependencies_parsed_at":"2024-09-24T07:40:05.280Z","dependency_job_id":null,"html_url":"https://github.com/Itzhep/gomon","commit_stats":null,"previous_names":["itzhep/gomon"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itzhep%2Fgomon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itzhep%2Fgomon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itzhep%2Fgomon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itzhep%2Fgomon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Itzhep","download_url":"https://codeload.github.com/Itzhep/gomon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233808574,"owners_count":18733601,"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":["cli","golang","nodemon"],"created_at":"2025-01-13T21:17:28.414Z","updated_at":"2025-09-22T00:31:45.452Z","avatar_url":"https://github.com/Itzhep.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛠️ Gomon - A Nodemon Clone Go File Watcher 🚀\n\nGomon is a Go-based file watcher that automatically reloads your application when file changes are detected. Inspired by nodemon, it helps streamline development by automatically restarting your app.\n\n## Build Stats \n[![Go](https://github.com/Itzhep/gomon/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/Itzhep/gomon/actions/workflows/go.yml)\n\n## Project Stats\n![GitHub repo size](https://img.shields.io/github/repo-size/Itzhep/gomon)\n![GitHub Release](https://img.shields.io/github/v/release/Itzhep/gomon)\n![GitHub Repo stars](https://img.shields.io/github/stars/Itzhep/gomon)\n![GitHub License](https://img.shields.io/github/license/Itzhep/gomon)\n![GitHub Issues](https://img.shields.io/github/issues/Itzhep/gomon)\n![GitHub Forks](https://img.shields.io/github/forks/Itzhep/gomon)\n\n## 📦 Features\n\n- 🔄 **Automatic file watching and reloading**: Detects file changes and restarts your application automatically.\n- 🎨 **CLI with color support**: Enhanced visibility with color-coded output.\n- 📝 **Simple and clean configuration**: Minimal setup required to get started.\n- 🐳 **Docker support**: Run your application inside Docker containers.\n- 🌐 **Live reload server**: Supports live reloading for browser-based applications.\n\n## 🏗️ Installation\n\n### Via Go\n\nTo install Gomon, use the following command:\n\n```bash\ngo install github.com/Itzhep/gomon@latest\n```\n\n### Manual Build\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/Itzhep/gomon.git\n    cd gomon\n    ```\n\n2. Build the project:\n\n    ```bash\n    go build -o gomon\n    ```\n\n3. Install the Project:\n\n    ```bash\n    go install\n    ```\n\n4. Move to bin (optional):\n\n    ```bash\n    move gomon.exe C:\\path\\to\\your\\bin\n    ```\n\n## 🚀 Usage\n\n1. Start Gomon with the path to your main application file:\n\n    ```bash\n    gomon start --app path/to/your/app.go\n    ```\n\n2. **Press `rs`** in the CLI to manually restart the application.\n\n## 🛠️ Configuration\n\nGomon supports a variety of configurations directly from the CLI. You can specify the file to watch and other options like color settings for better CLI appearance.\n\n### CLI Options\n\n- `--app, -a`: Path to the Go application to run (required)\n- `--debounce, -d`: Debounce duration for file changes (default: 1s)\n- `--docker`: Use Docker for restarting the app\n- `--exclude, -e`: Directories to exclude from watching (default: .git, vendor, node_modules)\n- `--verbose, -v`: Enable verbose logging\n\n## 📝 Example\n\nHere's a basic example of how to use Gomon:\n\n```bash\ngomon start --app path/to/your/app.go\n```\n\nThis command starts Gomon, watches for file changes, and restarts your application automatically.\n\n## 🐳 Docker Support\n\nGomon can be run inside a Docker container. Use the provided `Dockerfile` and `docker-compose.yml` for easy setup.\n\n## 🗂️ Contributing\n\nContributions are welcome! Please submit a pull request or open an issue if you find any bugs or have suggestions.\n\n## 🌟 Star the Project\n\nIf you find Gomon useful, please give it a star on [GitHub](https://github.com/Itzhep/gomon) to support development and stay updated with new features.\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n🚀 Happy coding with Gomon!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzhep%2Fgomon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzhep%2Fgomon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzhep%2Fgomon/lists"}