Skip to main content

Extractor for Superpack archives used by Android applications

Project description

Superpack

A lightweight wrapper around Facebook's Superpack runtime used to extract files from Superpack archives (".spk", ".spo", and related formats).

Overview

Many Meta applications such as Instagram Lite, Facebook Lite, Messenger Lite, and other Android applications may package native libraries and assets using Superpack archive formats.

This project provides a simple command-line interface and Python API that automate the extraction process by invoking the bundled Java runtime and Superpack native library.

Features

  • Extract ".spk" archives
  • Extract ".spk.xz" archives
  • Python API support
  • Command-line interface
  • Automatic Java detection
  • ARM64 support
  • Termux-friendly
  • Works with archives containing one or multiple files

Installation

Install the package:

pip install .

or

pip install superpack

Usage

Command Line

Extract an archive:

superpack libs.spk

Specify output directory:

superpack -i libs.spk -o output

Show help:

superpack --help

Python API

import superpack

superpack.extract("libs.spk")

Custom output directory:

import superpack

superpack.extract( "libs.spk", output="output" )

Supported Environments

  • Android (Termux)
  • Linux ARM64 (aarch64)

Notes

This project is intended for research, reverse engineering, compatibility testing, and archive inspection.

The package itself does not modify application behavior and only extracts files from supported Superpack archives.

Disclaimer

Instagram, Facebook, Messenger, Meta, and related trademarks belong to their respective owners. This project is an independent utility and is not affiliated with, endorsed by, or sponsored by Meta.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superpack-1.0.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superpack-1.0.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file superpack-1.0.0.tar.gz.

File metadata

  • Download URL: superpack-1.0.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for superpack-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f3ddc9b58eb8002bcf8c566aaf5acf928a2edcbf46e3988551e85f406fb0bc90
MD5 951bd71927daf89069c3d7b20f4783a1
BLAKE2b-256 e1d86b77b973538d7e9f536da0184eb8f29b551ff2649aaa2005ac10887dfcc1

See more details on using hashes here.

File details

Details for the file superpack-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: superpack-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for superpack-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6aa36a08dd5d46835ec7dd27459368b32dbda1328290a52339046dd655802ed
MD5 6031b48ea93ca33b829fb12a93d921bd
BLAKE2b-256 57a2940f6d312bb1fab9efb0187efbc8011e48057957d1bfcfae2e6981a8bb02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page