{"id":24849393,"url":"https://github.com/ivantjh/flow","last_synced_at":"2025-10-11T12:32:53.239Z","repository":{"id":83926944,"uuid":"83629346","full_name":"ivantjh/flow","owner":"ivantjh","description":"Simple deployment using Github webhooks.","archived":false,"fork":false,"pushed_at":"2020-01-13T15:00:36.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-25T01:00:26.813Z","etag":null,"topics":["deployment","golang","webhooks"],"latest_commit_sha":null,"homepage":"","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/ivantjh.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":"2017-03-02T03:19:15.000Z","updated_at":"2024-06-19T08:03:09.075Z","dependencies_parsed_at":null,"dependency_job_id":"e6a8e4f5-4af1-42fe-a11f-94fb2c33acc1","html_url":"https://github.com/ivantjh/flow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ivantjh/flow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2Fflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2Fflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2Fflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2Fflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivantjh","download_url":"https://codeload.github.com/ivantjh/flow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2Fflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007167,"owners_count":26084247,"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-11T02:00:06.511Z","response_time":55,"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":["deployment","golang","webhooks"],"created_at":"2025-01-31T12:46:39.524Z","updated_at":"2025-10-11T12:32:53.204Z","avatar_url":"https://github.com/ivantjh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flow\nFlow listens for push events from Github for a single or multiple repositories. Once a push event has been detected, Flow will run a deploy.sh located in the tracked repo.\n\n## Compilation\nRun `go get` and `go build`\n\n## Configuration\n### Github\n1. Go to your repo's Settings page and click on Webhooks\n2. Add a new Webhook\n3. Configure accordingly to the image below\n\n![Github Webhook Settings](docs/webhook_example.png)\n\nPayload URL - Set to your server's url. The most basic one without Nginx or other web server's configuration will be just to listen on the exposed port. An example will be `http://ivan.me:8080/`. The server runs on port 8080 by default. If a virtual host is set up, the url can be changed to `http://github-webhook.ivan.me/`.\n\nContent type - application/json\n\nSecret - If secret is set, remember to start Flow with the secret flag and the same secret key as the one on Github.\n\n### Server\nA sample config file has been provided in `sample.json`. Adjust accordingly. **Absolute paths** are needed for Flow to access the correct directory. Flow will not start without a config file.\n\nFlow can be run as as a service using `systemd` or run in the background using `screen`.\n\nTo start flow, run `./flow -config config.json`.\n\n### Logging\nLogging directory can be configured using `-logs {directory}` flag. Give Flow permissions to write to the intended directory. Default log path is `/home/{user}/`.\n\n### Secret\nSecret can also be configured for additional layer of security. To configure, start Flow with a `-secret {secret_key}` flag and add the same `secret_key` to the repo's Webhook page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivantjh%2Fflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivantjh%2Fflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivantjh%2Fflow/lists"}