HTML को Grok चैट से कैसे पब्लिश करें
Whether you use Grok on X or at grok.com, it will write you a full website and Grok Studio will preview it side-by-side with the code. But xAI doesn't host your page — the preview disappears when the chat does. Here's how to give it a permanent address for free.
Open Grok- 01
Open the code view
In Grok Studio your page shows as a live preview — switch to the code tab to see the HTML. In a plain chat answer it's in a code block.
- 02
Copy the HTML
Use the copy button on the code view or code block. If Grok wrote separate CSS or JS files, copy those too, or ask it to inline everything into one file.
- 03
इसे index.html के रूप में सेव करें
कोड को किसी भी टेक्स्ट एडिटर में पेस्ट करें — Notepad, TextEdit, VS Code — और फ़ाइल को index.html के रूप में सेव करें। नाम मायने रखता है: ब्राउज़र इसे ही आपके होमपेज के रूप में मानते हैं।
- 04
इसे नीचे बॉक्स में ड्रॉप करें
index.html (या पूरा फ़ोल्डर) इस पेज पर मौजूद अपलोड बॉक्स में खींच लाएँ और पब्लिश दबाएँ। आपकी साइट को तुरंत अपना वेब एड्रेस मिल जाता है।
- 05
अपना लिंक शेयर करें
बस इतना ही — URL किसी को भी भेज दें। आप जब चाहें अपने डैशबोर्ड से साइट का नाम बदल सकते हैं, फ़ाइलें अपडेट कर सकते हैं, या इसे डिलीट कर सकते हैं।
Where Grok keeps your page: Grok Studio
Grok Studio previews your page beside the chat, but xAI publishes nothing — there's no grok.com address that serves the HTML, so pasting a chat link below won't work and we'll say why. Ask Grok to put the file in a public GitHub gist if you'd rather not copy by hand; the gist's raw link imports fine.
Paste a link to the file
There's no artifact address to paste for this tool, but the box still works for a public GitHub gist — ask the chat to save your page to one, then paste the gist's raw link. For anything else, the drop box below is the way.
We only fetch links that serve the page itself. A chat share link isn't one — paste it and we'll say so rather than publish the wrong thing.
अपना Grok HTML यहाँ ड्रॉप करें
एक फ़ाइल या पूरा फ़ोल्डर — पब्लिश होते ही आपको एक लाइव लिंक मिल जाएगा।
अपनी वेबसाइट यहाँ खींच लाएँ
अपने index.html वाला फ़ोल्डर या ZIP फ़ाइल यहाँ ड्रॉप करें — या बस अपने क्लिपबोर्ड से HTML पेस्ट करें — और हम इसे सेकंडों में ऑनलाइन कर देंगे। कोई सेटअप नहीं, कोई कॉन्फ़िग नहीं, कोई सिरदर्द नहीं।
या Grok को आपके लिए पब्लिश करने दें
कॉपी करने की पूरी झंझट छोड़ें। हमारे तैयार निर्देश कॉपी करें, उन्हें अपनी Grok बातचीत में पेस्ट करें, और यह हमारे API के ज़रिए साइट अपलोड कर सकता है — आपको वापस एक लाइव लिंक और साइट का मालिकाना हक लेने के लिए एक प्राइवेट क्लेम लिंक मिलता है।
इसके बजाय टर्मिनल में काम कर रहे हैं? npx harvis चलाएँ — कोई अकाउंट नहीं चाहिए।
Grok पब्लिशिंग से जुड़े सवाल
Can I share my Grok Studio preview directly?
No — the Studio preview only renders inside your own Grok session. There's no public link to hand out. Publishing the code here creates a real URL anyone can open.
I used Grok inside X. Is it any different?
The steps are the same: find the code block in the conversation, copy it, save it as index.html, and drop it in the box below. Where you chatted doesn't matter — only the HTML does.
Grok से HTML पब्लिश करने का सबसे आसान तरीका क्या है?
तीन तरीके हैं। सबसे आसान: Grok से HTML कॉपी करें और इस पेज के बॉक्स में पेस्ट करें — हम इसे तुरंत एक लाइव साइट बना देते हैं। हैंड्स-ऑफ़: हमारे AI निर्देशों को अपनी Grok बातचीत में कॉपी करें और यह आपके लिए हमारे API के ज़रिए पब्लिश कर देगा। टर्मिनल में: साइट के फ़ोल्डर में npx harvis चलाएँ और यह एक कमांड से डिप्लॉय हो जाएगी।
पब्लिश करने के लिए क्या मुझे अकाउंट चाहिए?
ब्राउज़र से पब्लिश करने के लिए एक मुफ़्त अकाउंट चाहिए, ताकि आपकी साइट को आपके डैशबोर्ड में एक ठिकाना मिल सके। साइन-अप नहीं चाहते? टर्मिनल में npx harvis चलाएँ — यह बिना अकाउंट के डिप्लॉय करता है और बाद के लिए एक प्राइवेट क्लेम लिंक देता है।
अगर Grok ने मुझे एक से ज़्यादा फ़ाइल दी हो तो?
सब कुछ एक फ़ोल्डर में डालें — index.html सबसे ऊपर, साथ में जो भी CSS, JavaScript, और इमेज इसे रेफ़र करती हों — और पूरे फ़ोल्डर को बॉक्स में खींच लाएँ। प्रति साइट 500 फ़ाइलों और 50 MB तक।
इसकी कीमत क्या है, और साइट कितनी देर तक चलती रहती है?
यह मुफ़्त है, और पब्लिश की गई साइट्स एक्सपायर नहीं होतीं — जब तक आप उन्हें अपने डैशबोर्ड से डिलीट नहीं करते, वे लाइव रहती हैं। जब चाहें दोबारा अपलोड करें, लिंक वही रहता है।
कोई अलग AI चैट इस्तेमाल कर रहे हैं?
तरीका लगभग हर जगह एक जैसा है — सटीक स्टेप्स के लिए अपना टूल चुनें।