Skip to content

A set of AI tools to generate and convert thematic content

License

Notifications You must be signed in to change notification settings

alexhooketh/contentmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contentmaker

A set of AI tools to generate and convert thematic content

Overview

We're deep into the era of bigdata being processed and reprocessed over and over to be fed into processing infrastructure again. This happens so often that data that the infrastructure sees was probably already processed and mutated several times—starting from autocorrection and filters of social media all the way to social bots dumping copies of copies back into the internet and LLMs learning from the content that was already generated by its predecessors.

This repository contains various AI scripts to process automatically generated information into the formats that can then be more easily fed back into AI for bigdata processing and such. Everything below will be written by an AI. Goodbye.

Features

YouTube Transcript Processor

The youtube.py script provides functionality to:

  • Download and normalize YouTube video transcripts
  • Cache processed transcripts for efficiency
  • Integrate with OpenRouter AI for transcript normalization
  • Error handling with Telegram notifications
  • Progress tracking for transcription tasks

Setup

  1. Copy .env.example to .env
  2. Configure your environment variables:
    • OPENROUTER_API_KEY: Your OpenRouter API key
    • TELEGRAM_BOT_TOKEN: Your Telegram bot token for notifications
    • TELEGRAM_CHAT_ID: Your Telegram chat ID for receiving notifications

Error Handling

The system includes comprehensive error handling with Telegram notifications:

  • ❌ Error notifications for failed operations
  • ✅ Success notifications for completed transcriptions
  • Detailed error traces for debugging
  • Thread-safe error handling for concurrent processing

Usage

Run the YouTube transcript processor:

python youtube.py

You'll be prompted for:

  1. Path to glossary/docs file
  2. YouTube video URLs (enter blank line to finish)

The script will process videos concurrently and send status updates via Telegram.

About

A set of AI tools to generate and convert thematic content

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages