Contributing via GitHub Contribuir pelo GitHub Contribuir por GitHub Contribuire da GitHub GitHub के माध्यम से योगदान المساهمة عبر GitHub
Complete step-by-step guide to add a chant by creating a JSON file and opening a pull request. Guia completo passo a passo para adicionar um cântico criando um ficheiro JSON e abrindo um pull request. Guía completa paso a paso para añadir un cántico creando un archivo JSON y abriendo un pull request. Guida completa passo passo per aggiungere un canto creando un file JSON e aprendo un pull request. JSON फ़ाइल बनाकर और पुल रिक्वेस्ट खोलकर भजन जोड़ने की पूर्ण चरणबद्ध गाइड। دليل كامل خطوة بخطوة لإضافة ترنيم بإنشاء ملف JSON وفتح طلب دمج.
- 1
Fork the repository Fazer fork do repositório Haz fork del repositorio Fai un fork del repository रिपॉज़िटरी फोर्क करें انسخ المستودع (Fork)
On GitHub, open the Sacred Chants repository and click “Fork”. This creates a copy under your account. No GitHub, abra o repositório Sacred Chants e clique em “Fork”. Isso cria uma cópia na sua conta. En GitHub, abre el repositorio Sacred Chants y haz clic en "Fork". Así se crea una copia en tu cuenta. Su GitHub, apri il repository Sacred Chants e clicca "Fork". Si crea una copia sotto il tuo account. GitHub पर Sacred Chants रिपॉज़िटरी खोलें और “Fork” पर क्लिक करें। यह आपके खाते के तहत एक प्रतिलिपि बनाता है। افتح مستودع Sacred Chants على GitHub وانقر «Fork». يُنشئ نسخة تحت حسابك.
- 2
Clone your fork Clonar o seu fork Clona tu fork Clona il tuo fork अपना फोर्क क्लोन करें استنسخ نسختك
Clone your fork to your computer (e.g. `git clone https://github.com/YOUR_USERNAME/SacredChants.git`). Create a new branch for your chant (e.g. `git checkout -b add-my-chant`). Clone o seu fork para o computador (ex.: `git clone https://github.com/SEU_UTILIZADOR/SacredChants.git`). Crie uma nova branch para o seu cântico (ex.: `git checkout -b adicionar-meu-cantico`). Clona tu fork en tu ordenador (ej.: `git clone https://github.com/TU_USUARIO/SacredChants.git`). Crea una rama nueva para tu cántico (ej.: `git checkout -b añadir-mi-cantico`). Clona il tuo fork sul computer (es. `git clone https://github.com/TUO_UTENTE/SacredChants.git`). Crea un nuovo branch per il tuo canto (es. `git checkout -b aggiungi-mio-canto`). अपना फोर्क कंप्यूटर पर क्लोन करें (उदा. `git clone https://github.com/YOUR_USERNAME/SacredChants.git`)। अपने भजन के लिए नई शाखा बनाएँ (उदा. `git checkout -b add-my-chant`)। استنسخ النسخة إلى جهازك (مثلاً `git clone https://github.com/YOUR_USERNAME/SacredChants.git`). أنشئ فرعاً جديداً لترنيمك (مثلاً `git checkout -b add-my-chant`).
- 3
Add your chant file Adicionar o ficheiro do cântico Añade el archivo del cántico Aggiungi il file del canto अपनी भजन फ़ाइल जोड़ें أضف ملف الترنيم
Create a new JSON file in `src/content/chants/` with a URL-friendly name (e.g. `my-mantra.json`). This name becomes the chant’s slug (used in the page URL). Crie um novo ficheiro JSON em `src/content/chants/` com um nome amigável para a URL (ex.: `meu-mantra.json`). Este nome será o slug do cântico (usado no URL da página). Crea un archivo JSON en `src/content/chants/` con un nombre apto para la URL (ej.: `mi-mantra.json`). Ese nombre será el slug del cántico (en la URL de la página). Crea un file JSON in `src/content/chants/` con un nome adatto per l'URL (es. `mio-mantra.json`). Quel nome diventa lo slug del canto (usato nell'URL della pagina). `src/content/chants/` में URL-अनुकूल नाम से नई JSON फ़ाइल बनाएँ (उदा. `my-mantra.json`)। यह नाम भजन का स्लग बनता है (पृष्ठ URL में)। أنشئ ملف JSON جديداً في `src/content/chants/` باسم مناسب للرابط (مثلاً `my-mantra.json`). الاسم يصبح معرّف الصفحة في الرابط.
- 4
Follow the schema Seguir o schema Sigue el esquema Segui lo schema स्कीमा का पालन करें اتبع المخطط
Each chant needs: slug, title, tradition, language, description (en and pt), tags, and verses. Each verse has lines with start time (seconds), original text, transliteration, and translations (en/pt). Optional: audio URL, about text, Spotify/Bandcamp links. See the schema in `src/content/schemas/chant.ts` and existing chants in `src/content/chants/` for examples. Cada cântico precisa de: slug, title, tradition, language, description (en e pt), tags e verses. Cada verso tem linhas com tempo de início (segundos), texto original, transliteração e traduções (en/pt). Opcional: URL de áudio, texto “about”, links Spotify/Bandcamp. Consulte o schema em `src/content/schemas/chant.ts` e os cânticos existentes em `src/content/chants/` como exemplo. Cada cántico necesita: slug, title, tradition, language, description (en y pt), tags y verses. Cada verso tiene líneas con tiempo de inicio (segundos), texto original, transliteración y traducciones (en/pt). Opcional: URL de audio, texto about, enlaces Spotify/Bandcamp. Consulta el esquema en `src/content/schemas/chant.ts` y los cánticos en `src/content/chants/` como ejemplo. Ogni canto richiede: slug, title, tradition, language, description (en e pt), tags e verses. Ogni verso ha righe con tempo di inizio (secondi), testo originale, traslitterazione e traduzioni (en/pt). Opzionale: URL audio, testo about, link Spotify/Bandcamp. Vedi lo schema in `src/content/schemas/chant.ts` e i canti in `src/content/chants/` per esempi. प्रत्येक भजन को चाहिए: slug, title, tradition, language, description (en और pt), tags, verses। प्रत्येक श्लोक में प्रारंभ समय (सेकंड), मूल पाठ, लिप्यंतरण और अनुवाद (en/pt)। वैकल्पिक: ऑडियो URL, about पाठ, Spotify/Bandcamp लिंक। उदाहरण के लिए `src/content/schemas/chant.ts` और `src/content/chants/` देखें। كل ترنيم يحتاج: slug، title، tradition، language، description (en و pt)، tags، verses. كل مقطع: وقت البداية (ثوانٍ)، النص الأصلي، النقل الحرفي، الترجمة (en/pt). اختياري: رابط صوت، نص «عن»، روابط Spotify/Bandcamp. راجع `src/content/schemas/chant.ts` و`src/content/chants/`.
src/content/schemas/chant.ts· · · · · ·src/content/chants/ - 5
Commit and push Commit e push Commit y push Commit e push कमिट और पुश الالتزام والدفع
Commit your new file and push your branch to your fork (e.g. `git add src/content/chants/my-mantra.json`, `git commit -m "Add my mantra"`, `git push origin add-my-chant`). Faça commit do novo ficheiro e envie a branch para o seu fork (ex.: `git add src/content/chants/meu-mantra.json`, `git commit -m "Adicionar meu mantra"`, `git push origin adicionar-meu-cantico`). Haz commit del archivo y sube la rama a tu fork (ej.: `git add src/content/chants/mi-mantra.json`, `git commit -m "Añadir mi mantra"`, `git push origin añadir-mi-cantico`). Fai commit del file e push del branch al tuo fork (es. `git add src/content/chants/mio-mantra.json`, `git commit -m "Aggiungi mio mantra"`, `git push origin aggiungi-mio-canto`). नई फ़ाइल कमिट करें और अपनी शाखा फोर्क पर पुश करें (उदा. `git add src/content/chants/my-mantra.json`, `git commit -m "Add my mantra"`, `git push origin add-my-chant`)। الزم الملف الجديد وادفع الفرع إلى نسختك (مثلاً `git add src/content/chants/my-mantra.json`، `git commit -m "Add my mantra"`، `git push origin add-my-chant`).
- 6
Open a Pull Request Abrir um Pull Request Abrir un Pull Request Apri una Pull Request पुल रिक्वेस्ट खोलें افتح طلب الدمج
On GitHub, open your fork, select your branch, and click “Compare & pull request” to the original repository. Describe your chant briefly. Maintainers will review and may suggest changes before merging. No GitHub, abra o seu fork, selecione a sua branch e clique em “Compare & pull request” para o repositório original. Descreva brevemente o cântico. Os mantenedores irão rever e poderão sugerir alterações antes de integrar. En GitHub, abre tu fork, selecciona tu rama y haz clic en "Compare & pull request" al repositorio original. Describe brevemente el cántico. Los mantenedores revisarán y podrán sugerir cambios antes de integrar. Su GitHub, apri il tuo fork, seleziona il tuo branch e clicca "Compare & pull request" al repository originale. Descrivi brevemente il canto. I manutentori revisioneranno e potranno suggerire modifiche prima dell'integrazione. GitHub पर अपना फोर्क खोलें, अपनी शाखा चुनें और मूल रिपॉज़िटरी के लिए “Compare & pull request” पर क्लिक करें। संक्षेप में अपना भजन वर्णित करें। मेंटेनर समीक्षा करेंगे और मर्ज से पहले सुझाव दे सकते हैं। افتح نسختك على GitHub، اختر فرعك وانقر «Compare & pull request» نحو الأصل. صِف ترنيمك باختصار. تراجع الصيانة وقد تقترح تعديلات قبل الدمج.