• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Valian / live_vue / 010464b562af4aab5d9e0f7eac062268bbdae58e
80%

Build:
DEFAULT BRANCH: main
Ran 08 Mar 2026 10:16PM UTC
Jobs 1
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Mar 2026 10:16PM UTC coverage: 80.374% (-1.8%) from 82.169%
010464b562af4aab5d9e0f7eac062268bbdae58e

push

github

web-flow
Add LiveVue.SSR.QuickJS — embedded SSR without Node.js (#125)

* Add LiveVue.SSR.QuickJS — embedded SSR without Node.js

Add a new SSR module that runs JavaScript inside the BEAM via quickjs_ex
NIF. Polyfills Node.js/browser globals (Buffer, atob/btoa, window, etc.)
and rewrites Vite SSR bundle imports/exports for plain script evaluation.

quickjs_ex is an optional dependency — existing NodeJS-based SSR is
unaffected.

* Extract BundleAdapter, remove dunder methods

* Simplify QuickJS SSR with quickjs_ex 0.1.1

quickjs_ex now provides built-in atob/btoa, Buffer, and export handling,
so the Elixir-side BundleAdapter is no longer needed. The SSR module is
now just polyfills for browser globals + eval the bundle.

Add stubNodeBuiltins Vite plugin to replace Node.js built-in imports
(fs, path, node:stream) with stubs at build time.

* Use quickjs_ex 0.2.0 with built-in browser stubs

Drop all manual polyfills — quickjs_ex now provides TextEncoder/TextDecoder,
Buffer, console, and browser globals (window/document/navigator/process/etc.)
out of the box via browser_stubs: true.

* Use load_module/3 instead of eval/2 for SSR bundle loading

Loads the SSR bundle as an ES module via load_module/3, which directly
promotes named exports to globalThis. This eliminates the need to swallow
JSON serialization errors from eval/2 on module namespace objects.

Also bumps quickjs_ex to ~> 0.3.0 which ships precompiled NIF binaries
(no Rust toolchain needed).

3 of 13 new or added lines in 1 file covered. (23.08%)

344 of 428 relevant lines covered (80.37%)

40.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
23.08
lib/live_vue/ssr/quick_js.ex
Jobs
ID Job ID Ran Files Coverage
1 010464b562af4aab5d9e0f7eac062268bbdae58e.1 08 Mar 2026 10:16PM UTC 11
80.37
GitHub Action Run
Source Files on build 010464b562af4aab5d9e0f7eac062268bbdae58e
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 010464b5 on github
  • Prev Build on main (#44D27A65...)
  • Next Build on main (#418CB1B2...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc