nordstjernen-web/nordstjernen-sol-browser
关于
Nordstjernen Sol web browser. A open source web browser with dual GPL 3+ or NSL license, written from scratch in 2026.
效率与自动化可以做什么
- Text layout — desktop builds shape text with web-text-lib, a Pango fork in src/web-text-lib/ that caches shaped glyph strings and font metrics across layouts, so a run reaches HarfBuzz once instead of three times. Android uses the system Pango.
- Images and fonts — Wuffs decodes PNG/APNG, GIF, BMP, JPEG and simple WebP; libwebp handles extended (alpha and animated) WebP; ICO and SVG are rendered in-engine, SVG with SMIL animation; AVIF and JPEG XL are optional. PDFs open in a sandboxed PDF.js viewer. Web fonts load as TTF/OTF, WOFF and WOFF2.
- Web Audio and capture — AudioContext/OfflineAudioContext graphs are mixed in-engine by a simplified stereo renderer (no AudioWorklet); getUserMedia reaches the microphone and, on Linux, a V4L2 webcam, behind a per-site permission prompt.
- MathML — a minimalist presentation-MathML renderer for fractions, roots, scripts, under/over and tables, laid out inline on the text baseline.
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +5
- 1个月
- +32
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Nordstjernen web browser
Nordstjernen Sol is an independent web browser in C, started in 2026 and focused on modern HTML, CSS and JavaScript standards.
Windows: install Nordstjernen Web Browser from the Windows store.

Current release: 1.0.54 (December 2026) — see Changelog.md.
Download
| Platform | Download |
|---|---|
| Windows 10 (1809 or later), x64 | Microsoft Store |
| Android 14 or later (arm64, x86_64) | Google Play |
| macOS (Apple Silicon) | notarised .dmg on GitHub Releases |
| Debian 13, Ubuntu 26.04, Fedora 45 | .deb and .rpm packages and a portable Linux .zip on GitHub Releases |
| Other Linux (x86_64, glibc) | .AppImage on GitHub Releases |
| npm (Linux, macOS, BSD, Windows) | nordstjernen-browser, see below |
| Java/JVM | org.nordstjernen:nordstjernen-java on GitHub Packages (Maven) |
| Alpine (musl), Arch, FreeBSD, NetBSD | build from source — see docs/ |
Packaging scripts for .deb, AppImage, RPM, Alpine, the BSDs, the macOS
.dmg, MSIX and the Windows installer are in scripts/; the Arch PKGBUILD
is in packaging/arch/.
Install with npm
sudo npm install -g nordstjernen-browser
nordstjernen https://nordstjernen.org
Use sudo on Linux, macOS and the BSDs, where npm's global directory belongs
to root, but not on Windows. Apple Silicon Macs get the notarised release
build; everywhere else the package builds the release source against your
system's libraries (on Windows with MSYS2's UCRT64 toolchain) and first names
any build dependency that is missing. See npm/README.md.
Install with pip
pip install nordstjernen-browser
nordstjernen https://nordstjernen.org
The first nordstjernen run puts the browser in place the same way as the
npm package, in your user data directory; nordstjernen-install --remove
deletes it again. See pip/README.md.
Standards, security and size
Standards. Behaviour is measured against the spec text, section by
section, not against another browser. The walk-through of the in-scope WHATWG
HTML standard (§1–§16) in docs/HTML-compatibility.md
records 143 spec rows fully implemented, 29 partial, 0 absent (November 2026),
besides a handful of non-goals by design: embed/object plugins,
frame/frameset, applet/marquee, telemetry, and AI-style web APIs.
The shared test suites, run locally:
| Suite | Passing |
|---|---|
| The whole of WPT: all 40,472 testharness.js URLs (29 November 2026) | 1,653,664 of 2,170,980 subtests (76.2 %; 54.6 % without the encoding/ tables); 14,596 files pass in full |
| test262 on the QuickJS engine (the revision upstream QuickJS pins, November 2026) | 53,003 of 53,021 tests (18 known failures) |
Security. Each tab's engine runs in its own renderer process behind an IPC and shared-memory boundary. On Linux the renderer is sandboxed with seccomp and Landlock (the UI shell with Landlock); on macOS a Seatbelt profile confines its file writes to the profile, cache, download and temporary directories; on Windows it runs with process mitigation policies (forced ASLR, strict handle checks, restricted image loads, no child processes), and the browser drops administrator rights at start-up. The FreeBSD and NetBSD builds have no renderer sandbox yet. Neither the JavaScript nor the WebAssembly engine has a JIT, and each renderer's JavaScript heap is a 4 GB cage with guard regions, holding 32-bit offsets and no host pointers (docs/heap-hardening.md). about:nordstjernen shows which sandbox layers are active. See docs/security-model.md; to report a vulnerability, see SECURITY.md.
Minimalism. The browser is about 308,000 lines of project C and headers (about 285,000 for the engine without the GTK shell), excluding vendored libraries and generated assets — small enough for one person to read and audit end to end. docs/Software-Architecture.md maps the whole system.
Browser variants
| Browser | What it is | Downloads |
|---|---|---|
| Nordstjernen Sol (this repository) | the full browser: tabs in sandboxed renderer processes, builds for desktop and Android | |
| Northstar Web Browser | the GPL-only minimalist edition: one process, one page per window | |
| Southstar | this browser rewritten in Rust | |
| Weststar | a fork of Northstar on SDL instead of GTK, with its own rasterizer and text layout; runs on Linux and Windows, including Windows XP |

