Skip to content
SporaDevPublic

About

Package manager and module signing tool for SpermaCore native C++20 plugins

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

scpkg

Go Version License Registry Ed25519

Modern, zero-dependency package manager and cryptographic signing tool for SpermaCore native C++20 modules.


Key Features

  • Zero external dependencies: Built entirely on Go standard library.
  • Cryptographic Signatures: Ed25519 canonical manifest signing protecting against malicious code execution.
  • Central Registry: Integrates seamlessly with scpkg-mainrepo.
  • One-Command Publishing: scpkg publish signs and deploys your plugin directly to the cloud.
  • Safety Guard: Unobtrusive warnings before loading unverified community code.
  • Full Lifecycle: init, build, pack, publish, update, delete, and doctor.

Quickstart

1. Installation

Download pre-built binary from releases or build from source:

git clone https://github.com/SporaDev/scpkg.git
cd scpkg
go build -o build/scpkg.exe .

2. First Run & Bootstrap

# Auto-detects SpermaCore root and sets up configuration
scpkg bootstrap

3. Managing Modules

# Install module by name from registry
scpkg install telegram
scpkg install websearch

# Update modules
scpkg update telegram
scpkg update

# Delete module
scpkg delete moderation -y

# Diagnose system and audit signatures
scpkg doctor

Creating & Publishing Modules

# 1. Generate template
scpkg init my_cool_module

# 2. Write your C++ code in my_cool_module/src/
# and configure my_cool_module/about.toml

# 3. Test compilation
scpkg build my_cool_module

# 4. Publish in one command
scpkg publish ./my_cool_module

Security & Verification

Native C++ modules share memory space with the host runtime. scpkg enforces Ed25519 canonical manifest signatures (module.sig) to guarantee code authenticity:

# Verify module integrity
scpkg verify modules/telegram

# Generate your own developer keypair
scpkg keygen

License

BSD-2-Clause License. Part of the SporaDev ecosystem.

About

Package manager and module signing tool for SpermaCore native C++20 plugins

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages