SocialPublishKit
One video. Four destinations. Python, JavaScript, Rust.
Publish MP4 videos through official platform APIs. The Python SDK includes the adapters and a local gateway. JavaScript/TypeScript and Rust connect to that gateway. No publishing subscription or Algovid installation required. Bring your own developer apps, accounts and approved permissions.
| Destination | Support |
|---|---|
| Facebook Pages | Video Reels. Personal profiles unsupported |
| Instagram professional accounts | Reels through Instagram Unified Login |
| TikTok | Draft uploads. Direct posting subject to app approval and user consent |
| YouTube | Video uploads. Visibility and Shorts eligibility remain platform-controlled |
Version 0.1.1. See release notes and downloads for registry availability and verified package archives.
Install
Registry package name: socialpublishkit in all three ecosystems. Once the release is available:
pip install socialpublishkit
npm install socialpublishkit
cargo add socialpublishkit
JavaScript and Rust require the Python gateway running on your host. Provider credentials and app approval are still required. Downloadable archives can also be installed locally with pip, npm, or a Cargo path dependency.
Get started from source
git clone https://github.com/caporalCoder/socialpublishkit.git
cd socialpublishkit
python3 -m venv .venv
source .venv/bin/activate
pip install .
cp examples/gateway.json gateway.local.json
Configure your account in gateway.local.json, set its credential environment variables, then
start the gateway. Setup, token refresh and OAuth →
export SOCIALPUBLISHKIT_TOKEN="$(python3 -c 'import secrets; print(secrets.token_urlsafe(32))')"
python -m socialpublishkit --config gateway.local.json
Python client:
import os
from socialpublishkit import GatewayClient
client = GatewayClient(os.environ["SOCIALPUBLISHKIT_TOKEN"])
print(client.accounts())
JavaScript client (install with npm install /path/to/socialpublishkit/sdks/javascript):
import { SocialClient } from 'socialpublishkit';
const client = new SocialClient({ token: process.env.SOCIALPUBLISHKIT_TOKEN });
console.log(await client.accounts());
Rust dependency:
socialpublishkit = { git = "https://github.com/caporalCoder/socialpublishkit.git", tag = "v0.1.1" }
Publishing examples in all three languages →
Behavior
- Durable job receipts and duplicate protection for identical publication IDs.
- No automatic repost after an ambiguous result. Query the receipt and check the destination.
- Credentials stay in the Python host. Clients receive account IDs and publication status.
- The gateway binds to localhost, requires authentication and accepts videos up to 32 MiB.
- No hosted service, scheduler or platform-review bypass. See limits.
Python 3.10+, Node.js 20+, Rust 1.98.0 tested. The gateway supports macOS/Linux. Tests use fake providers. Passing tests does not certify app approval or live platform behavior.
License
MIT. Free to use, modify and redistribute, including commercially, with the copyright and license notices preserved. Dependencies retain their own licenses.
Metadata
Release files for socialpublishkit 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| socialpublishkit-0.1.1.tar.gz | 36.2 kB | With provenance | Details for socialpublishkit-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| socialpublishkit-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for socialpublishkit-0.1.1-py3-none-any.whl |
Total release size: 62.4 kB
Security for socialpublishkit 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release files / socialpublishkit-0.1.1.tar.gz
How to use checksums
b63d83f35af138af6e01341621526d6ea7e9fb2b4619665b9d92313e72a6a19eHow to use checksums
da49e1a454ecf6839ad22a585e6c86760ee34e7f04223fbc372c2ce4fa672ca0What is trusted publishing?
twine/7.0.0 CPython/3.13.16Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logIdentity
Workflow
Artifact
socialpublishkit-0.1.1.tar.gzb63d83f35af138af6e01341621526d6ea7e9fb2b4619665b9d92313e72a6a19eVerifying attestations