Shorts API WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Shorts API
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/albreis/shorts-api/releases/download/v2.2.25/shorts-api-v2.2.25.zipShorts API is a professional WordPress plugin designed to power high-performance, TikTok-style video portals. It bridges your WordPress content with a modern Node.js/Express backend to deliver video feeds with lightning speed.
🚀 Key Features
- High-Performance Scaling: Bypasses heavy
WP_Queryby synchronizing specific video metadata to an external Express API. - WP-CLI Optimization: Bulk sync thousands of posts using the
wp shorts synccommand with built-in batching (--amount=X). - Real-time Synchronization: Automatically updates your video feed whenever a post is published, updated, or deleted.
- Media-Ready Settings: Integrated WordPress Media Uploader for Logos and Favicons.
- Multi-site Support: Dynamic domain verification and Traefik-ready configuration sync.
- GA4 Integration: Native support for Google Analytics tracking IDs for your shorts frontend.
🛠 Technical Architecture
The plugin acts as a Data Provider for a decoupled frontend (React/Next.js).
- WordPress: Content management and video attachment handling.
- Shorts API (Plugin): Extracts metadata and pushes to the backend.
- Express API: Handles indexing, ranking, and high-concurrency requests.
- Redis: Buffers actions (likes, views) and provides rate limiting (3 actions/min).
📦 Installation
- Clone or download this repository into your
/wp-content/plugins/folder.git clone https://github.com/ersolucoesweb/shorts-api.git - Activate the plugin in the WordPress Admin.
- Go to Shorts API menu to configure your branding (Logo, Favicon, Color).
- (Optional) Run your first sync via CLI:
wp shorts sync --amount=100
💻 Screenshots
| Desktop View | Mobile View |
|---|---|
![]() |
![]() |
![]() |
![]() |
(More screenshots available in the assets/ directory)
📜 Commands (WP-CLI)
wp shorts sync: Synchronizes published posts.- Usage:
wp shorts sync --amount=100
- Usage:
wp shorts sync-domain: Register/Update domain configuration in the backend.wp shorts sync-configs: Pushes settings (colors, logo, order) to the API.
🌐 Modo Standalone (Sem WordPress)
Se você deseja usar a API sem o plugin do WordPress, pode integrar diretamente via HTTP ou usar nossas ferramentas administrativas prontas.
🛠️ Ferramentas Administrativas
Para facilitar o uso sem o plugin, criamos ferramentas administrativas prontas:
- Registrar Site: Gere sua chave e configure seu domínio.
- Configurações: Atualize logos, cores e títulos do portal.
- Enviar Shorts: Interface visual para cadastrar vídeos manualmente. vídeos.
📄 License
This project is licensed under the GPLv2 or later.
Developed with ❤️ by ER Soluções Web
Releases
14 releases. Each count is every asset in that release; expand a row for the breakdown.



