Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

CesiumGS/cesium

Developer ToolsFrontend

A WebGL JavaScript library for building interactive 3D globes, terrain and 2D maps in the browser.

16,018
3,911
JavaScript
Apache-2.0
14 years old

What it is

CesiumJS is an open-source JavaScript library for rendering 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics and targets dynamic-data visualization on desktop and mobile. Built on open formats, it is designed for interoperability and large datasets, with support for 3D Tiles, terrain, imagery and glTF-style content (1).

The audience is developers building geospatial web applications: mapping products, visualization dashboards, simulation and analysis tools. The library ships as the cesium npm package and as the scoped packages @cesium/engine (core rendering and data APIs) and @cesium/widgets (17), (18), (19).

Quick start

With a bundler such as Webpack, Parcel or Rollup, install the package and import the modules you need:

npm install cesium --save
import { Viewer } from "cesium";
import "cesium/Build/Cesium/Widgets/widgets.css";

const viewer = new Viewer("cesiumContainer");

The above requires an HTML element with id cesiumContainer. Importing individual modules allows tree shaking in most build tools. For a pre-built copy without a bundler, use the downloads page (16). Next steps are covered in the quickstart guide (20), and interactive examples are available in Sandcastle (11).

Content sources and hosting

CesiumJS can stream terrain, imagery and 3D Tiles from the commercial Cesium ion platform or from other standards-based online or offline services. Ion is offered as the quickest option, but it is optional and you can combine content sources as needed (25). Instructions for serving local data are in the offline guide (21).

Constraints

WebGL is required, and the project is tuned for browser rendering rather than native or server-side rendering. Serving your own offline data requires the additional setup described in the offline guide. Cesium ion is a commercial subscription with its own account and terms, separate from the library. The library is Apache-2.0 licensed and free for commercial and non-commercial use (23).

HotRepo's take

On the 2026-12-05 JavaScript daily list, CesiumJS recorded 3 new stars and reached position 2 for that day (1). That is a single-snapshot fact, not evidence of a trend; the project is a long-running, well-established library (created in 2012) rather than a new entrant. For readers, the relevant signal is maturity: stable package boundaries (@cesium/engine, @cesium/widgets) and documented content-loading options make it a practical base for geospatial web work.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

Hacker News

You might also like

  1. bilawalsidhu/gods-eye-viewA browser globe that overlays live aircraft, ships, satellites, cameras and quakes on real maps for public-data explorers.JavaScript60,211
  2. mrdoob/three.jsGeneral-purpose 3D rendering library for browser-based graphics, from product viewers to generative art, without a game engine.JavaScript116,873
  3. Moh4696/inkworks-skillAn agent skill that builds interactive 3D how-it-works pages of machines, styled like engineering drawings.JavaScript128
  4. greensock/GSAPFramework-agnostic JavaScript animation library for animating CSS, SVG, canvas and WebGL in any major browser.JavaScript30,007
  5. jquery/jqueryA fast, small, cross-browser JavaScript library for DOM traversal, event handling, and Ajax.JavaScript59,952