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 persistent install for repeated Codex use:
pipx install "shortform-ai[local-transcribe]"
~/.local/bin/shortform-ai doctor
If the app is already installed with pipx:
pipx upgrade shortform-ai
pipx inject --force shortform-ai "shortform-ai[local-transcribe]"
Homebrew remains a good system install path once the formula is wired:
brew install shortform-ai
For one-off venv tests, use Python 3.12+ explicitly:
python3.12 -m venv .venv-shortform-ai
.venv-shortform-ai/bin/python -m pip install --upgrade pip
.venv-shortform-ai/bin/python -m pip install "shortform-ai[local-transcribe]" yt-dlp
Optional local transcription is available with faster-whisper:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shortform_ai-0.1.5.tar.gz.
File metadata
- Download URL: shortform_ai-0.1.5.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9290063c9faf791a042494ee8abb86c0dcb98c89b9e4556b1c7413497e185faf
|
|
| MD5 |
d58165452c12361d5bca291c2dc3aece
|
|
| BLAKE2b-256 |
33d9834b12719dafa66ff8bd3e781aca8c152cf95d0dbc1b05b47355f87db1fd
|
Provenance
The following attestation bundles were made for shortform_ai-0.1.5.tar.gz:
Publisher:
release-shortform-ai.yml on intelc/content-ai-pipeline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shortform_ai-0.1.5.tar.gz -
Subject digest:
9290063c9faf791a042494ee8abb86c0dcb98c89b9e4556b1c7413497e185faf - Sigstore transparency entry: 1636872080
- Sigstore integration time:
-
Permalink:
intelc/content-ai-pipeline@3c133ee45d87f75fbd1ee26dabf2a826312d5d84 -
Branch / Tag:
refs/tags/shortform-ai-v0.1.5 - Owner: https://github.com/intelc
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-shortform-ai.yml@3c133ee45d87f75fbd1ee26dabf2a826312d5d84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file shortform_ai-0.1.5-py3-none-any.whl.
File metadata
- Download URL: shortform_ai-0.1.5-py3-none-any.whl
- Upload date:
- Size: 29.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5df1f3d938f4b54e3acadd702415923798a9b035091945f8dea4420dc9a12a59
|
|
| MD5 |
ea0abf001da1f57219cb84d929796521
|
|
| BLAKE2b-256 |
40f36badbedfd3c8f8a6c0aba6c12e05bca2197c5ce25b26b9aaf6bb7e452ca9
|
Provenance
The following attestation bundles were made for shortform_ai-0.1.5-py3-none-any.whl:
Publisher:
release-shortform-ai.yml on intelc/content-ai-pipeline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shortform_ai-0.1.5-py3-none-any.whl -
Subject digest:
5df1f3d938f4b54e3acadd702415923798a9b035091945f8dea4420dc9a12a59 - Sigstore transparency entry: 1636872231
- Sigstore integration time:
-
Permalink:
intelc/content-ai-pipeline@3c133ee45d87f75fbd1ee26dabf2a826312d5d84 -
Branch / Tag:
refs/tags/shortform-ai-v0.1.5 - Owner: https://github.com/intelc
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-shortform-ai.yml@3c133ee45d87f75fbd1ee26dabf2a826312d5d84 -
Trigger Event:
push
-
Statement type: