{"id":25816467,"url":"https://github.com/nwaughachukwuma/repurp","last_synced_at":"2026-02-19T07:02:03.667Z","repository":{"id":278717556,"uuid":"936528830","full_name":"nwaughachukwuma/repurp","owner":"nwaughachukwuma","description":"Repurpose any video for Instagram, Twitter, TikTok, Broadcast etc.","archived":false,"fork":false,"pushed_at":"2025-03-07T11:16:58.000Z","size":17614,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T23:05:25.099Z","etag":null,"topics":["broadcast","python","repurpose","resize","veedoai"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nwaughachukwuma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-21T08:41:31.000Z","updated_at":"2025-04-23T10:38:04.000Z","dependencies_parsed_at":"2025-02-21T13:16:35.951Z","dependency_job_id":null,"html_url":"https://github.com/nwaughachukwuma/repurp","commit_stats":null,"previous_names":["veedoai/repurp","nwaughachukwuma/repurp"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nwaughachukwuma/repurp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Frepurp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Frepurp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Frepurp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Frepurp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwaughachukwuma","download_url":"https://codeload.github.com/nwaughachukwuma/repurp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Frepurp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29605799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["broadcast","python","repurpose","resize","veedoai"],"created_at":"2025-02-28T05:33:49.822Z","updated_at":"2026-02-19T07:02:03.634Z","avatar_url":"https://github.com/nwaughachukwuma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎬 Repurp\n\n\u003e 🚀 Effortlessly repurpose videos for Instagram, Twitter, TikTok, Broadcast and more!\n\nRepurp is a powerful library and command-line tool that helps you repurpose your videos for various social media platforms, ensuring the best quality and format for each platform's requirements.\n\n## ✨ Features\n\n- 📱 Support for multiple platforms:\n  - Instagram (Story, Post, Reel)\n  - TikTok\n  - Twitter (Landscape, Square)\n  - LinkedIn (Landscape, Square)\n  - Broadcast (Standard, Closeup)\n- 🎯 Platform-specific optimizations\n- 🔄 Batch processing for multiple platforms\n- ⚡ Optimized FFmpeg settings for quality and performance\n- 🛠️ Easy-to-use command line interface\n\n## 🔧 Prerequisites\n\nBefore using Repurp, ensure you have the following installed:\n\n- 🎥 FFmpeg (required for video processing)\n- 🐍 Python 3.8 or higher\n\n## 📦 Installation\n\n### From PyPI (Recommended)\n\n```bash\npip install repurp\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/nwaughachukwuma/repurp.git\ncd repurp\npip install .\n```\n\n### As Executable\n\nDownload the latest release for your platform from the [releases page](https://github.com/nwaughachukwuma/repurp/releases).\n\n## 🚀 Usage\n\n### As a Library\n\n```python\nfrom repurp import VideoRepurp\n\n# Initialize with input video\nvideo = VideoRepurp(\"input_video.mp4\")\n\n# Process for a specific platform and style\ninstagram_story = video.repurp(\"instagram\", \"story\")\ntwitter_post = video.repurp(\"twitter\", \"landscape\")\n\n# Batch process for multiple platforms\noutputs = video.batch_repurp(batch_platforms=[\"instagram\", \"tiktok\", \"twitter\"])\n\n# Get platform specifications\ninstagram_specs = video.get_platform_spec(\"instagram\")\n```\n\nThe library provides type-safe methods with platform-specific optimizations:\n\n- Supports major social platforms (Instagram, TikTok, Twitter, LinkedIn)\n- Supports Broadcast formats (Standard, Closeup)\n- Automatically creates an 'output' directory next to your input video\n- Returns paths to processed video files\n- Handles proper video scaling, padding, and encoding for each platform\n\n### CLI Basic Usage\n\n```bash\n# Repurpose a video for Instagram Story\nrepurp -i video.mp4 -p instagram -s story\n\n# Repurpose for Twitter in landscape format\nrepurp -i video.mp4 -p twitter -s landscape\n```\n\n### Batch Processing\n\n```bash\n# Process for all supported platforms\nrepurp -i video.mp4 -b\n\n# Process for specific platforms\nrepurp -i video.mp4 -b instagram twitter\n```\n\n### Convert Video for Instagram Story\n\n```bash\nrepurp -i my_video.mp4 -p instagram -s story\n```\n\n### Batch Process for Multiple Social Media\n\n```bash\nrepurp -i my_video.mp4 -b instagram tiktok twitter\n```\n\n### Create Broadcast-Ready Version\n\n```bash\nrepurp -i my_video.mp4 -p broadcast -s standard\n```\n\n### CLI Options\n\n```\nOptions:\n  -i, --input     Path to the input video file (required)\n  -p, --platform  Target platform (instagram, tiktok, twitter, linkedin, broadcast)\n  -s, --style     Style for the platform (e.g., story, post, reel for instagram)\n  -b, --batch     Batch process for specified platforms\n  -h, --help      Show this help message\n```\n\n### Platform-Specific Styles\n\n- Instagram: `story`, `post`, `reel`\n- TikTok: `standard`\n- Twitter: `landscape`, `square`\n- LinkedIn: `landscape`, `square`\n- Broadcast: `standard`, `closeup`\n\n## 🤝 Contributing\n\nContributions are welcome! Here's how you can help:\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n\u003e Please make sure to update tests as appropriate and follow the existing coding style.\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- FFmpeg for providing the powerful video processing capabilities\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwaughachukwuma%2Frepurp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwaughachukwuma%2Frepurp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwaughachukwuma%2Frepurp/lists"}