How starlock/vino works
Vino is a Flask app for browsing popular Vine videos or videos under a tag, plus a reusable Vine API client. The main flow renders the wall, fetches paged JSON through the app’s API routes, retrieves timeline records from Vine, and displays and rotates videos in the browser. The README and sampled source support these features; template internals and frontend wiring beyond the sampled JavaScript are not shown.
Main entry points: app.py JSON API routes · vine.py Vine client · vino.js Wall renderer · tag.html Wall template
Components 10
Web application
- Page routes
app.py - Wall template
templates/tag.html - JSON API routes
app.py - Cache wrapper
app.py
Browser wall
- Wall renderer
static/js/vino.js - Video playback
static/js/vino.js
Vine integration
- Vine client
vine.py - Vine API
Caching
- Memcached
Other components
- Visitor
Connections 10
- Visitor → Page routes: requests page
- Page routes → Wall template: renders
- Visitor → JSON API routes: requests JSON
- Wall renderer → JSON API routes: fetches pages
- JSON API routes → Cache wrapper: uses cache
- Cache wrapper → Memcached: reads/writes
- JSON API routes → Vine client: requests timelines
- Vine client → Vine API: calls API
- Vine client → Vine API: authenticates
- Wall renderer → Video playback: builds playback