Browser features
- HTML and CSS — HTML is parsed by the project's own HTML5 parser, written in safe Rust; XHTML, SVG
and other XML documents go through an in-tree namespaced XML parser, and
JSON and XML responses are shown pretty-printed. The CSS engine covers the
modern cascade and CSSOM (
@layer,@scope, nesting,:has(),@property), Media Queries Level 4, size container queries, flex, grid (with partial subgrid), multi-column, sticky positioning, scroll snap, 2D and 3D transforms, filters, masks and blend modes, transitions, animations, scroll-driven animations, CSS Color 4/5 and anchor positioning. Not yet: sideways block flow in vertical writing modes, paintingclip-path: path()/shape(), and floats wrapping aroundshape-outside. See docs/CSS-compatibility.md. - Text layout — desktop builds shape text with web-text-lib, a Pango fork
in
src/web-text-lib/that caches shaped glyph strings and font metrics across layouts, so a run reaches HarfBuzz once instead of three times. Android uses the system Pango. - JavaScript — the QuickJS interpreter: an in-tree, heap-hardened fork of
Fabrice Bellard's QuickJS with
TemporalandIntlwithout ICU (docs/quickjs.md). It runs the DOM, Shadow DOM, custom elements (including customized built-ins andElementInternals), observer APIs, Canvas 2D (Path2D,ImageBitmap,DOMMatrix,OffscreenCanvas), WebCrypto over OpenSSL, the Navigation API,window.open()popups that message their opener, dedicated, module and shared Web Workers, Service Workers, Streams, IndexedDB over SQLite, WebSocket,EventSource, Web Animations, Fullscreen and Pointer Lock. Web Authentication (passkeys and security keys) works on Windows through Windows Hello; on other systems requests are rejected for now (docs/webauthn.md). Much of the higher-level Web API is a JavaScript prelude (data/js/polyfills.js) compiled into the binary. - Networking — HTTP/2 over libcurl with HSTS, HTTPS-First (on by
default), a Content Security Policy Level 2 subset, subresource integrity
for scripts, CORS, mixed-content blocking, Permissions Policy, Fetch
Metadata headers, compression dictionary transport (RFC 9842), cookies
partitioned by top-level site (third-party cookies blocked by default),
speculative subresource loading and a
Vary-aware HTTP cache. HTTP, HTTPS and SOCKS proxies (docs/Proxy.md) and DNS-over-HTTPS are configurable. - Images and fonts — Wuffs decodes PNG/APNG, GIF, BMP, JPEG and simple WebP; libwebp handles extended (alpha and animated) WebP; ICO and SVG are rendered in-engine, SVG with SMIL animation; AVIF and JPEG XL are optional. PDFs open in a sandboxed PDF.js viewer. Web fonts load as TTF/OTF, WOFF and WOFF2.
- Media —
<video>plays inline: MPEG-1 decoded in-tree by pl_mpeg, WebM and Ogg (VP9, VP8, Theora, Opus, Vorbis) through FFmpeg's libav, and MP4 with H.264/AAC through the operating system's decoders (Media Foundation, VideoToolbox, MediaCodec, GStreamer), never a bundled one, using the GPU where available. MSE andblob:streaming, HLS and DASH through a built-in MSE player, and WebVTT<track default>subtitles work.<audio>plays MP3 and, with libav, WebM, Ogg, Opus, FLAC and WAV. All audio plays through a separatenordstjernen-audiohelper over SDL3. See docs/media.md. - Web Audio and capture —
AudioContext/OfflineAudioContextgraphs are mixed in-engine by a simplified stereo renderer (noAudioWorklet);getUserMediareaches the microphone and, on Linux, a V4L2 webcam, behind a per-site permission prompt. - WebGL, WebGPU and WebAssembly — WebGL 1/2, on by default (WebGL 1 only
on macOS, over OpenGL 4.1; docs/webgl.md); experimental
navigator.gpuover wgpu-native, on by default and switchable in Settings (docs/webgpu.md); the core WebAssembly JS API (MVP, reference types, bulk memory, SIMD, threads with shared memory, and exception handling) on the WAMR interpreter (docs/webassembly.md). - MathML — a minimalist presentation-MathML renderer for fractions, roots, scripts, under/over and tables, laid out inline on the text baseline.
- Process per tab — the GTK app is a thin shell that composites the
shared-memory tiles each tab's sandboxed
nordstjernen-rendererpaints and forwards input over an HTTP/JSON control channel, so a page can't take down the UI (docs/security-model.md).--single-processlimits the browser to one tab and one renderer process (docs/single-process-mode.md). A watchdog restarts the browser after a crash or hang and reopens its tabs (docs/watchdog.md). - Privacy — no telemetry or update pings. HTTPS-First, stripping of
tracking parameters (
utm_*,gclid,fbclid, …) and blocking of third-party cookies are on by default; Do Not Track and Global Privacy Control are opt-in. Safe browsing blocks known phishing and malware sites with Google Safe Browsing and a local blocklist (see Google Safe Browsing). Private tabs (Ctrl+Alt+P) and--privatewindows leave no cookies, HTTP cache or IndexedDB data behind (docs/privacy-policy.md). - UI — tabs, bookmarks, history, downloads, find-in-page, zoom, full
screen, a chromeless
--kioskwindow, light/dark/system themes,view-source:, printing and saving as PDF or PNG, Developer Tools (Console, Network, Performance, Layout and Elements), a Task Manager (Shift+Esc), recovery of open tabs after a crash, optional spell checking through Enchant, and a C embedding API (docs/Embedding.md). The UI follows the operating-system language: 40 catalogues translate the browser's name and 13 also cover the core interface (docs/i18n.md). - Automation —
--headlesswith--dump=text|dom|layout|png:FILE|pdf:FILE,--eval=and--viewport=drives the engine from scripts (nordstjernen --helplists the options).nordstjernen --mcpis a built-in MCP server that lets a local agent read and drive the browser window; it is off until allowed in Settings or with--remote-control, loopback only and token-authenticated (docs/remote-control.md).nordstjernen --webdriverserves the W3C WebDriver protocol for Selenium, WebdriverIO and other test frameworks, one sandboxed renderer per window (docs/webdriver.md). - Extensions — initial support for simple, page-facing WebExtensions:
content scripts, a slice of
browser.*, and content blocking through staticdeclarativeNetRequestrules and Adblock Plus/EasyList filter lists (docs/extensions.md). - Java/JVM —
org.nordstjernen.Nordstjernendrives the engine from Java over JNI, orRemoteBrowser/RemotePagedrive a separate renderer process so an engine crash can't take down the JVM. The fat jar is also a Swing browser (java -jar nordstjernen-java.jar <url>); JDK 21 is required. See java/README.md.
Google Safe Browsing
Nordstjernen warns before opening a site that Google Safe Browsing lists as phishing, malware or unwanted software, checking every navigation and redirect.
- Private by design. Google's hash-prefix lists are kept on your device. Only a 4-byte hash prefix is sent to Google, and only when an address matches one, never the address itself.
- On by default. Turn it off under Settings → Privacy → "Block dangerous sites". about:nordstjernen shows its status and list sizes.
- Builds without a key (
NS_SAFE_BROWSING_API_KEYat compile time) use only the local blocklist: the list shipped with the browser plus your own~/.config/nordstjernen/safebrowsing.list.
Build
On Debian and Ubuntu, apt build-dep . installs everything
debian/control lists, so no optional feature (AVIF, JPEG XL, H.264 video,
spell checking, PDF) is silently left out:
sudo apt install git
git clone https://github.com/nordstjernen-web/nordstjernen-sol-browser.git
cd nordstjernen-sol-browser
sudo apt build-dep .
meson setup builddir && meson compile -C builddir
./builddir/src/gtk/nordstjernen
Windows, Fedora, openSUSE, Arch Linux and macOS instructions are in docs/; keyboard, mouse and touch controls are in docs/Controls.md.
Nordstjernen is an independent engine with no upstream browser code. A
build needs a C compiler, rustc 1.100 or newer, meson, GTK 4 and libcurl
8.11 or newer, among others; docs/Dependencies.md
lists every vendored, downloaded, required and optional library with its
minimum version and build switch.
meson install also installs open-browser-nordstjernen, a link to
nordstjernen. The .deb and .rpm packages register it with
update-alternatives, and on Windows the installer and the MSIX package
register it as a command alias. It replaces the old internet-browser name.
License
Nordstjernen is dual-licensed: use it under either the Nordstjernen
Source License v1.0 or the GNU General Public License version 3 or later,
at your option (LicenseRef-NSL-1.0 OR GPL-3.0-or-later).
- GPL-3.0-or-later — free software: use, modify and redistribute it for any purpose, provided derivative works are also released under the GPL. See COPYING.
- NSL-1.0 — use, modify and redistribute freely, except as a competing browser; each release becomes MIT after ten years. It is inspired by the Functional Source License.
See License.md for the full terms. Commercial licenses by agreement. Bundled third-party components keep their own licenses (THIRD-PARTY-LICENSES.md).
Development team
Nordstjernen is developed by a team located in Norway, Poland and Spain.
Project home: https://nordstjernen.org
Builds

Copyright 2026 Andreas Røsdal
探索相关项目
加载中…