[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5018":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":15,"starSnapshotCount":15,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},5018,"FerretDB","FerretDB\u002FFerretDB","A truly Open Source MongoDB alternative","https:\u002F\u002Fwww.ferretdb.com",null,"Go",10963,479,87,353,0,3,34,1,43.04,"Apache License 2.0",false,"main",true,[25,26,27,28,29,30,31,32,33,34,35,36],"database","document","ferretdb","go","golang","hacktoberfest","mongo","mongo-db","mongodb","mongodb-database","postgres","postgresql","2026-06-12 02:01:07","# FerretDB\n\n\u003C!-- textlint-disable one-sentence-per-line -->\n\n> [!TIP]\n> Looking for FerretDB v1?\n> It is [there](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Ftree\u002Fmain-v1).\n\n\u003C!-- textlint-enable one-sentence-per-line -->\n\n[![Go Reference](https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Fv2\u002Fferretdb.svg)](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Fv2\u002Fferretdb)\n\n[![Go](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Factions\u002Fworkflows\u002Fgo.yml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Factions\u002Fworkflows\u002Fgo.yml)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002FFerretDB\u002FFerretDB\u002Fbranch\u002Fmain\u002Fgraph\u002Fbadge.svg?token=JZ56XFT3DM)](https:\u002F\u002Fcodecov.io\u002Fgh\u002FFerretDB\u002FFerretDB)\n\n[![Security](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Factions\u002Fworkflows\u002Fsecurity.yml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Factions\u002Fworkflows\u002Fsecurity.yml)\n[![Packages](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Factions\u002Fworkflows\u002Fpackages.yml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Factions\u002Fworkflows\u002Fpackages.yml)\n[![Docs](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Factions\u002Fworkflows\u002Fdocs.yml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Factions\u002Fworkflows\u002Fdocs.yml)\n\nFerretDB is an open-source alternative to MongoDB.\nIt is a proxy that converts MongoDB 5.0+ wire protocol queries to SQL\nand uses PostgreSQL with [DocumentDB extension](https:\u002F\u002Fgithub.com\u002Fdocumentdb\u002Fdocumentdb) as a database engine.\n\n```mermaid\nflowchart LR\n  A[\"Any application\u003Cbr>Any MongoDB driver\"]\n  F{{FerretDB}}\n  P[(PostgreSQL\u003Cbr>DocumentDB extension)]\n\n  A -- \"MongoDB protocol\u003Cbr>BSON\" --> F\n  F -- \"PostgreSQL protocol\u003Cbr>SQL\" --> P\n```\n\n## Why do we need FerretDB?\n\nMongoDB was originally an eye-opening technology for many of us developers,\nempowering us to build applications faster than using relational databases.\nIn its early days, its ease-to-use and well-documented drivers made MongoDB one of the simplest database solutions available.\nHowever, as time passed, MongoDB abandoned its open-source roots;\nchanging the license to [SSPL](https:\u002F\u002Fwww.ferretdb.com\u002Fsspl) - making it unusable for many open-source and early-stage commercial projects.\n\nMost MongoDB users do not require any advanced features offered by MongoDB;\nhowever, they need an easy-to-use open-source document database solution.\nRecognizing this, FerretDB is here to fill that gap.\n\n## Scope and current state\n\nFerretDB is compatible with MongoDB drivers and popular MongoDB tools.\nIt functions as a drop-in replacement for MongoDB 5.0+ in many cases.\nFeatures are constantly being added to further increase compatibility and performance.\n\nWe welcome all contributors.\nSee our [public roadmap](https:\u002F\u002Fgithub.com\u002Forgs\u002FFerretDB\u002Fprojects\u002F2\u002Fviews\u002F1),\nlists of [known differences and supported commands](https:\u002F\u002Fdocs.ferretdb.io\u002Fmigration\u002Fcompatibility\u002F),\nand [contributing guidelines](CONTRIBUTING.md).\n\n## Quickstart\n\nRun this command to start FerretDB with PostgreSQL, make sure to update `\u003Cusername>` and `\u003Cpassword>`:\n\n```sh\ndocker run -d --rm --name ferretdb -p 27017:27017 \\\n  -e POSTGRES_USER=\u003Cusername> \\\n  -e POSTGRES_PASSWORD=\u003Cpassword> \\\n  ghcr.io\u002Fferretdb\u002Fferretdb-eval:2\n```\n\nThis command will start a container with FerretDB, pre-packaged PostgreSQL with DocumentDB extension, and MongoDB Shell for quick testing and experiments.\nHowever, it is unsuitable for production use cases because it keeps all data inside and loses it on shutdown.\nSee our [installation guides](https:\u002F\u002Fdocs.ferretdb.io\u002Finstallation\u002F) for instructions\nthat don't have those problems.\n\nWith that container running, you can:\n\n- Connect to it with any MongoDB client application using the MongoDB URI `mongodb:\u002F\u002F\u003Cusername>:\u003Cpassword>@127.0.0.1:27017\u002F`.\n- Connect to it using the MongoDB Shell by just running `mongosh`.\n  If you don't have it installed locally, you can run `docker exec -it ferretdb mongosh`.\n- For PostgreSQL, connect to it by running `docker exec -it ferretdb psql -U \u003Cusername> postgres`.\n\nYou can stop the container with `docker stop ferretdb`.\n\nWe also provide binaries and packages for various Linux distributions.\nas well as [Go library package](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Fv2\u002Fferretdb)\nthat embeds FerretDB into your application.\nSee [our documentation](https:\u002F\u002Fdocs.ferretdb.io\u002Finstallation\u002F) for more details.\n\n## Building and packaging\n\n\u003C!-- textlint-disable one-sentence-per-line -->\n\n> [!NOTE]\n> We advise users not to build FerretDB themselves.\n> Instead, use binaries, Docker images, or packages provided by us.\n\n\u003C!-- textlint-enable one-sentence-per-line -->\n\nFerretDB could be built as any other Go program,\nbut a few generated files and build tags could affect it.\nSee [there](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Fv2\u002Fbuild\u002Fversion) for more details.\n\n## Managed FerretDB at cloud providers\n\n- [FerretDB Cloud](https:\u002F\u002Fcloud.ferretdb.com\u002F)\n- [Civo](https:\u002F\u002Fwww.civo.com\u002Fmarketplace\u002FFerretDB)\n- [Tembo](https:\u002F\u002Ftembo.io\u002Fdocs\u002Ftembo-stacks\u002Fmongo-alternative)\n- [Elestio](https:\u002F\u002Felest.io\u002Fopen-source\u002Fferretdb)\n- [Cozystack](https:\u002F\u002Fcozystack.io\u002Fdocs\u002Fcomponents\u002F#managed-ferretdb)\n\n## Community\n\n- Website: https:\u002F\u002Fwww.ferretdb.com\u002F.\n- Blog: https:\u002F\u002Fblog.ferretdb.io\u002F.\n- Documentation: https:\u002F\u002Fdocs.ferretdb.io\u002F.\n- X (Twitter): [@ferret_db](https:\u002F\u002Fx.com\u002Fferret_db).\n- Mastodon: [@ferretdb@techhub.social](https:\u002F\u002Ftechhub.social\u002F@ferretdb).\n- [Slack chat](https:\u002F\u002Fslack.ferretdb.io\u002F) for quick questions.\n- [GitHub Discussions](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Fdiscussions) for longer topics.\n- [GitHub Issues](https:\u002F\u002Fgithub.com\u002FFerretDB\u002FFerretDB\u002Fissues) for bugs and missing features.\n\nIf you want to contact FerretDB Inc., please use [this form](https:\u002F\u002Fwww.ferretdb.com\u002Fcontact\u002F).\n","FerretDB是一个开源的MongoDB替代方案。它通过将MongoDB 5.0+协议查询转换为SQL，并使用带有DocumentDB扩展的PostgreSQL作为数据库引擎来实现这一目标。其核心功能包括与MongoDB驱动程序和常用工具的兼容性，以及作为MongoDB 5.0+的直接替换选项。FerretDB特别适合那些寻找易于使用的开源文档数据库解决方案、但不需要MongoDB高级特性的场景。此外，对于因许可证变更而无法继续使用MongoDB的项目而言，FerretDB提供了一个理想的迁移路径。",2,"2026-06-11 03:02:04","top_language"]