https://github.com/cube-js/cube Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} cube-js / cube Public * Notifications * Fork 1.5k * Star 15.2k Cube -- The Semantic Layer for Building Data Applications cube.dev License View license 15.2k stars 1.5k forks Star Notifications * Code * Issues 455 * Pull requests 293 * Actions * Projects 2 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights cube-js/cube This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 410 branches 857 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/c] Use Git or checkout with SVN using the web URL. [gh repo clone cube-j] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @keydunov keydunov feat: Support snake case security_context in COMPILE_CONTEXT (#6519) ... feb3fe3 May 1, 2023 feat: Support snake case security_context in COMPILE_CONTEXT (#6519) * chore: Support snake case security_context in COMPILE_CONTEXT * fix:lint feb3fe3 Git stats * 7,181 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github fix(snowflake-driver): Int is exported to pre-aggregations as decimal... ( April 27, 2023 23:29 docs-gen docs: merge Cube Core and Cube Cloud pages (#6370) April 7, 2023 23:37 docs docs: fix link to community Slack May 1, 2023 19:10 examples docs(recipes): Refreshing Select Partitions (#3498) March 17, 2023 12:48 packages feat: Support snake case security_context in COMPILE_CONTEXT (#6519) May 1, 2023 15:43 patches fix: Drop NodeJs namespace from @types/styled-components May 25, 2021 16:58 rust feat(cubesql): psqlodbc driver support April 28, 2023 20:36 .dockerignore feat(docker): jdk containers July 24, 2022 01:19 .gitignore chore: isPlayground prop for load requests (#3401) September 9, 2021 10:42 .npmpackagejsonlintrc.json fix: Move Prettier & Jest to dev dep (reduce size) April 28, 2021 18:13 .nvmrc feat(docker): Upgrade Node.js to 16.x March 2, 2023 16:50 CHANGELOG.md v0.32.30 April 28, 2023 08:55 CODEOWNERS chore: Update CODEOWNDERS (#5914) January 4, 2023 17:19 CODE_OF_CONDUCT.md Simplifying the code of conduct header November 23, 2020 08:17 CONTRIBUTING.md chore: Use new link to the repository (fix lerna crash) (#6327) March 22, 2023 00:51 DCO.md chore: Use new link to the repository (fix lerna crash) (#6327) March 22, 2023 00:51 DEPRECATION.md feat(docker): Remove gcc/g++/cmake/python from final images March 2, 2023 16:50 LICENSE Create LICENSE December 12, 2019 16:56 README.md Fix links to getting started April 4, 2023 22:36 SECURITY.md Update SECURITY.md May 27, 2020 13:29 codecov.yml Update codecov.yml April 25, 2021 20:13 lerna-publish.sh chore: prevent publishing from a non-master branch March 14, 2021 18:40 lerna.json v0.32.30 April 28, 2023 08:55 netlify.toml chore: add Netlify configuration and custom build script December 3, 2020 00:53 package.json feat(snowflake-driver): streaming export, read-only unload (#6452) April 25, 2023 00:24 rollup.config.js chore: charts update, remove core-js for esm build (#5239) September 6, 2022 12:57 tsconfig.base.json chore: drivers test suite (#6362) April 17, 2023 20:06 tsconfig.json fix(snowflake-driver): Int is exported to pre-aggregations as decimal... ( April 27, 2023 23:29 vetur.config.js feat(@cubejs-client/vue): vue query builder (#1824) March 17, 2021 22:37 yarn.lock chore(linter): Upgrade typescript-eslint (support TypeScript 4.9) (# 6455 April 18, 2023 23:53 View code [ ] Why Cube? Getting Started Cube Cloud Docker Resources Community Our quarterly roadmap Contributing License README.md Cube -- Semantic Layer for Data Applications Website * Getting Started * Docs * Examples * Blog * Slack * Twitter npm version GitHub Actions FOSSA Status Cube is the semantic layer for building data applications. It helps data engineers and application developers access data from modern data stores, organize it into consistent definitions, and deliver it to every application. [cube-scheme-dark] Learn more about connecting Cube to data sources and analytics & visualization tools. Cube was designed to work with all SQL-enabled data sources, including cloud data warehouses like Snowflake or Google BigQuery, query engines like Presto or Amazon Athena, and application databases like Postgres. Cube has a built-in relational caching engine to provide sub-second latency and high concurrency for API requests. For more details, see the introduction page in our documentation. Why Cube? If you are building a data application--such as a business intelligence tool or a customer-facing analytics feature--you'll probably face the following problems: 1. SQL code organization. Sooner or later, modeling even a dozen metrics with a dozen dimensions using pure SQL queries becomes a maintenance nightmare, which leads to building a modeling framework. 2. Performance. Most of the time and effort in modern analytics software development is spent providing adequate time to insight. In a world where every company's data is big data, writing just SQL queries to get insight isn't enough anymore. 3. Access Control. It is important to secure and govern access to data for all downstream data consuming applications. Cube has the necessary infrastructure and features to implement efficient data modeling, access control, and performance optimizations so that every application--like embedded analytics, dashboarding and reporting tools, data notebooks, and other tools--can access consistent data via REST, SQL, and GraphQL APIs. [old-was-vs] Getting Started Cube Cloud Cube Cloud is the fastest way to get started with Cube. It provides managed infrastructure as well as an instant and free access for development projects and proofs of concept. Get started now For a step-by-step guide on Cube Cloud, see the docs. Docker Alternatively, you can get started with Cube locally or self-host it with Docker. Once Docker is installed, in a new folder for your project, run the following command: docker run -p 4000:4000 \ -p 15432:15432 \ -v ${PWD}:/cube/conf \ -e CUBEJS_DEV_MODE=true \ cubejs/cube Then, open http://localhost:4000 in your browser to continue setup. For a step-by-step guide on Docker, see the docs. Resources * Documentation * Getting Started * Examples & Tutorials * Architecture Community If you have any questions or need help - please join our Slack community of amazing developers and data engineers. You are also welcome to join our monthly community calls where we discuss community news, Cube Dev team's plans, backlogs, use cases, etc. If you miss the call, the recordings will also be available after the meeting. * When: Second Wednesday of each month at 9am Pacific Time. * Meeting link: https://us02web.zoom.us/j/86717042169?pwd= VlBEd2VVK01DNDVVbU1EUXd5ajhsdz09 * Meeting page. * Recordings will be posted on the Community Call Playlist. Our quarterly roadmap We publish our open source roadmap every quarter and discuss them during our monthly community calls. You can find our roadmap under projects in our Cube.js repository. Contributing There are many ways you can contribute to Cube! Here are a few possibilities: * Star this repo and follow us on Twitter. * Add Cube to your stack on Stackshare. * Upvote issues with reaction so we know what's the demand for particular issue to prioritize it within road map. * Create issues every time you feel something is missing or goes wrong. * Ask questions on Stack Overflow with cube.js tag if others can have these questions as well. * Provide pull requests for all open issues and especially for those with help wanted and good first issue labels. All sort of contributions are welcome and extremely helpful Please refer to the contribution guide for more information. License Cube Client is MIT licensed. Cube Backend is Apache 2.0 licensed. FOSSA Status About Cube -- The Semantic Layer for Building Data Applications cube.dev Topics mysql rust bigquery sql presto hive microservice serverless analytics postgresql cube semantic-layer headless-bi Resources Readme License View license Code of conduct Code of conduct Security policy Security policy Stars 15.2k stars Watchers 150 watching Forks 1.5k forks Report repository Releases 819 v0.32.30 Latest Apr 28, 2023 + 818 releases Used by 436 * @bcExpt-1123 * @nelsonwhyu * @wzhiqing * @Amir-debuug * @sachinarbhat * @vitorvaske6 * @rvsreekanth-retisio * @Jake-0512 + 428 Contributors 269 * @paveltiunov * @ovr * @hassankhan * @vasilev-alex * @keydunov * @ilya-biryukov * @dependabot-preview[bot] * @buntarb * @rpaik * @igorlukanin * @MazterQyou + 258 contributors Languages * Rust 54.9% * TypeScript 33.6% * JavaScript 10.6% * Dockerfile 0.5% * ANTLR 0.3% * Handlebars 0.1% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.