{"id":13400461,"url":"https://github.com/pocketbase/pocketbase","last_synced_at":"2026-01-16T22:55:54.288Z","repository":{"id":43698455,"uuid":"510607652","full_name":"pocketbase/pocketbase","owner":"pocketbase","description":"Open Source realtime backend in 1 file","archived":false,"fork":false,"pushed_at":"2026-01-10T09:21:03.000Z","size":123243,"stargazers_count":55070,"open_issues_count":19,"forks_count":3012,"subscribers_count":294,"default_branch":"master","last_synced_at":"2026-01-11T02:50:02.429Z","etag":null,"topics":["authentication","backend","golang","realtime"],"latest_commit_sha":null,"homepage":"https://pocketbase.io","language":"Go","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/pocketbase.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","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},"funding":{"github":null,"patreon":null,"open_collective":"pocketbase","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.paypal.com/donate/?hosted_button_id=4DVXNL4B8WT98"]}},"created_at":"2022-07-05T06:06:21.000Z","updated_at":"2026-01-10T23:44:26.000Z","dependencies_parsed_at":"2025-12-12T12:04:01.354Z","dependency_job_id":null,"html_url":"https://github.com/pocketbase/pocketbase","commit_stats":{"total_commits":1338,"total_committers":40,"mean_commits":33.45,"dds":0.03736920777279518,"last_synced_commit":"0b304351830a6b8d1254f9ed69f9991c0247243b"},"previous_names":[],"tags_count":239,"template":false,"template_full_name":null,"purl":"pkg:github/pocketbase/pocketbase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocketbase%2Fpocketbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocketbase%2Fpocketbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocketbase%2Fpocketbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocketbase%2Fpocketbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pocketbase","download_url":"https://codeload.github.com/pocketbase/pocketbase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocketbase%2Fpocketbase/sbom","scorecard":{"id":739372,"data":{"date":"2025-08-11","repo":{"name":"github.com/pocketbase/pocketbase","commit":"b1f1d19d7f0422a373c6de810f42376a7e62dfa4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.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":"Maintained","score":10,"reason":"30 commit(s) and 19 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":3,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Warn: no linked content found","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: .github/SECURITY.md:1"],"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":"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":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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.29.2 not signed: https://api.github.com/repos/pocketbase/pocketbase/releases/238757232","Warn: release artifact v0.22.35 not signed: https://api.github.com/repos/pocketbase/pocketbase/releases/238756501","Warn: release artifact v0.29.1 not signed: https://api.github.com/repos/pocketbase/pocketbase/releases/237043421","Warn: release artifact v0.29.0 not signed: https://api.github.com/repos/pocketbase/pocketbase/releases/233668193","Warn: release artifact v0.28.4 not signed: https://api.github.com/repos/pocketbase/pocketbase/releases/226823441","Warn: release artifact v0.29.2 does not have provenance: https://api.github.com/repos/pocketbase/pocketbase/releases/238757232","Warn: release artifact v0.22.35 does not have provenance: https://api.github.com/repos/pocketbase/pocketbase/releases/238756501","Warn: release artifact v0.29.1 does not have provenance: https://api.github.com/repos/pocketbase/pocketbase/releases/237043421","Warn: release artifact v0.29.0 does not have provenance: https://api.github.com/repos/pocketbase/pocketbase/releases/233668193","Warn: release artifact v0.28.4 does not have provenance: https://api.github.com/repos/pocketbase/pocketbase/releases/226823441"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/pocketbase/pocketbase/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/pocketbase/pocketbase/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/pocketbase/pocketbase/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/pocketbase/pocketbase/release.yaml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand 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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yaml:8"],"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-q7pp-wcgr-pffx","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99"],"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-22T16:58:03.091Z","repository_id":43698455,"created_at":"2025-08-22T16:58:03.092Z","updated_at":"2025-08-22T16:58:03.092Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28486938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T22:54:02.790Z","status":"ssl_error","status_checked_at":"2026-01-16T22:50:10.344Z","response_time":107,"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":["authentication","backend","golang","realtime"],"created_at":"2024-07-30T19:00:52.286Z","updated_at":"2026-01-16T22:55:54.282Z","avatar_url":"https://github.com/pocketbase.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://pocketbase.io\" target=\"_blank\" rel=\"noopener\"\u003e\n        \u003cimg src=\"https://i.imgur.com/5qimnm5.png\" alt=\"PocketBase - open source backend in 1 file\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/pocketbase/pocketbase/actions/workflows/release.yaml\" target=\"_blank\" rel=\"noopener\"\u003e\u003cimg src=\"https://github.com/pocketbase/pocketbase/actions/workflows/release.yaml/badge.svg\" alt=\"build\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/pocketbase/pocketbase/releases\" target=\"_blank\" rel=\"noopener\"\u003e\u003cimg src=\"https://img.shields.io/github/release/pocketbase/pocketbase.svg\" alt=\"Latest releases\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://pkg.go.dev/github.com/pocketbase/pocketbase\" target=\"_blank\" rel=\"noopener\"\u003e\u003cimg src=\"https://godoc.org/github.com/pocketbase/pocketbase?status.svg\" alt=\"Go package documentation\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[PocketBase](https://pocketbase.io) is an open source Go backend that includes:\n\n- embedded database (_SQLite_) with **realtime subscriptions**\n- built-in **files and users management**\n- convenient **Admin dashboard UI**\n- and simple **REST-ish API**\n\n**For documentation and examples, please visit https://pocketbase.io/docs.**\n\n\u003e [!WARNING]\n\u003e Please keep in mind that PocketBase is still under active development\n\u003e and therefore full backward compatibility is not guaranteed before reaching v1.0.0.\n\n## API SDK clients\n\nThe easiest way to interact with the PocketBase Web APIs is to use one of the official SDK clients:\n\n- **JavaScript - [pocketbase/js-sdk](https://github.com/pocketbase/js-sdk)** (_Browser, Node.js, React Native_)\n- **Dart - [pocketbase/dart-sdk](https://github.com/pocketbase/dart-sdk)** (_Web, Mobile, Desktop, CLI_)\n\nYou could also check the recommendations in https://pocketbase.io/docs/how-to-use/.\n\n\n## Overview\n\n### Use as standalone app\n\nYou could download the prebuilt executable for your platform from the [Releases page](https://github.com/pocketbase/pocketbase/releases).\nOnce downloaded, extract the archive and run `./pocketbase serve` in the extracted directory.\n\nThe prebuilt executables are based on the [`examples/base/main.go` file](https://github.com/pocketbase/pocketbase/blob/master/examples/base/main.go) and comes with the JS VM plugin enabled by default which allows to extend PocketBase with JavaScript (_for more details please refer to [Extend with JavaScript](https://pocketbase.io/docs/js-overview/)_).\n\n### Use as a Go framework/toolkit\n\nPocketBase is distributed as a regular Go library package which allows you to build\nyour own custom app specific business logic and still have a single portable executable at the end.\n\nHere is a minimal example:\n\n0. [Install Go 1.23+](https://go.dev/doc/install) (_if you haven't already_)\n\n1. Create a new project directory with the following `main.go` file inside it:\n    ```go\n    package main\n\n    import (\n        \"log\"\n\n        \"github.com/pocketbase/pocketbase\"\n        \"github.com/pocketbase/pocketbase/core\"\n    )\n\n    func main() {\n        app := pocketbase.New()\n\n        app.OnServe().BindFunc(func(se *core.ServeEvent) error {\n            // registers new \"GET /hello\" route\n            se.Router.GET(\"/hello\", func(re *core.RequestEvent) error {\n                return re.String(200, \"Hello world!\")\n            })\n\n            return se.Next()\n        })\n\n        if err := app.Start(); err != nil {\n            log.Fatal(err)\n        }\n    }\n    ```\n\n2. To init the dependencies, run `go mod init myapp \u0026\u0026 go mod tidy`.\n\n3. To start the application, run `go run main.go serve`.\n\n4. To build a statically linked executable, you can run `CGO_ENABLED=0 go build` and then start the created executable with `./myapp serve`.\n\n_For more details please refer to [Extend with Go](https://pocketbase.io/docs/go-overview/)._\n\n### Building and running the repo main.go example\n\nTo build the minimal standalone executable, like the prebuilt ones in the releases page, you can simply run `go build` inside the `examples/base` directory:\n\n0. [Install Go 1.23+](https://go.dev/doc/install) (_if you haven't already_)\n1. Clone/download the repo\n2. Navigate to `examples/base`\n3. Run `GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build`\n   (_https://go.dev/doc/install/source#environment_)\n4. Start the created executable by running `./base serve`.\n\nNote that the supported build targets by the pure Go SQLite driver at the moment are:\n\n```\ndarwin  amd64\ndarwin  arm64\nfreebsd amd64\nfreebsd arm64\nlinux   386\nlinux   amd64\nlinux   arm\nlinux   arm64\nlinux   loong64\nlinux   ppc64le\nlinux   riscv64\nlinux   s390x\nwindows 386\nwindows amd64\nwindows arm64\n```\n\n### Testing\n\nPocketBase comes with mixed bag of unit and integration tests.\nTo run them, use the standard `go test` command:\n\n```sh\ngo test ./...\n```\n\nCheck also the [Testing guide](http://pocketbase.io/docs/testing) to learn how to write your own custom application tests.\n\n## Security\n\nIf you discover a security vulnerability within PocketBase, please send an e-mail to **support at pocketbase.io**.\n\nAll reports will be promptly addressed and you'll be credited in the fix release notes.\n\n## Contributing\n\nPocketBase is free and open source project licensed under the [MIT License](LICENSE.md).\nYou are free to do whatever you want with it, even offering it as a paid service.\n\nYou could help continuing its development by:\n\n- [Contribute to the source code](CONTRIBUTING.md)\n- [Suggest new features and report issues](https://github.com/pocketbase/pocketbase/issues)\n\nPRs for new OAuth2 providers, bug fixes, code optimizations and documentation improvements are more than welcome.\n\nBut please refrain creating PRs for _new features_ without previously discussing the implementation details.\nPocketBase has a [roadmap](https://github.com/orgs/pocketbase/projects/2) and I try to work on issues in specific order and such PRs often come in out of nowhere and skew all initial planning with tedious back-and-forth communication.\n\nDon't get upset if I close your PR, even if it is well executed and tested. This doesn't mean that it will never be merged.\nLater we can always refer to it and/or take pieces of your implementation when the time comes to work on the issue (don't worry you'll be credited in the release notes).\n","funding_links":["https://opencollective.com/pocketbase","https://www.paypal.com/donate/?hosted_button_id=4DVXNL4B8WT98"],"categories":["Go","Popular","开源类库","Uncategorized","Official Packages","Open source library","服务器应用程序","Server Applications","后端开发框架及项目","golang","Repos","Back-End as a Service","backend","HarmonyOS","go","Backend As A Service","\u003ca name=\"Go\"\u003e\u003c/a\u003eGo","Backend \u0026 Infrastructure"],"sub_categories":["业务框架","Uncategorized","Business Framework","HTTP客户端","HTTP Clients","管理面板","Windows Manager","collection"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocketbase%2Fpocketbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpocketbase%2Fpocketbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocketbase%2Fpocketbase/lists"}