.env.example 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # ─── App ───────────────────────────────────────────────────────────────────────
  2. # Public URL of the app — used as OAuth redirect_uri base. Must match exactly
  3. # what is registered in your Facebook Developer App > Valid OAuth Redirect URIs.
  4. APP_BASE_URL=http://localhost:8081
  5. # ─── Encryption ────────────────────────────────────────────────────────────────
  6. # 64-character hex string (32 bytes) used to encrypt OAuth tokens at rest.
  7. # Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
  8. # Without this key tokens are stored in plaintext (insecure).
  9. ENCRYPTION_KEY=
  10. # ─── RabbitMQ ──────────────────────────────────────────────────────────────────
  11. RABBITMQ_URL=amqp://username:password@messageBroker:5672
  12. # ─── MongoDB ───────────────────────────────────────────────────────────────────
  13. MONGODB_URL=mongodb://mongodb:27017
  14. MONGODB_DB=socialmedia
  15. # ─── Redis ─────────────────────────────────────────────────────────────────────
  16. REDIS_URL=redis://redis:6379
  17. # ─── Twitter / X ───────────────────────────────────────────────────────────────
  18. # Developer portalından alınır: developer.twitter.com
  19. TWITTER_API_KEY=
  20. TWITTER_API_SECRET=
  21. TWITTER_ACCESS_TOKEN=
  22. TWITTER_ACCESS_SECRET=
  23. TWITTER_BEARER_TOKEN=
  24. # ─── LinkedIn ──────────────────────────────────────────────────────────────────
  25. # Developer portalından alınır: linkedin.com/developers
  26. LINKEDIN_CLIENT_ID=
  27. LINKEDIN_CLIENT_SECRET=
  28. # ─── Mastodon ──────────────────────────────────────────────────────────────────
  29. # Hesabın olduğu instance URL (örn: https://mastodon.social)
  30. MASTODON_INSTANCE_URL=https://mastodon.social
  31. # Instance'ın Settings > Development > New application bölümünden alınır
  32. MASTODON_ACCESS_TOKEN=
  33. # ─── Bluesky ───────────────────────────────────────────────────────────────────
  34. # Kullanıcı adın (örn: user.bsky.social)
  35. BLUESKY_IDENTIFIER=
  36. # Settings > App Passwords bölümünden oluşturulan şifre (gerçek şifreni kullanma!)
  37. BLUESKY_APP_PASSWORD=
  38. # ─── Facebook Developer App (shared by Instagram + Facebook services) ───────────
  39. # Create your app at: https://developers.facebook.com/apps/
  40. # Required permissions: pages_manage_posts, pages_read_engagement,
  41. # instagram_basic, instagram_content_publish, instagram_manage_insights
  42. FACEBOOK_APP_ID=
  43. FACEBOOK_APP_SECRET=
  44. # ─── Instagram ─────────────────────────────────────────────────────────────────
  45. # Requires a Business or Creator Instagram account linked to a Facebook Page.
  46. # Get via OAuth callback (/auth/callback on the instagram service) or from
  47. # Graph API Explorer: https://developers.facebook.com/tools/explorer/
  48. # INSTAGRAM_ACCESS_TOKEN — long-lived user access token (~60 days, use fb_exchange_token to refresh)
  49. # INSTAGRAM_BUSINESS_ACCOUNT_ID — numeric ID, found via GET /{page-id}?fields=instagram_business_account
  50. INSTAGRAM_ACCESS_TOKEN=
  51. INSTAGRAM_BUSINESS_ACCOUNT_ID=
  52. # ─── Facebook ──────────────────────────────────────────────────────────────────
  53. # Requires a Facebook Page (personal timelines are not supported by the Graph API).
  54. # FACEBOOK_PAGE_ID — numeric Page ID (visible in Page settings or About section)
  55. # FACEBOOK_PAGE_ACCESS_TOKEN — never-expiring Page token obtained via GET /me/accounts
  56. # after exchanging a long-lived user token
  57. FACEBOOK_PAGE_ID=
  58. FACEBOOK_PAGE_ACCESS_TOKEN=
  59. # ─── Reddit ────────────────────────────────────────────────────────────────────
  60. # reddit.com/prefs/apps üzerinden oluşturulan uygulama
  61. REDDIT_CLIENT_ID=
  62. REDDIT_CLIENT_SECRET=
  63. REDDIT_USERNAME=
  64. REDDIT_PASSWORD=