How iamajmeena/neonclipping works
NeonClipping is a local video-to-short-clips application. A user imports a YouTube, Twitch, or Kick link (or an MP4), configures clip options, and starts a job in the browser. The server obtains source media and captions, discovers and curates moments, then renders vertical clips with captions and layouts for preview and download. Separate capabilities support live clipping, transcript exploration, saved-clip editing, and learned ranking preferences. The graph follows documented workflows and indexed imports; unsampled implementation details and some browser-to-server wiring are not asserted beyond README evidence.
Main entry points: standalone.py Job runtime · app.js Studio UI · ytdl.py Source fetching · app.py Local API
Components 25
User interface
- Studio UI
app.js - Local API
app.py - Source previews
previews.py
Clip workflow
- Job runtime
standalone.py - Moment signals
highlights.py - Moment curation
smart.py - Ranking preferences
learn.py
Media and captions
- Source fetching
ytdl.py - Caption sources
captions_yt.py - Local speech
captions.py - Transcript tools
transcripts.py - Hinglish conversion
translit.py
Export and editing
- Clip rendering
encoders.py - Video layouts
layouts.py - Caption styling
styling.py - Subtitle export
subtitles.py - Opening headings
hooks.py - Saved-clip editing
reedit.py
Additional features
- Live clipping
live/live_clip.py - Live sessions
live_session.py - Facecam detection
facecam_detect.py - Problem reporting
report.py
Other components
- Creator
- Local Ollama
- Video sources
Connections 27
- Creator → Studio UI: configures and starts
README.md - Studio UI → Local API: requests clip jobs
README.md - Local API → Job runtime: delegates workflow
app.py - Job runtime → Source fetching: downloads media
standalone.py - Video sources → Source fetching: provides video
README.md - Local API → Source previews: prepares previews
app.py - Job runtime → Moment signals: analyzes media
standalone.py - Job runtime → Moment curation: ranks candidates
smart.py - Moment curation → Moment signals: uses signal scores
smart.py - Moment curation → Ranking preferences: applies learned weights
smart.py - Job runtime → Caption sources: reads source captions
app.py - Job runtime → Local speech: transcribes when needed
README.md - Local speech → Hinglish conversion: converts Hindi words
captions.py - Job runtime → Clip rendering: exports selected clips
README.md - Job runtime → Video layouts: applies framing
README.md - Job runtime → Caption styling: styles output
README.md - Job runtime → Subtitle export: exports subtitle files
README.md - Studio UI → Transcript tools: explores transcripts
README.md - Transcript tools → Source fetching: reuses source retrieval
transcripts.py - Studio UI → Saved-clip editing: edits saved clips
README.md - Studio UI → Opening headings: requests heading suggestions
hooks.py - Opening headings → Local Ollama: requests local suggestions
hooks.py - Studio UI → Live sessions: starts live sessions
README.md - Live sessions → Source fetching: fetches stream media
live_session.py - Studio UI → Live clipping: clips live video
README.md - Studio UI → Facecam detection: configures facecam
README.md - Studio UI → Problem reporting: reports problems