{"id":24069233,"url":"https://github.com/hypermodeinc/dgraph","last_synced_at":"2025-05-13T15:04:57.745Z","repository":{"id":38839663,"uuid":"41349039","full_name":"hypermodeinc/dgraph","owner":"hypermodeinc","description":"high-performance graph database for real-time use cases","archived":false,"fork":false,"pushed_at":"2025-05-05T19:18:22.000Z","size":660928,"stargazers_count":20842,"open_issues_count":26,"forks_count":1515,"subscribers_count":359,"default_branch":"main","last_synced_at":"2025-05-05T22:41:48.112Z","etag":null,"topics":["database","distributed","go","knowledge-graph"],"latest_commit_sha":null,"homepage":"https://docs.hypermode.com/dgraph","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/hypermodeinc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":"audit/audit.go","citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-08-25T07:15:56.000Z","updated_at":"2025-05-05T16:54:27.000Z","dependencies_parsed_at":"2024-03-04T06:44:46.556Z","dependency_job_id":"38f8b941-2beb-432a-ae1f-b194062631f5","html_url":"https://github.com/hypermodeinc/dgraph","commit_stats":{"total_commits":5942,"total_committers":244,"mean_commits":"24.352459016393443","dds":0.8973409626388421,"last_synced_commit":"a21c3664d5cefbd8e9fc08738ae2889f87ec5768"},"previous_names":["hypermodeinc/dgraph","dgraph-io/dgraph"],"tags_count":205,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermodeinc%2Fdgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermodeinc%2Fdgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermodeinc%2Fdgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermodeinc%2Fdgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypermodeinc","download_url":"https://codeload.github.com/hypermodeinc/dgraph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253968948,"owners_count":21992261,"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":["database","distributed","go","knowledge-graph"],"created_at":"2025-01-09T14:01:25.302Z","updated_at":"2025-05-13T15:04:52.737Z","avatar_url":"https://github.com/hypermodeinc.png","language":"Go","readme":"\u003cpicture\u003e\n      \u003csource\n        srcset=\"/logo-dark.png\"\n        media=\"(prefers-color-scheme: dark)\"\n      /\u003e\n      \u003csource\n        srcset=\"/logo.png\"\n        media=\"(prefers-color-scheme: light), (prefers-color-scheme: no-preference)\"\n      /\u003e\n      \u003cimg alt=\"Dgraph Logo\" src=\"/logo.png\"\u003e\n\u003c/picture\u003e\n\n[![chat](https://img.shields.io/discord/1267579648657850441)](https://discord.hypermode.com)\n[![GitHub Repo stars](https://img.shields.io/github/stars/hypermodeinc/dgraph)](https://github.com/hypermodeinc/dgraph/stargazers)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/hypermodeinc/dgraph)](https://github.com/hypermodeinc/dgraph/commits/main/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/dgraph-io/dgraph)](https://goreportcard.com/report/github.com/dgraph-io/dgraph)\n\nDgraph is a horizontally scalable and distributed GraphQL database with a graph backend. It provides\nACID transactions, consistent replication, and linearizable reads. It's built from the ground up to\nperform a rich set of queries. Being a native GraphQL database, it tightly controls how the data is\narranged on disk to optimize for query performance and throughput, reducing disk seeks and network\ncalls in a cluster.\n\nDgraph's goal is to provide Google production-level scale and throughput, with low enough latency to\nserve real-time user queries over terabytes of structured data. Dgraph supports\n[GraphQL query syntax](https://docs.hypermode.com/dgraph/graphql/overview), and responds in\n[JSON](http://www.json.org/) and [Protocol Buffers](https://developers.google.com/protocol-buffers/)\nover [GRPC](http://www.grpc.io/) and HTTP. Dgraph is written using the Go Programming Language.\n\n## Status\n\nDgraph is at [version v24.0.5][rel] and is production-ready. Apart from the vast open source\ncommunity, it is being used in production at multiple Fortune 500 companies, and by\n[Intuit Katlas](https://github.com/intuit/katlas) and\n[VMware Purser](https://github.com/vmware/purser). A hosted version of Dgraph is available at\n[https://cloud.dgraph.io](https://cloud.dgraph.io).\n\n[rel]: https://github.com/hypermodeinc/dgraph/releases/tag/v24.0.5\n\n## Supported Platforms\n\nDgraph officially supports the Linux/amd64 architecture. Support for Linux/arm64 is in development.\nIn order to take advantage of memory performance gains and other architecture-specific advancements\nin Linux, we dropped official support Mac and Windows in 2021, see\n[this blog post](https://discuss.hypermode.com/t/dropping-support-for-windows-and-mac/12913) for more\ninformation. You can still build and use Dgraph on other platforms (for live or bulk loading for\ninstance), but support for platforms other than Linux/amd64 is not available.\n\nRunning Dgraph in a Docker environment is the recommended testing and deployment method.\n\n## Install with Docker\n\nIf you're using Docker, you can use the\n[official Dgraph image](https://hub.docker.com/r/dgraph/dgraph/).\n\n```bash\ndocker pull dgraph/dgraph:latest\n```\n\nFor more information on a variety Docker deployment methods including Docker Compose and Kubernetes,\nsee the [docs](https://docs.hypermode.com/dgraph/self-managed/overview).\n\n## Run a Quick Standalone Cluster\n\n```bash\ndocker run -it -p 8080:8080 -p 9080:9080 -v ~/dgraph:/dgraph dgraph/standalone:latest\n```\n\n## Install from Source\n\nIf you want to install from source, install Go 1.19+ or later and the following dependencies:\n\n### Ubuntu\n\n```bash\nsudo apt-get update\nsudo apt-get install build-essential\n```\n\n### Build and Install\n\nThen clone the Dgraph repository and use `make install` to install the Dgraph binary in the\ndirectory named by the GOBIN environment variable, which defaults to $GOPATH/bin or $HOME/go/bin if\nthe GOPATH environment variable is not set.\n\n```bash\ngit clone https://github.com/hypermodeinc/dgraph.git\ncd dgraph\nmake install\n```\n\n## Get Started\n\n**To get started with Dgraph, follow:**\n\n- [Installation to queries in 3 steps](https://docs.hypermode.com/dgraph/quickstart).\n- Tutorial and presentation videos on\n  [YouTube channel](https://www.youtube.com/channel/UCghE41LR8nkKFlR3IFTRO4w/featured).\n\n## Is Dgraph the right choice for me?\n\n- Do you have more than 10 SQL tables connected via foreign keys?\n- Do you have sparse data, which doesn't elegantly fit into SQL tables?\n- Do you want a simple and flexible schema, which is readable and maintainable over time?\n- Do you care about speed and performance at scale?\n\nIf the answers to the above are YES, then Dgraph would be a great fit for your application. Dgraph\nprovides NoSQL like scalability while providing SQL like transactions and the ability to select,\nfilter, and aggregate data points. It combines that with distributed joins, traversals, and graph\noperations, which makes it easy to build applications with it.\n\n## Dgraph compared to other graph DBs\n\n| Features                            | Dgraph                        | Neo4j                                                    | Janus Graph                           |\n| ----------------------------------- | ----------------------------- | -------------------------------------------------------- | ------------------------------------- |\n| Architecture                        | Sharded and Distributed       | Single server (+ replicas in enterprise)                 | Layer on top of other distributed DBs |\n| Replication                         | Consistent                    | None in community edition (only available in enterprise) | Via underlying DB                     |\n| Data movement for shard rebalancing | Automatic                     | Not applicable (all data lies on each server)            | Via underlying DB                     |\n| Language                            | GraphQL inspired              | Cypher, Gremlin                                          | Gremlin                               |\n| Protocols                           | Grpc / HTTP + JSON / RDF      | Bolt + Cypher                                            | Websocket / HTTP                      |\n| Transactions                        | Distributed ACID transactions | Single server ACID transactions                          | Not typically ACID                    |\n| Full-Text Search                    | Native support                | Native support                                           | Via External Indexing System          |\n| Regular Expressions                 | Native support                | Native support                                           | Via External Indexing System          |\n| Geo Search                          | Native support                | External support only                                    | Via External Indexing System          |\n| License                             | Apache 2.0                    | GPL v3                                                   | Apache 2.0                            |\n\n## Users\n\n- **Dgraph official documentation is present at [docs.hypermode.com/dgraph](https://docs.hypermode.com/dgraph).**\n- For feature requests or questions, visit [https://discuss.hypermode.com](https://discuss.hypermode.com).\n- Please see [releases tab](https://github.com/hypermodeinc/dgraph/releases) to find the latest\n  release and corresponding release notes.\n- Read about the latest updates from the Dgraph team [on our blog](https://hypermode.com/blog).\n- Watch tech talks on our\n  [YouTube channel](https://www.youtube.com/channel/UCghE41LR8nkKFlR3IFTRO4w/featured).\n\n## Developers\n\nPlease see\n  [Contributing to Dgraph](https://github.com/hypermodeinc/dgraph/blob/main/CONTRIBUTING.md) for\n  guidelines on contributions.\n\n## Client Libraries\n\nThe Dgraph team maintains several\n[officially supported client libraries](https://docs.hypermode.com/dgraph/sdks/overview). There are also libraries\ncontributed by the community\n[unofficial client libraries](https://docs.hypermode.com/dgraph/sdks/unofficial-clients#unofficial-dgraph-clients).\n\n##\n\n## Contact\n\n- Please use [discuss.hypermode.com](https://discuss.hypermode.com) for documentation, questions, feature\n  requests and discussions.\n- Please use [GitHub Issues](https://github.com/hypermodeinc/dgraph/issues) for filing bugs or\n  feature requests.\n- Follow us on Twitter [@dgraphlabs](https://twitter.com/dgraphlabs).\n","funding_links":[],"categories":["Go","Database","HarmonyOS"],"sub_categories":["Databases Implemented in Go","Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypermodeinc%2Fdgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypermodeinc%2Fdgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypermodeinc%2Fdgraph/lists"}