Skip to main content

onmynod — command line

Upload videos and post them to YouTube, Instagram, Facebook and TikTok from a terminal, a script or an AI agent (Claude Code, Codex…). It uses an OnMyNod API key.

Install

From a checkout of this repository:

uv tool install ./cli            # or: pipx install ./cli

Once the package is published to PyPI: uv tool install onmynod (or pipx install onmynod).

Releasing: bump version in pyproject.toml, then run Actions → publish-cli on product (.github/workflows/publish-cli.yml, PyPI Trusted Publishing; no token is stored).

Sign in

An admin creates a key in Settings → API keys. New keys hold every post they create for approval; an admin approves it on the Approvals page before anything is published.

onmynod login                    # paste the key; saved to ~/.config/onmynod/config.json (owner-only)
onmynod whoami

In CI or for an agent, set ONMYNOD_API_KEY instead (and ONMYNOD_URL for another server). A saved key is only ever sent to the address it was saved for.

Post

onmynod accounts
onmynod post clip.mp4 --to youtube --to @mybrand --title "Launch" --text "Out now" \
    --option privacy=public --at 2026-12-24T18:00 --dry-run      # check first: nothing is created
onmynod post clip.mp4 --to youtube --title "Launch" --text "Out now" --option privacy=public --wait
onmynod status POST_ID

--to takes an account id, its name, its @handle, or a platform name when that platform has one account. --at without an offset is this computer's local time. --option NAME=VALUE sets a platform option (YouTube privacy, TikTok privacy_level, …) for every account in the post.

Other commands: upload, media, posts --view approval|open|done, reschedule POST WHEN, cancel POST, retry POST TARGET, events --post POST, logout. Add --json to any command for machine-readable output; --lang tr|es|de|ar translates the server's messages.

Exit codes: 0 done, 1 the server refused or a delivery failed, 2 wrong usage or not signed in.

Metadata

Release files for onmynod 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onmynod 0.1.0
File Size Uploaded Provenance Actions
onmynod-0.1.0.tar.gz 8.8 kB Without provenance Details for onmynod-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for onmynod 0.1.0
File Interpreter ABI Platform Actions
onmynod-0.1.0-py3-none-any.whl Python 3 none any Details for onmynod-0.1.0-py3-none-any.whl

Total release size: 19.6 kB

Release files / onmynod-0.1.0.tar.gz

Download URL onmynod-0.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5ea191aed6c61b54f8e3b8d50b75a70fb8db3a76c662a23f9a4779f2092c4b02
BLAKE2b-256 checksum
How to use checksums
2b92e43b4d8dd8b2f9de5ae41c5a3296c6e98aac31d0141c87e24a1f46ee7d13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.13 {"installer":{"name":"uv","version":"0.13.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / onmynod-0.1.0-py3-none-any.whl

Download URL onmynod-0.1.0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e08b525cb5f9d27c5c5f730bc3444faa17f50b6961dadc4e0aa7a4a0917bdb2
BLAKE2b-256 checksum
How to use checksums
8ef3fa9db5ef0534d777279b8f75632335dac1842c21905ce965dd1104f14a4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.13 {"installer":{"name":"uv","version":"0.13.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for onmynod 0.1.0

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.

No provenance found

None of the files in this release were 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 history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page