This Python toolkit creates a dynamic system, extracting content from newsletters & generating unique videos. It then publishes automatically on a YouTube channel and Steemit social media
git clone https://github.com/stakewalker/hotnews.gitHotnews is a Python toolkit designed to streamline newsletter-to-video conversion. It extracts newsletter content, generates engaging YouTube music videos with creative thumbnails, and automatically publishes them to YouTube channels. The system integrates lofi music, uses MoviePy for video generation and PIL for thumbnail creation, and leverages Selenium for YouTube publishing. This toolkit is ideal for content creators, marketers, and newsletter authors looking to repurpose written content into visual video format without manual production work.
[{"step":1,"action":"Install the hotnews toolkit using pip: `pip install hotnews-toolkit`. Ensure you have API keys for newsletter sources (e.g., Substack, Medium) and social media platforms (YouTube, Steemit).","tip":"Use environment variables to securely store API keys. Example: `export YOUTUBE_API_KEY='your_api_key_here'`."},{"step":2,"action":"Configure the toolkit by creating a `config.yaml` file with your topic, newsletter sources, and social media channels. Example:\n```yaml\ntopic: 'AI in Healthcare'\nnewsletter_sources:\n - 'HealthTech Today'\n - 'MedTech Insights'\n - 'Future of Medicine'\nyoutube_channel: 'TechMed Insights'\nsteemit_username: 'techmed_insights'\n```","tip":"For newsletter sources, use RSS feeds or API endpoints to fetch the latest articles. Tools like Zapier or Make.com can help automate this step."},{"step":3,"action":"Run the toolkit with your configuration: `hotnews --config config.yaml`. The toolkit will extract the top 3 articles, generate a video script, render the video, and publish it to YouTube and Steemit.","tip":"Monitor the toolkit’s progress in the terminal. If any errors occur (e.g., API rate limits), adjust the configuration or retry after a delay."},{"step":4,"action":"Review the generated video and social media posts. Edit the script or visuals if needed using tools like CapCut or Adobe Premiere Pro. Re-publish the corrected version.","tip":"Use the YouTube Studio app to add end screens, cards, and captions for better engagement. On Steemit, engage with comments to boost visibility."},{"step":5,"action":"Analyze performance metrics using YouTube Analytics and Steemit insights. Adjust your content strategy based on what resonates with your audience (e.g., longer videos, different topics).","tip":"Focus on metrics like click-through rate (CTR), watch time, and shares. Use A/B testing to compare different video styles or topics."}]
Repurpose weekly newsletters into YouTube video content
Automate video generation for newsletter publishers
Create consistent lofi music video thumbnails at scale
Publish newsletter summaries as YouTube shorts or long-form videos
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/stakewalker/hotnewsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a hot news video for [TOPIC] using the hotnews toolkit. Extract the top 3 most engaging newsletters or articles related to [TOPIC] from [NEWSLETTER_SOURCES]. Create a 60-90 second video script summarizing the key points, including on-screen text and voiceover narration. Render the video with dynamic visuals, subtitles, and background music. Publish the final video to [YOUTUBE_CHANNEL_NAME] and post a teaser clip with a link on Steemit under the title '[ENGAGING_TITLE]'. Include relevant hashtags and tags for SEO optimization.
For the topic 'AI in Healthcare', the hotnews toolkit extracted the following newsletter articles: 1) 'FDA Approves First AI-Powered Diagnostic Tool for Early Cancer Detection' (HealthTech Today), 2) 'How Machine Learning is Reducing Hospital Readmission Rates' (MedTech Insights), and 3) 'Ethical Challenges in AI-Driven Patient Care' (Future of Medicine). The AI-generated 90-second video script included: - Opening hook: 'AI is transforming healthcare—here’s how it’s saving lives today.' - Key point 1: 'The FDA just approved the first AI diagnostic tool that detects pancreatic cancer 3 years earlier than traditional methods, with 92% accuracy.' - Key point 2: 'Hospitals using ML algorithms have cut readmission rates by 28%, saving $12M annually.' - Key point 3: 'But with great power comes great responsibility—ethicists warn about data bias in AI patient care.' - Call-to-action: 'Subscribe for more AI breakthroughs in medicine!' The video was rendered with: - Dynamic visuals: Stock footage of hospitals, AI interfaces, and patient-doctor interactions. - Subtitles: Bold white text on a semi-transparent black background for readability. - Background music: Upbeat electronic track with a professional voiceover in a calm, authoritative tone. - SEO tags: #AIinHealthcare #MedicalAI #HealthTech #FutureOfMedicine #AIDiagnosis The video was published on the YouTube channel 'TechMed Insights' with the title 'AI in Healthcare: 3 Breakthroughs You Need to Know (2024)' and a description linking to the original newsletters. A 30-second teaser clip was posted on Steemit with the title 'AI Just Saved Lives—Here’s How' and a link to the full video, along with hashtags #AI #Healthcare #Innovation.
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan