-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (39 loc) · 1.78 KB
/
.env.example
File metadata and controls
48 lines (39 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# ============================================
# Instagram Auto-Poster Bot Configuration
# ============================================
# Copy this file to .env and fill in your credentials
# See SETUP_GUIDE.md for detailed setup instructions
# Discord Configuration
DISCORD_TOKEN=your_discord_bot_token_here
CHANNEL_ID=your_channel_id_here
# Instagram Accounts (JSON array)
# Run 'npm run instagram-refresh' every 30 days to refresh tokens
INSTAGRAM_ACCOUNTS=[{"name":"account1","id":"instagram_id","token":"instagram_token"}]
# GitHub Configuration
GITHUB_TOKEN=your_github_token_here
GITHUB_OWNER=your_github_username
GITHUB_REPO=your_repo_name
# YouTube OAuth Credentials - Optional, only needed if using YouTube
# Get these from Google Cloud Console (see SETUP_GUIDE.md)
YOUTUBE_CLIENT_ID=your_client_id.apps.googleusercontent.com
YOUTUBE_CLIENT_SECRET=your_client_secret
YOUTUBE_REDIRECT_URI=http://localhost:3000/oauth2callback
# YouTube Accounts (JSON array) - Optional, leave empty if not using
# Run 'npm run youtube-auth' to get tokens (see SETUP_GUIDE.md)
YOUTUBE_ACCOUNTS=[]
# Gemini AI API Key - For AI-powered caption generation
# Get your free API key from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# Gemini Model (optional) - Default: gemini-2.5-flash
GEMINI_MODEL=gemini-2.5-flash
# Video Branding (optional) - Default: true
# Set to false to disable Netflix-style text overlay on videos
ADD_VIDEO_BRANDING=true
# ============================================
# Helpful Commands
# ============================================
# Start bot: npm start
# Refresh Instagram: npm run instagram-refresh
# Refresh YouTube: npm run youtube-refresh
# Generate YouTube auth: npm run youtube-auth
# Test .env file: npm run test-env