{"id":42473273,"url":"https://github.com/tsawler/vigilate","last_synced_at":"2026-01-28T10:10:54.167Z","repository":{"id":57576447,"uuid":"336091301","full_name":"tsawler/vigilate","owner":"tsawler","description":"The source code for the second project in the course \"Working with websockets in Go\"","archived":false,"fork":false,"pushed_at":"2024-05-20T17:27:09.000Z","size":79157,"stargazers_count":28,"open_issues_count":1,"forks_count":13,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-19T12:24:52.933Z","etag":null,"topics":["go","golang","pusher","websockets"],"latest_commit_sha":null,"homepage":"https://www.udemy.com/course/working-with-websockets-in-go/?referralCode=F29D49FAF002E0A94F44","language":"CSS","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/tsawler.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}},"created_at":"2021-02-04T21:48:05.000Z","updated_at":"2024-06-13T07:34:28.000Z","dependencies_parsed_at":"2022-09-26T16:40:23.421Z","dependency_job_id":null,"html_url":"https://github.com/tsawler/vigilate","commit_stats":null,"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"purl":"pkg:github/tsawler/vigilate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsawler%2Fvigilate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsawler%2Fvigilate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsawler%2Fvigilate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsawler%2Fvigilate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsawler","download_url":"https://codeload.github.com/tsawler/vigilate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsawler%2Fvigilate/sbom","scorecard":{"id":900484,"data":{"date":"2025-08-11","repo":{"name":"github.com/tsawler/vigilate","commit":"57a1ebc5f37317faeab4c1e736c02b942b11d824"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":8,"reason":"binaries present in source code","details":["Warn: binary detected: ipe/ipe:1","Warn: binary detected: ipe/ipe.exe:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"26 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3770 / GHSA-vrw8-fxc6-2r93","Warn: Project is vulnerable to: GO-2024-2606 / GHSA-7jwh-3vrq-q3m8 / GHSA-mrww-27vc-gghv","Warn: Project is vulnerable to: GO-2024-2605 / GHSA-m7wr-2xf7-cm9p","Warn: Project is vulnerable to: GO-2025-3683 / GHSA-w9hf-35q4-vcjw","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0236 / GHSA-h86h-8ppg-mxmh","Warn: Project is vulnerable to: GO-2021-0238 / GHSA-83g2-8m93-v3w7","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T15:23:09.143Z","repository_id":57576447,"created_at":"2025-08-24T15:23:09.143Z","updated_at":"2025-08-24T15:23:09.143Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28844011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","pusher","websockets"],"created_at":"2026-01-28T10:10:49.439Z","updated_at":"2026-01-28T10:10:54.161Z","avatar_url":"https://github.com/tsawler.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/tsawler/goblender/master/LICENSE)\n[![Version](https://img.shields.io/badge/goversion-1.16.x-blue.svg)](https://golang.org)\n\u003ca href=\"https://golang.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/powered_by-Go-3362c2.svg?style=flat-square\" alt=\"Built with GoLang\"\u003e\u003c/a\u003e\n[![Go Report Card](https://goreportcard.com/badge/github.com/tsawler/vigilate)](https://goreportcard.com/report/github.com/tsawler/vigilate)\n\n# Vigilate\n\nThis is the source code for the second project in the Udemy course Working with Websockets in Go (Golang).\n\nA dead simple monitoring service, intended to replace things like Nagios.\n\n## Build\n\nBuild in the normal way on Mac/Linux:\n\n~~~\ngo build -o vigilate cmd/web/*.go\n~~~\n\nOr on Windows:\n\n~~~\ngo build -o vigilate.exe cmd/web/.\n~~~\n\nOr for a particular platform:\n\n~~~\nenv GOOS=linux GOARCH=amd64 go build -o vigilate cmd/web/*.go\n~~~\n\n## Requirements\n\nVigilate requires:\n- Postgres 11 or later (db is set up as a repository, so other databases are possible)\n- An account with [Pusher](https://pusher.com/), or a Pusher alternative \n(like [ipê](https://github.com/dimiro1/ipe))\n\n## Run\n\nFirst, make sure ipê is running (if you're using ipê):\n\nOn Mac/Linux\n~~~\ncd ipe\n./ipe \n~~~\n\nOn Windows\n~~~\ncd ipe\nipe.exe\n~~~\n\nRun with flags:\n\n~~~\n./vigilate \\\n-dbuser='tcs' \\\n-pusherHost='localhost' \\\n-pusherPort='4001' \\\n-pusherKey='123abc' \\\n-pusherSecret='abc123' \\\n-pusherApp=\"1\" \\\n-pusherSecure=false\n~~~~\n\n## All Flags\n\n~~~~\ntcs@grendel vigilate-udemy % ./vigilate -help\nUsage of ./vigilate:\n  -db string\n        database name (default \"vigilate\")\n  -dbhost string\n        database host (default \"localhost\")\n  -dbport string\n        database port (default \"5432\")\n  -dbssl string\n        database ssl setting (default \"disable\")\n  -dbuser string\n        database user\n  -domain string\n        domain name (e.g. example.com) (default \"localhost\")\n  -identifier string\n        unique identifier (default \"vigilate\")\n  -port string\n        port to listen on (default \":4000\")\n  -production\n        application is in production\n  -pusherApp string\n        pusher app id (default \"9\")\n  -pusherHost string\n        pusher host\n  -pusherKey string\n        pusher key\n  -pusherPort string\n        pusher port (default \"443\")\n  -pusherSecret string\n        pusher secret\n   -pusherSecure\n        pusher server uses SSL (true or false)\n~~~~\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsawler%2Fvigilate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsawler%2Fvigilate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsawler%2Fvigilate/lists"}