Skip to content

Instantly share code, notes, and snippets.

View rxri's full-sized avatar

ririxi rxri

View GitHub Profile
@rxri
rxri / spicetify_v8_explanation.md
Last active April 24, 2025 12:08
Technical explanation of V8 Snapshot in Spotify

Hi fellow reader,

I'm ririxi, core maintainer of spicetify. Some people asked me to do a technical explanation of what spotify shipped with macOS Intel versions. This would be my first time writing a post like this, so I apologize for any inscriptions.

What is V8 context snapshot?

Spotify under the hood uses CEF (Chromium Embedded Framework) which is a framework around chromium, essentially electron but for C++. Chromium uses a V8 which is a Javascript engine created by Google. V8 can generate serialized representation (bytecode) of the V8 engine's heap. It contains pre-initialized JavaScript objects and functions.

@rxri
rxri / keybase.md
Created May 26, 2021 07:00
Keybase proof

Keybase proof

I hereby claim:

  • I am ririxidev on github.
  • I am ririxichan (https://keybase.io/ririxichan) on keybase.
  • I have a public key ASAKbp9X9f_Ups20omrvg4o5tWUMN53gOvAsNi4QdjXATQo

To claim this, I am signing this object: