"Firebase Studio में खोलें" बटन जोड़ना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Firebase Studio की मदद से, अपने कोडबेस में नए व्यक्ति के लिए, डेवलपमेंट एनवायरमेंट सेट अप करने और काम शुरू करने के चरणों को आसान बनाया जा सकता है.
उदाहरण के लिए:
अगर आप अन्य योगदानकर्ताओं के साथ मिलकर काम कर रहे हैं, तो अपने प्रोजेक्ट के हिसाब से अपने एनवायरमेंट को पसंद के मुताबिक बनाएं. इसके बाद, अपनी .idx/dev.nix
फ़ाइल को अपने प्रोजेक्ट की Git रिपॉज़िटरी में सेव करें. इस तरह, जब कोई टीम मेंबर आपकी Git रिपॉज़िटरी को Firebase Studio में इंपोर्ट करेगा, तो उसके नए वर्कस्पेस का कॉन्फ़िगरेशन ठीक वैसा ही होगा जैसा आपके वर्कस्पेस का है. इसमें सिस्टम पैकेज, IDE एक्सटेंशन, स्टार्टर स्क्रिप्ट वगैरह शामिल हैं.
अगर आपको दूसरों के इस्तेमाल के लिए कोई फ़्रेमवर्क या लाइब्रेरी बनानी है, तो अपने सैंपल कोड रिपॉज़िटरी में .idx/dev.nix
फ़ाइल शामिल करें. इससे, जब कोई उपयोगकर्ता आपके सैंपल को Firebase Studio में इंपोर्ट करेगा, तो वह एनवायरमेंट सेटअप करने की प्रोसेस को छोड़कर सीधे आपके फ़्रेमवर्क को आज़मा सकेगा. आपके पास अपने हिसाब से कस्टम टेंप्लेट बनाने का विकल्प भी होता है. इससे उपयोगकर्ताओं को अपनी पसंद के मुताबिक, शुरुआत करने में मदद मिलती है.
अपने एनवायरमेंट में पसंद के मुताबिक बदलाव करने के बाद, दूसरों के लिए अपने प्रोजेक्ट को Firebase Studio में इंपोर्ट करना और भी आसान बनाया जा सकता है. इसके लिए, अपने दस्तावेज़ में "Firebase Studio में खोलें" बटन जोड़ें. जैसे, अपने प्रोजेक्ट की README.md
फ़ाइल में.
"Firebase Studio में खोलें" सुविधा के सामान्य एंट्री पॉइंट
"Firebase Studio में खोलें" बटन के लिए, कई यूआरएल पैटर्न उपलब्ध हैं:
Git रिपॉज़िटरी इंपोर्ट करें फ़्लो से लिंक करने के लिए, इस यूआरएल पैटर्न का इस्तेमाल करें. इसमें आपकी Git रिपॉज़िटरी का यूआरएल पहले से भरा होता है:
https://studio.firebase.google.com/import?url=https://github.com/my-org/my-repo
फ़िलहाल, सिर्फ़ GitHub रिपॉज़िटरी इस्तेमाल की जा सकती हैं. इनमें निजी और सार्वजनिक, दोनों तरह की रिपॉज़िटरी शामिल हैं.
पहले से तय किए गए वर्कस्पेस टेंप्लेट से लिंक करने के लिए, Firebase Studio में टेंप्लेट पेज पर जाकर, वह टेंप्लेट ढूंढें जिसे आपको लिंक करना है. इसके बाद, उसका यूआरएल कॉपी करें. यह यूआरएल इस पैटर्न में होना चाहिए:
https://studio.firebase.google.com/new/gemini
अपने टेंप्लेट के GitHub यूआरएल से पहले से भरे गए कस्टम टेंप्लेट से लिंक करने के लिए,
इस यूआरएल पैटर्न का इस्तेमाल करें:
https://studio.firebase.google.com/new?template=https://github.com/my-org/my-template
पहले से भरे गए प्रॉम्प्ट के साथ App Prototyping agent खोलने के लिए, इस यूआरएल पैटर्न का इस्तेमाल करें:
https://studio.firebase.google.com/?prototypePrompt=Create an app that transforms sketches into a high-quality photograph with Gemini
"Firebase Studio में खोलें" बटन जोड़ना
Firebase Studio में खोलें एसडीके इंस्टॉल करें या Firebase Studio बटन के लिए एचटीएमएल जनरेट करने के लिए, इस टूल का इस्तेमाल करें:
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["With Firebase Studio, you can simplify the steps for someone new to\nyour codebase to set up their development environment and get productive.\n\nFor example:\n\n- If you're **working on a team with other contributors** , you can\n [customize your environment](/docs/studio/customize-workspace)\n precisely for your project and then commit your `.idx/dev.nix` file to\n your project's Git repository. That way, when a teammate imports your\n Git repository in Firebase Studio, their new workspace will have\n the exact same configuration as yours, complete with the same system\n packages, IDE extensions, starter scripts, and more.\n\n- If you're **building a framework or library** for others to use, you\n can include a `.idx/dev.nix` file in your sample code repositories, so\n that when a user imports your samples into Firebase Studio, they\n can skip the environment setup and jump straight into trying out your\n framework. You can even [build your own, custom\n template](/docs/studio/custom-templates) as an opinionated,\n customizable starting point for your users.\n\nAfter you're happy with your environment customizations, you can make it\neven easier for others to import your project into Firebase Studio by\nadding an \"Open in Firebase Studio\" button to your documentation, such\nas your project's `README.md` file.\n\nCommon \"Open in Firebase Studio\" entry points\n\nThere are several URL patterns available for an \"Open in\nFirebase Studio\" button:\n\n- To link to the **import a Git repository** flow, prefilled with your Git\n repository URL, use this URL pattern:\n\n https://studio.firebase.google.com/import?url=https://github.com/my-org/my-repo\n\n At this time, only GitHub repositories are supported (both private and\n public).\n- To link to a **predefined workspace template** , find the template\n you're looking for in the\n [Templates](https://studio.firebase.google.com/templates) page in\n Firebase Studio, and copy its URL, which should follow this URL pattern:\n\n https://studio.firebase.google.com/new/gemini\n\n- To link to a **custom template**, prefilled with your template's GitHub URL,\n use this URL pattern:\n\n https://studio.firebase.google.com/new?template=https://github.com/my-org/my-template\n\n- To open the App Prototyping agent with a pre-filled prompt, use this URL\n pattern:\n\n https://studio.firebase.google.com/?prototypePrompt=Create an app that transforms sketches into a high-quality photograph with Gemini\n\nAdd an \"Open in Firebase Studio\" button\n\nInstall the [Open in Firebase Studio\nSDK](https://www.npmjs.com/package/@firebase-studio/open-sdk) or\nuse this tool to generate the HTML for a Firebase Studio button:"]]