Files
adlee-was-taken ef5a9ce9cb Add per-channel hybrid audio spread spectrum and env feature toggles
Spread spectrum v2: independent per-channel embedding with round-robin
bit distribution, preserving spatial stereo/surround mix. Adaptive chip
tiers (256/512/1024) trade capacity for lossy codec robustness. LFE
channel skipped for 5.1+ layouts. v2 header (20B) with backward-
compatible v0 decode fallback.

Environment toggles (STEGASOO_AUDIO, STEGASOO_VIDEO) gate audio/video
features for minimal builds (e.g. Raspberry Pi image-only). Values:
auto (default, detect deps), 1/true (force on), 0/false (force off).

Web UI fixes: accordion defaults to step 1 on load, chevron arrow
styling, required attribute toggling for audio carrier type switch,
"Images & Mode" renamed to "Reference, Carrier, Mode".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:58:40 -05:00
..
2026-01-11 23:23:05 -05:00
2026-01-11 18:13:26 -05:00

Stegasoo API AUR Package

REST API server package for programmatic steganography operations. Includes HTTPS support and API key authentication.

Installation

From AUR (once published)

yay -S stegasoo-api-git
# or
paru -S stegasoo-api-git

Manual build

git clone https://aur.archlinux.org/stegasoo-api-git.git
cd stegasoo-api-git
makepkg -si

What Gets Installed

  • /opt/stegasoo-api/venv/ - Self-contained Python venv with API dependencies
  • /opt/stegasoo-api/config/ - API key storage
  • /opt/stegasoo-api/certs/ - TLS certificates
  • /usr/bin/stegasoo - CLI executable
  • /usr/lib/systemd/system/stegasoo-api.service - Systemd service

Quick Start

# 1. Create an API key
sudo -u stegasoo stegasoo api keys create mykey

# 2. Start the service
sudo systemctl enable --now stegasoo-api

# 3. Test the API
curl -k -H "X-API-Key: YOUR_KEY" https://localhost:8000/

Service Details

Setting Value
Port 8000
Protocol HTTPS (self-signed cert auto-generated)
API Docs https://localhost:8000/docs
OpenAPI https://localhost:8000/openapi.json

API Key Management

# List all keys
stegasoo api keys list

# Create a new key
sudo -u stegasoo stegasoo api keys create <name>

# Revoke a key
sudo -u stegasoo stegasoo api keys revoke <name>

TLS Configuration

# View current certificate info
stegasoo api tls info

# Generate new self-signed certificate
sudo -u stegasoo stegasoo api tls generate

# Use custom certificates (edit service)
sudo systemctl edit stegasoo-api
# Add:
# [Service]
# ExecStart=
# ExecStart=/opt/stegasoo-api/venv/bin/stegasoo api serve \
#     --host 0.0.0.0 --port 8000 \
#     --cert /path/to/cert.pem --key /path/to/key.pem

Manual Run (without systemd)

# Development mode (auto-reload)
/opt/stegasoo-api/venv/bin/stegasoo api serve --reload

# Production mode
/opt/stegasoo-api/venv/bin/stegasoo api serve --host 0.0.0.0 --port 8000

For Web UI

Install the full package instead:

yay -S stegasoo-git

Maintainer

Aaron D. Lee