Quick Setup: AI & Social Media Servicesยค
๐ Fastest Setup (Recommended for beginners)ยค
1. OpenAI (Easiest AI setup)ยค
# In config_local.yaml
ai_service: "openai"
openai:
api_key: "sk-..." # Get from platform.openai.com/api-keys
model: "gpt-3.5-turbo" # Cheapest option
Cost: ~$0.10 per conference
2. LinkedIn (If you have company access)ยค
social_media_service: "linkedin"
linkedin:
access_token: "..." # Complex OAuth process
company_id: "..." # From company page URL
Cost: Free
3. Bluesky (Easiest social setup)ยค
social_media_service: "bluesky"
bluesky:
handle: "you.bsky.social"
app_password: "xxxx-xxxx-xxxx-xxxx" # From Settings โ App Passwords
Cost: Free
๐ฏ Decision Matrixยค
Which AI Service?ยค
Service | Best For | Setup Difficulty | Cost |
---|---|---|---|
OpenAI | General use, proven quality | Easy | $$ |
Anthropic | Longer contexts, nuanced text | Easy | $$$ |
Free tier, experimentation | Easy | $ | |
Cohere | Budget option | Easy | $ |
Which Social Platform?ยค
Platform | Best For | Setup Difficulty | Requirements |
---|---|---|---|
Professional audience | Hard | Company page | |
Twitter/X | Wide reach | Medium | Paid API ($100/mo) |
Mastodon | Open source community | Easy | Choose instance |
Bluesky | Growing platform | Very Easy | Just username |
๐ Minimal Working Configยค
# config_local.yaml - Copy this and add your keys
# Event configuration
pretalx:
event_slug: "your-event-2025"
# AI Service (pick one)
ai_service: "openai"
openai:
api_key: "sk-..."
# Social Media (pick one)
social_media_service: "bluesky"
bluesky:
handle: "yourname.bsky.social"
app_password: "xxxx-xxxx-xxxx-xxxx"
๐ง Testing Your Setupยค
Test AI Serviceยค
# After configuring, test with:
pytube records fetch --limit 1
# This will use AI to generate descriptions
Test Social Mediaยค
# Create a test post:
echo '{"post": "Test post from PyTube"}' > test_post.json
# Then use publisher module to post
๐ก Pro Tipsยค
- Start with OpenAI + Bluesky - Easiest combination
- Use GPT-3.5-turbo - 10x cheaper than GPT-4
- Test with 1-2 videos first - Don't process entire conference immediately
- Set up cost alerts - In OpenAI/Anthropic dashboards
- Use app passwords - Never use your main password
๐ Need Help?ยค
- Check detailed guide:
docs/api-credentials.md
- Common errors:
docs/troubleshooting.md
- Ask in issues: github.com/yourusername/pytube/issues