{"id":15118684,"url":"https://github.com/zhenruyan/postgrebase","last_synced_at":"2025-05-07T02:26:49.248Z","repository":{"id":199255753,"uuid":"702468825","full_name":"zhenruyan/postgrebase","owner":"zhenruyan","description":"postgrebase is fork pocketbase replace sqlite form postgresql and mysql ","archived":false,"fork":false,"pushed_at":"2024-12-11T10:20:08.000Z","size":34697,"stargazers_count":50,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T05:26:18.720Z","etag":null,"topics":["mariadb","mysql","pocketbase","postgresql"],"latest_commit_sha":null,"homepage":"","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/zhenruyan.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}},"created_at":"2023-10-09T11:28:12.000Z","updated_at":"2025-03-24T11:02:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"13dafcd7-62be-4a9b-83e8-72031672b60f","html_url":"https://github.com/zhenruyan/postgrebase","commit_stats":null,"previous_names":["zhenruyan/postgrebase"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhenruyan%2Fpostgrebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhenruyan%2Fpostgrebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhenruyan%2Fpostgrebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhenruyan%2Fpostgrebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhenruyan","download_url":"https://codeload.github.com/zhenruyan/postgrebase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252800537,"owners_count":21806179,"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","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":["mariadb","mysql","pocketbase","postgresql"],"created_at":"2024-09-26T01:53:34.416Z","updated_at":"2025-05-07T02:26:49.237Z","avatar_url":"https://github.com/zhenruyan.png","language":"Go","funding_links":[],"categories":["Tools/Plugin"],"sub_categories":["Other"],"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/ganigeorgiev/fexpr?status.svg\" alt=\"Go package documentation\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n--------------------------------------------\n# 2024-12-11\n\nfuck!fuck!fuck!fuck! shit!!!shit!!!shit!!!shit!!!   Cockroach actually broadcasts commercial information directly in the connection\n\nhttps://github.com/cockroachdb/cockroach/issues/133050\n\nNOTICE: No license is installed. Throttling will begin after 2024-10-28 17:23:54 +0000 UTC unless a license is installed before then.\n\nThis should be completely resisted! But I don't have the energy to fork Cockroachdb anymore, even though it's easy to remove it\n\nI will completely remove support for Cockroach and switch to PostgreSQL and Mariadb !!!!!!!!!!!\n\n---------------------------------------\n\n##  If continuous maintenance is required, sufficient testing is needed. If you happen to have time to read this passage, then thank you very much for your testing and use\n\n##  As I am not a full-time maintainer, my submission interval may be longer. Please understand, but it is gratifying that I use PostgreSQL in my work, which carries hundreds of thousands of traffic per day, making it more robust\n\n----------------------------------------\n\n\n\n\n[PocketBase](https://pocketbase.io) is an open source Go backend, consisting of:\n\nThe author of PB is really excellent, and PB is a great work.\n\nBut we really need to run PB online in high pressure and complex environments. Sqlite cannot handle this scenario, so I am working hard to make it support cockroachdb  and postgreSQL for cluster and standalone environments.\n\nCurrent modification progress, running cockroachdb  by default as a single node by default\n\nThen run PB to install and perform curd operations normally.\n\nrun cockroachdb \n\n```bash\n\ncockroach start-single-node --insecure\n\ncockroach sql --insecure\n\nCREATE DATABASE logs;\nCREATE DATABASE data;\n\n```\n\nbuild  pb\n\n```bash\n\ngo build .\\examples\\base\\\n\n```\n\nrun pb --help\n\n```\nPocketBase CLI\n\nUsage:\n  base.exe [command]\n\nAvailable Commands:\n  admin       Manages admin accounts\n  migrate     Executes app DB migration scripts\n  serve       Starts the web server (default to 127.0.0.1:8090)\n  update      Automatically updates the current PocketBase executable with the latest available version\n\nFlags:\n      --automigrate            enable/disable auto migrations (default true)\n      --dataDsn string         store data postgresql dsn(default  postgresql://root@127.0.0.1:26257/data?sslmode=disable) (default \"postgresql://root@127.0.0.1:26257/data?sslmode=disable\")\n      --debug                  enable debug mode, aka. showing more detailed logs\n      --dir string             the PocketBase data directory (default \"D:\\\\src\\\\postgresqlbaseapi\\\\pb_data\")\n      --encryptionEnv string   the env variable whose value of 32 characters will be used\n                               as encryption key for the app settings (default none)\n  -h, --help                   help for base.exe\n      --hooksDir string        the directory with the JS app hooks\n      --hooksPool int          the total prewarm goja.Runtime instances for the JS app hooks execution (default 50)\n      --hooksWatch             auto restart the app on pb_hooks file change (default true)\n      --indexFallback          fallback the request to index.html on missing static path (eg. when pretty urls are used with SPA) (default true)\n      --logDsn string          store logs postgresql dsn(default postgresql://root@127.0.0.1:26257/logs?sslmode=disable) (default \"postgresql://root@127.0.0.1:26257/logs?sslmode=disable\")\n      --migrationsDir string   the directory with the user defined migrations\n      --publicDir string       the directory to serve static files (default \"D:\\\\src\\\\postgresqlbaseapi\\\\pb_public\")\n      --queryTimeout int       the default SELECT queries timeout in seconds (default 30)\n  -v, --version                version for base.exe\n\nUse \"base.exe [command] --help\" for more information about a command.\n\n```\n\n\nrelease build\n\n```\ngoreleaser.exe release --skip-publish  --snapshot  --rm-dist\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhenruyan%2Fpostgrebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhenruyan%2Fpostgrebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhenruyan%2Fpostgrebase/lists"}