{"id":43909063,"url":"https://github.com/silvergama/streetfair","last_synced_at":"2026-02-06T20:09:13.352Z","repository":{"id":37853269,"uuid":"397445794","full_name":"silvergama/streetfair","owner":"silvergama","description":"Street Fair is an information center for street fairs in the city of São Paulo.","archived":false,"fork":false,"pushed_at":"2023-09-04T17:51:20.000Z","size":384,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-16T00:43:11.037Z","etag":null,"topics":["clean-architecture","cmd","docker","docker-compose","go","golang","makefile"],"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/silvergama.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":"2021-08-18T02:12:57.000Z","updated_at":"2024-10-08T16:32:27.000Z","dependencies_parsed_at":"2024-06-19T20:05:43.286Z","dependency_job_id":"0e37a81b-5e16-4002-85be-c92f77b19b1c","html_url":"https://github.com/silvergama/streetfair","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"b662c654b3afbabf2d5c5d52a5634f12ccf130dd"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/silvergama/streetfair","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silvergama%2Fstreetfair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silvergama%2Fstreetfair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silvergama%2Fstreetfair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silvergama%2Fstreetfair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silvergama","download_url":"https://codeload.github.com/silvergama/streetfair/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silvergama%2Fstreetfair/sbom","scorecard":{"id":824001,"data":{"date":"2025-08-11","repo":{"name":"github.com/silvergama/streetfair","commit":"b662c654b3afbabf2d5c5d52a5634f12ccf130dd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/lint.yml:15","Warn: no topLevel permission defined: .github/workflows/sonarcloud.yml:1","Info: no jobLevel write permissions found"],"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/silvergama/streetfair/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/silvergama/streetfair/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/silvergama/streetfair/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sonarcloud.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/silvergama/streetfair/sonarcloud.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sonarcloud.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/silvergama/streetfair/sonarcloud.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sonarcloud.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/silvergama/streetfair/sonarcloud.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sonarcloud.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/silvergama/streetfair/sonarcloud.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.13 to alpine:3.13@sha256:469b6e04ee185740477efa44ed5bdd64a07bbdd6c7e5f5d169e540889597b911","Warn: containerImage not pinned by hash: Dockerfile.build:1: pin your Docker image by updating golang:1.16.3-alpine3.13 to golang:1.16.3-alpine3.13@sha256:49c07aa83790aca732250c2258b5912659df31b6bfa2ab428661bc66833769e1","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned"],"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":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T16:15:06.177Z","repository_id":37853269,"created_at":"2025-08-23T16:15:06.178Z","updated_at":"2025-08-23T16:15:06.178Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29174541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T19:56:27.068Z","status":"ssl_error","status_checked_at":"2026-02-06T19:56:18.934Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["clean-architecture","cmd","docker","docker-compose","go","golang","makefile"],"created_at":"2026-02-06T20:09:12.517Z","updated_at":"2026-02-06T20:09:13.341Z","avatar_url":"https://github.com/silvergama.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=silvergama_streetfair\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=silvergama_streetfair)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=silvergama_streetfair\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=silvergama_streetfair)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=silvergama_streetfair\u0026metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=silvergama_streetfair)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=silvergama_streetfair\u0026metric=security_rating)](https://sonarcloud.io/summary/new_code?id=silvergama_streetfair)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=silvergama_streetfair\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=silvergama_streetfair)\n\n\n# Street Fair\n\n![Street Fair](docs/street-fair.jpeg)\n\nThe objective of this project is to centralize information about street fairs in the city of São Paulo.\n\n\n\n## Running\n\nThis app is written in Golang. If you don't have experience with it: https://golang.org/doc/install.\nIt depends on a Golang version with module support (at least 1.11, latest version is recommended).\nShould you interoperate with Golang versions \u003e= 1.11, don't forget to proper set your _GO111MODULE_ environment variable (https://dev.to/maelvls/why-is-go111module-everywhere-and-everything-about-go-modules-24k)\n\n### Install deps\n\n- Install `docker` and `docker-compose`\n\n*Attention*: you should first set `$GOBIN` environment variable, add it to the `$PATH`, and then run the commands bellow:\n\n\n# How to Run\n\n* **Install dependencies**\n\n``` bash\n$ make clean install\n```\n\n* **To running local dependencies** if you want to run the application using local dependencies with docker, run the command below before running the API\n\n``` bash\n$ make deps/up\n```\n\n* **To run import CSV**\n\n``` bash\n$ make run/import file=docs/example.csv\n```\n\n* **To stop**\n\n``` bash\n$ make deps/down\n```\n\n* **To run API**\n\n``` bash\n$ make run/api\n```\n* **To help**\n\n``` bash\n$ make help\n```\n\n## Test coverage\n\n* **To generate**\n``` bash\n$ make coverage\n```\n\n* **To show in browser**\n``` bash\n$ make coverage-html\n```\n\n## Runing tests\nJust run:\n``` bash\n$ make test\n```\n\n# Log\nAll logs are stored in the fair.log file.\n\n* **To show logs:**\n\n``` bash\n$ make show/logs\n```\n\nThen commit the contents of `docs/swagger` dir.\n\n# Swagger\n\nWhen change/add any HTTP API stuff, just run:\n\n``` bash\n$ make swagger/api \n```\n\nThen commit the contents of `docs/swagger` dir.\n\n\n# Docker\n\nThis tasks below are used from CircleCI flow but FTW:\n\nGenerate `test` image to run tests and coverage:\n\n```sh\nmake docker/build\n```\n\nWith the `test` image we can run test and coverage inside CircleCI:\n\n```sh\nmake docker/test\nmake docker/coverage\n```\n\nGenerate final image getting binary from `test` image:\n\n```sh\nmake docker/image\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilvergama%2Fstreetfair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilvergama%2Fstreetfair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilvergama%2Fstreetfair/lists"}