Skip to content

GitHub Releases चैनल जोड़ना

शुरू करने से पहले क्या चाहिए

सिर्फ तीन चीज़ें चाहिए:

ज़रूरतउपयोग
GitHub accountaccess token generate करने और repository own करने के लिए।
GitHub Access TokenImgBed को GitHub API access, releases create और files upload करने के लिए।
Repository nameकेवल repository name डाल सकते हैं, जैसे image

Setup Steps

Step 1: GitHub में sign in करें और Access Token बनाएँ

  1. GitHub में sign in करें।
  2. ऊपर दाएँ avatar पर क्लिक करके Settings खोलें।
  3. left sidebar से Developer settings खोलें।
  4. Personal access tokens खोलें।
  5. Tokens (classic) खोलें।
  6. Generate new token (classic) पर क्लिक करें।
  7. token को पहचानने लायक नाम दें।
  8. अपनी maintenance preference के हिसाब से expiration date चुनें।
  9. repo और workflow scopes चुनें।
  10. token बनते ही उसे copy और save करें।

GitHub permissions जोड़ें

Step 2: ImgBed में GitHub Releases channel भरें

Upload Settings में GitHub Releases चुनने के बाद fields ऐसे भरें:

UI Fieldक्या डालें
Channel nameआपका चुना हुआ नाम, जैसे GitHubPrimary
Access Tokenअभी बनाया गया GitHub Personal Access Token।
Repository nameshort repo name जैसे image, या full path जैसे username/image
Private repositoryअपनी ज़रूरत के हिसाब से on या off करें।
Remarkoptional, जैसे Primary upload channel

GitHub channel configuration भरें

Step 3: Channel save करें

fields भरने के बाद Save पर क्लिक करें।

system ये details संभालेगा:

System BehaviorDescription
Short repository nameImgBed current GitHub account पहचानता है और value को full repository path में बदलता है।
Full repository pathImgBed username/repository path को जैसा डाला गया है वैसा ही use करता है।
Repository checkcurrent personal account path use होने पर ImgBed repository न हो तो automatically create करता है। full path manually डालने पर वही path directly use करता है।
Public/private staterepository visibility current switch के अनुसार sync होती है।

Quick Checklist

GitHub Releases ऐसे काम करता है:

text
GitHub में sign in करें
-> Access Token बनाएँ
-> ImgBed में लौटकर token और repository name डालें
-> Save
-> केवल repo name डालने पर ImgBed current username automatically जोड़ता है
-> username/repo डालने पर ImgBed उसे जैसा है वैसा use करता है
-> test image upload करें

Released as user documentation for CloudFlare ImgBed.