Grok

របៀបផ្សព្វផ្សាយ HTML ពី Grok chat

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
steps
  1. 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.

  2. 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.

  3. 03

    រក្សាទុកជា index.html

    បិទភ្ជាប់ code ទៅក្នុងកម្មវិធីកែសម្រួលអត្ថបទណាមួយ — Notepad, TextEdit, VS Code — រួចរក្សាទុកឯកសារជា index.html។ ឈ្មោះនេះសំខាន់៖ វាជាអ្វីដែលកម្មវិធីរុករកចាត់ទុកជាទំព័រដើមរបស់អ្នក។

  4. 04

    ទម្លាក់វាទៅក្នុងប្រអប់ខាងក្រោម

    អូស index.html (ឬថតឯកសារទាំងមូល) ចូលទៅក្នុងប្រអប់ផ្ទុកឡើងនៅលើទំព័រនេះ រួចចុចផ្សព្វផ្សាយ។ គេហទំព័ររបស់អ្នកនឹងទទួលបានអាសយដ្ឋានផ្ទាល់ខ្លួនរបស់វាភ្លាមៗ។

  5. 05

    ចែករំលែកតំណរបស់អ្នក

    គ្រាន់តែប៉ុណ្ណឹង — ផ្ញើ URL ទៅឱ្យអ្នកណាក៏បាន។ អ្នកអាចប្តូរឈ្មោះគេហទំព័រ ធ្វើបច្ចុប្បន្នភាពឯកសារ ឬលុបវាចេញពី dashboard របស់អ្នកនៅពេលណាដែលអ្នកចង់។

artifacts

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.

ទម្លាក់ HTML Grok របស់អ្នកនៅទីនេះ

ឯកសារតែមួយ ឬថតឯកសារទាំងមូល — អ្នកនឹងទទួលបានតំណភ្ជាប់ផ្ទាល់ភ្លាមៗនៅពេលដែលវាត្រូវបានផ្សព្វផ្សាយ។

អូសគេហទំព័ររបស់អ្នកមកទីនេះ

ទម្លាក់ថតឯកសារ ឬឯកសារ ZIP ដែលមាន index.html របស់អ្នក — ឬគ្រាន់តែបិទភ្ជាប់ HTML ពី clipboard របស់អ្នក — ហើយយើងនឹងដាក់វាឱ្យដំណើរការលើអ៊ីនធឺណិតក្នុងរយៈពេលប៉ុន្មានវិនាទី។ មិនចាំបាច់រៀបចំ មិនចាំបាច់ config មិនចាំបាច់ឈឺក្បាលទេ។

ឬអនុញ្ញាតឱ្យ Grok ផ្សព្វផ្សាយវាជូនអ្នក

រំលងការចម្លងទាំងស្រុង។ ចម្លងការណែនាំដែលរៀបចំរួចរបស់យើង បិទភ្ជាប់វាទៅក្នុងការសន្ទនា Grok របស់អ្នក ហើយវាអាចផ្ទុកគេហទំព័រឡើងតាមរយៈ API របស់យើងបាន — អ្នកទទួលបានតំណភ្ជាប់ផ្ទាល់ និងតំណទាមទារឯកជនមួយដើម្បីទទួលកម្មសិទ្ធិមកវិញ។

កំពុងធ្វើការនៅក្នុង terminal ជំនួសវិញមែនទេ? ដំណើរការ 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.

តើវិធីងាយស្រួលបំផុតដើម្បីផ្សព្វផ្សាយ HTML ពី Grok គឺជាអ្វី?

មានបីវិធី។ ងាយស្រួលបំផុត៖ ចម្លង HTML ពី Grok រួចបិទភ្ជាប់វាទៅក្នុងប្រអប់នៅលើទំព័រនេះ — យើងនឹងប្រែក្លាយវាទៅជាគេហទំព័រដំណើរការភ្លាមៗ។ ដោយមិនចាំបាច់ធ្វើអ្វីទាល់តែសោះ៖ ចម្លងការណែនាំ AI របស់យើងទៅក្នុងការសន្ទនា Grok របស់អ្នក ហើយវានឹងផ្សព្វផ្សាយតាមរយៈ API របស់យើងជូនអ្នក។ នៅក្នុង terminal៖ ដំណើរការ npx harvis នៅក្នុងថតឯកសាររបស់គេហទំព័រ ហើយវានឹងដេប្លយដោយពាក្យបញ្ជាតែមួយ។

តើខ្ញុំចាំបាច់ត្រូវមានគណនីដើម្បីផ្សព្វផ្សាយទេ?

ការផ្សព្វផ្សាយពីកម្មវិធីរុករកត្រូវការគណនីឥតគិតថ្លៃមួយ ដើម្បីឱ្យគេហទំព័ររបស់អ្នកមានផ្ទះនៅក្នុង dashboard របស់អ្នក។ ចង់មិនចុះឈ្មោះមែនទេ? ដំណើរការ npx harvis នៅក្នុង terminal — វានឹងដេប្លយដោយមិនចាំបាច់មានគណនី ហើយផ្តល់ឱ្យអ្នកនូវតំណទាមទារឯកជនមួយសម្រាប់ពេលក្រោយ។

ចុះបើ Grok ផ្តល់ឯកសារឱ្យខ្ញុំច្រើនជាងមួយ តើត្រូវធ្វើដូចម្តេច?

ដាក់អ្វីៗគ្រប់យ៉ាងទៅក្នុងថតឯកសារតែមួយ — index.html នៅផ្នែកខាងលើ ព្រមទាំង CSS, JavaScript និងរូបភាពដែលវាយោង — រួចអូសថតឯកសារទាំងមូលចូលទៅក្នុងប្រអប់។ រហូតដល់ឯកសារ ៥០០ និង ៥០ MB ក្នុងមួយគេហទំព័រ។

តើវាមានតម្លៃប៉ុន្មាន ហើយគេហទំព័រនឹងនៅដំណើរការបានយូរប៉ុណ្ណា?

វាឥតគិតថ្លៃ ហើយគេហទំព័រដែលបានផ្សព្វផ្សាយមិនផុតកំណត់ទេ — ពួកវានៅតែដំណើរការរហូតដល់អ្នកលុបពួកវាចេញពី dashboard របស់អ្នក។ ផ្ទុកឡើងឡើងវិញពេលណាក៏បាន ហើយតំណភ្ជាប់នៅតែដដែល។

other tools

កំពុងប្រើ AI chat ផ្សេងទៀតមែនទេ?

រូបមន្តស្ទើរតែដូចគ្នាគ្រប់ទីកន្លែង — ជ្រើសរើសឧបករណ៍របស់អ្នកសម្រាប់ជំហានលម្អិត។