Skip to main content

Local-first CLI for short-form video and creator analysis

Project description

shortform-ai

Local-first CLI for short-form video and creator analysis.

Recommended install paths:

brew install shortform-ai
# or
pipx install shortform-ai

Optional local transcription is available with faster-whisper:

pipx inject shortform-ai "shortform-ai[local-transcribe]"
# or, inside a venv:
pip install "shortform-ai[local-transcribe]"

shortform-ai analyze defaults to --transcribe auto. It uses OpenAI transcription when OPENAI_API_KEY is configured; otherwise it uses local faster-whisper when the optional extra is installed. The default local model is base, which downloads a model cache on first use. Use --transcribe-model small for better local accuracy.

Analysis requires a real transcript. If neither OpenAI transcription nor local faster-whisper is available, analyze stops with setup instructions instead of producing a transcript-free strategy pass.

For one-prompt Codex workflows, use the bootstrap command after installing the package:

shortform-ai bootstrap analyze <instagram-url-or-file> --instagram-from-chrome

It installs/updates the Codex skill, optionally imports the user's own Chrome Instagram session, runs analysis, fetches Instagram comments when possible, and writes bootstrap.json beside the analysis artifacts.

For Instagram reel URLs with local Instagram auth configured, analysis also writes safe audio attribution metadata to media.json and reel.json, including named background music or original-audio title when Instagram exposes it.

Development usage from this monorepo:

PYTHONPATH=packages/content-ai-runtime python3 -m content_ai_runtime.cli doctor

The CLI reads a user's own local Instagram Chrome session only after an explicit shortform-ai auth instagram --from-chrome command. Session values are redacted from output and are stored in local secure storage when available.

content-ai remains available as a backwards-compatible command alias.

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

shortform_ai-0.1.4.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

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

shortform_ai-0.1.4-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file shortform_ai-0.1.4.tar.gz.

File metadata

  • Download URL: shortform_ai-0.1.4.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for shortform_ai-0.1.4.tar.gz
Algorithm Hash digest
SHA256 18a7056cf5abc60be42e1928f2769a4d35d672ac4c0ecc18253ef7aa2b8aa39d
MD5 247ebd3a515ed3189319d42973b8eaee
BLAKE2b-256 fc5720cd3fbdf0b7b099819d64fe0ca5890724134e83ef7a83051e86e69d360e

See more details on using hashes here.

Provenance

The following attestation bundles were made for shortform_ai-0.1.4.tar.gz:

Publisher: release-shortform-ai.yml on intelc/content-ai-pipeline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shortform_ai-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: shortform_ai-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for shortform_ai-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 edd1cf7c64d35b853199b64179396d54beab139837625a34ba782bb44fb968a4
MD5 4a8f1b18d021d3a234a274a57ed6e28e
BLAKE2b-256 3c3510d426994e57a812f16a3515a3416954ba3bb107a227bb7b59ba73e9fc51

See more details on using hashes here.

Provenance

The following attestation bundles were made for shortform_ai-0.1.4-py3-none-any.whl:

Publisher: release-shortform-ai.yml on intelc/content-ai-pipeline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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