{"id":22018182,"url":"https://github.com/codeharik/rerun","last_synced_at":"2025-06-18T11:35:54.449Z","repository":{"id":245291602,"uuid":"817851804","full_name":"CodeHariK/rerun","owner":"CodeHariK","description":"watch a folder and rerun a command whenever files change","archived":false,"fork":false,"pushed_at":"2024-11-04T02:31:49.000Z","size":964,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T09:35:15.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/CodeHariK.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-06-20T15:12:48.000Z","updated_at":"2024-08-06T09:38:20.000Z","dependencies_parsed_at":"2025-03-23T09:44:40.725Z","dependency_job_id":null,"html_url":"https://github.com/CodeHariK/rerun","commit_stats":null,"previous_names":["codeharik/rerun"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/CodeHariK/rerun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Frerun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Frerun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Frerun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Frerun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeHariK","download_url":"https://codeload.github.com/CodeHariK/rerun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHariK%2Frerun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260545726,"owners_count":23025786,"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-11-30T05:10:49.509Z","updated_at":"2025-06-18T11:35:49.435Z","avatar_url":"https://github.com/CodeHariK.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReRun\n\n* `Monitor a Directory`: Watch a specified directory for any file changes.\n* `Automatic Command Execution`: Run a command automatically when files in the directory change.\n* `Local File Editing`: Provides a built-in web server that serves the files from your monitored directory, allowing direct modifications in the browser.\n* `Error and Log Monitoring`: Includes features to monitor errors and logs directly in the browser, helping you track issues and outputs.\n* `Periodic Rerun`: Option to rerun the command at regular intervals.\n* `Customizable`: Set specific ports to kill if needed.\n\n```go\ngo: downloading github.com/fsnotify/fsnotify v1.7.0\ngo: downloading github.com/gorilla/websocket v1.5.3\ngo: downloading golang.org/x/sys v0.22.0\nReRun v0.1.9 : Monitor a directory and automatically execute a command when directory change, or rerun the command on a set interval.\n  -k string\n    \tOptional Kill Ports\n  -t int\n    \tOptional Rerun Delay Time in seconds [Min 1s] (default -1)\n  -w int\n    \tOptional Watch port (default -1)\n\nSPIDER : http://localhost:9753/ui\n\nUsage: go run main.go [-w Watch Ports] [-k Kill Ports] [-t Rerun Delay Time] \u003cwatch directory\u003e \u003crun command\u003e\nUsage: go run main.go -w=8080 example \"go run example/server.go\"\nUsage: go run main.go -w=8080 -k=8080,3000 -t=30 example \"go run example/server.go\"\n\nUsage: rerun [-w Watch Ports] [-k Kill Ports] [-t Rerun Delay Time] \u003cwatch directory\u003e \u003crun command\u003e\nUsage: rerun -w=8080 example \"go run example/server.go\"\nUsage: rerun -w=8080 -k=8080,3000 -t=30 example \"go run example/server.go\"\n\n```\n## Installation\n\n```bash\ngo get github.com/codeharik/rerun\ngo install github.com/codeharik/rerun@latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeharik%2Frerun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeharik%2Frerun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeharik%2Frerun/lists"}