{"id":22724694,"url":"https://github.com/mutablelogic/go-server","last_synced_at":"2026-05-03T08:13:30.965Z","repository":{"id":40573733,"uuid":"365480768","full_name":"mutablelogic/go-server","owner":"mutablelogic","description":"General HTTP Server for golang with a plugin architecture","archived":false,"fork":false,"pushed_at":"2026-04-09T08:31:07.000Z","size":43798,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-09T10:16:36.227Z","etag":null,"topics":["golang","http-server","plugin-architecture"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/mutablelogic/go-server","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mutablelogic.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-08T10:06:19.000Z","updated_at":"2026-04-09T08:31:08.000Z","dependencies_parsed_at":"2025-03-29T09:24:01.522Z","dependency_job_id":"a53bb31e-b03d-4ff4-aa5c-4b33d37f51e8","html_url":"https://github.com/mutablelogic/go-server","commit_stats":null,"previous_names":["djthorpe/go-server"],"tags_count":124,"template":false,"template_full_name":"djthorpe/goapp","purl":"pkg:github/mutablelogic/go-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutablelogic%2Fgo-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutablelogic%2Fgo-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutablelogic%2Fgo-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutablelogic%2Fgo-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mutablelogic","download_url":"https://codeload.github.com/mutablelogic/go-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutablelogic%2Fgo-server/sbom","scorecard":{"id":346428,"data":{"date":"2025-08-11","repo":{"name":"github.com/mutablelogic/go-server","commit":"45a43cb9f324116c9d554eaebd9bd31e397ee89b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.5,"checks":[{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/docker.yaml:25","Warn: no topLevel permission defined: .github/workflows/docker.yaml: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":"Code-Review","score":0,"reason":"Found 0/5 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":"Maintained","score":5,"reason":"7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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: Apache License 2.0: 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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/mutablelogic/go-server/docker.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/mutablelogic/go-server/docker.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/mutablelogic/go-server/docker.yaml/main?enable=pin","Warn: containerImage not pinned by hash: etc/docker/Dockerfile:5","Warn: containerImage not pinned by hash: etc/docker/Dockerfile:17: pin your Docker image by updating debian:bookworm-slim to debian:bookworm-slim@sha256:b1a741487078b369e78119849663d7f1a5341ef2768798f7b7406c4240f86aef","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage 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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker.yaml:10"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3829 / GHSA-4vq8-7jfc-9cvp"],"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-18T07:08:35.091Z","repository_id":40573733,"created_at":"2025-08-18T07:08:35.092Z","updated_at":"2025-08-18T07:08:35.092Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32036799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["golang","http-server","plugin-architecture"],"created_at":"2024-12-10T15:07:40.223Z","updated_at":"2026-04-20T07:01:41.930Z","avatar_url":"https://github.com/mutablelogic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-server\n\nThis is an opinionated HTTP server which is designed to be used as a base for building\nAPI and web applications. It is designed to be extensible and modular, allowing you to add\nnew features and functionality as needed. By default the server includes the following\nfeatures:\n\n* Anthentication of users using Cognito, Google and LDAP\n* Authorization of users using JWT tokens and API keys\n* Task queues for running background jobs\n* Connection to PostgreSQL databases\n* Ability to manage the PostgreSQL database roles, databases, schemas and connections\n* Prometheus metrics support\n\nThe idea is that you can use this server as a base for your own applications, and add your own\nfeatures and functionality as needed. More documentation soon on how to do that.\n\n## Running\n\nThe binary includes both the *server*-side application and the *client*-side\ncommand-line tools. Both can be run as docker containers.\n\nTo run the latest released version as a docker container:\n\n```bash\ndocker run ghcr.io/mutablelogic/go-server:latest\n```\n\nThis will print out the help message and provide insight into running both the server application\nand interacting with the server through commands. To run the server, you'll need a PostgreSQL\ndatabase, and you can set the environment variables `PG_HOST`, `PG_DATABASE`, `PG_USER` and `PG_PASS`.\n\n### Bootstrapping the database server and roles\n\nMore information about setting up the databses TODO\n\n### Creating a new database\n\nInformation about setting up a new database\n\n## Building\n\n### Download and build\n\n```bash\ngit clone github.com/mutablelogic/go-server\ncd go-server\nmake\n```\n\nThe plugins and the `server` binary will be built in the `build` directory.\n\n### Build requirements\n\nYou need the following three tools installed to build the server:\n\n* [Go](https://golang.org/doc/install/source) (1.23 or later, not required for docker builds)\n* [Make](https://www.gnu.org/software/make/)\n* [Docker](https://docs.docker.com/get-docker/)\n* [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)\n\n### Makefile targets\n\nBinaries are placed in the `build` directory.\n\n| Target | Description |\n|--------|-------------|\n| `make all` | Build all plugins and the server |\n| `make cmd/server` | Build the server binary |\n| `make plugins` | Build the server binary |\n| `make docker` | Build the docker container |\n| `make docker-push` | Push the docker container to remote repository, assuming logged in |\n| `make docker-version` | Prints out the docker container tag |\n| `make test` | Runs unit amd coverage tests |\n| `make unit-test` | Runs unit tests |\n| `VERBOSE=1 make unit-test` | Runs unit tests with verbose output |\n| `make coverage-test` | Reports code coverage |\n| `make tidy` | Runs go mod tidy |\n| `make clean` | Removes binaries and distribution files |\n\nYou can also affect the build by setting the following environment variables. For example,\n\n```bash\nOS=linux ARCH=amd64 make\n```\n\n| Variable | Description |\n|----------|-------------|\n| `OS` | The target operating system for the build |\n| `ARCH` | The target architecture for the build |\n| `BUILD_DIR` | The target architecture for the build |\n| `VERBOSE` | Setting this flag will provide verbose output for unit tests |\n| `VERSION` | Explicitly set the version |\n| `DOCKER_REPO` | The docker repository to push to. Defaults to `ghcr.io/mutablelogic/go-server` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutablelogic%2Fgo-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmutablelogic%2Fgo-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutablelogic%2Fgo-server/lists"}