របៀបផ្សព្វផ្សាយ HTML ពី Gemini chat
Gemini writes solid HTML and its Canvas mode even shows a live preview — but that preview lives inside your Google account, not on the web. To send someone a link that just works, the code needs a host. Here's the fastest free way to do it.
Open Gemini- 01
Open the code
In Canvas, switch from the preview to the code view. In a regular chat answer, your page is in a code block — scroll to it.
- 02
Copy it
Click the copy icon on the code block (or select all inside Canvas and copy). That's your entire website on the clipboard.
- 03
រក្សាទុកជា index.html
បិទភ្ជាប់ code ទៅក្នុងកម្មវិធីកែសម្រួលអត្ថបទណាមួយ — Notepad, TextEdit, VS Code — រួចរក្សាទុកឯកសារជា index.html។ ឈ្មោះនេះសំខាន់៖ វាជាអ្វីដែលកម្មវិធីរុករកចាត់ទុកជាទំព័រដើមរបស់អ្នក។
- 04
ទម្លាក់វាទៅក្នុងប្រអប់ខាងក្រោម
អូស index.html (ឬថតឯកសារទាំងមូល) ចូលទៅក្នុងប្រអប់ផ្ទុកឡើងនៅលើទំព័រនេះ រួចចុចផ្សព្វផ្សាយ។ គេហទំព័ររបស់អ្នកនឹងទទួលបានអាសយដ្ឋានផ្ទាល់ខ្លួនរបស់វាភ្លាមៗ។
- 05
ចែករំលែកតំណរបស់អ្នក
គ្រាន់តែប៉ុណ្ណឹង — ផ្ញើ URL ទៅឱ្យអ្នកណាក៏បាន។ អ្នកអាចប្តូរឈ្មោះគេហទំព័រ ធ្វើបច្ចុប្បន្នភាពឯកសារ ឬលុបវាចេញពី dashboard របស់អ្នកនៅពេលណាដែលអ្នកចង់។
Where Gemini keeps your page: Canvas
Gemini's Canvas preview renders inside your Google session and nowhere else — there's no public URL behind it, so there's nothing for us to download. Gemini can write the file to a public GitHub gist for you, though, and a gist's raw link works below. Otherwise the code view and the clipboard are the shortest path.
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 Gemini របស់អ្នកនៅទីនេះ
ឯកសារតែមួយ ឬថតឯកសារទាំងមូល — អ្នកនឹងទទួលបានតំណភ្ជាប់ផ្ទាល់ភ្លាមៗនៅពេលដែលវាត្រូវបានផ្សព្វផ្សាយ។
អូសគេហទំព័ររបស់អ្នកមកទីនេះ
ទម្លាក់ថតឯកសារ ឬឯកសារ ZIP ដែលមាន index.html របស់អ្នក — ឬគ្រាន់តែបិទភ្ជាប់ HTML ពី clipboard របស់អ្នក — ហើយយើងនឹងដាក់វាឱ្យដំណើរការលើអ៊ីនធឺណិតក្នុងរយៈពេលប៉ុន្មានវិនាទី។ មិនចាំបាច់រៀបចំ មិនចាំបាច់ config មិនចាំបាច់ឈឺក្បាលទេ។
ឬអនុញ្ញាតឱ្យ Gemini ផ្សព្វផ្សាយវាជូនអ្នក
រំលងការចម្លងទាំងស្រុង។ ចម្លងការណែនាំដែលរៀបចំរួចរបស់យើង បិទភ្ជាប់វាទៅក្នុងការសន្ទនា Gemini របស់អ្នក ហើយវាអាចផ្ទុកគេហទំព័រឡើងតាមរយៈ API របស់យើងបាន — អ្នកទទួលបានតំណភ្ជាប់ផ្ទាល់ និងតំណទាមទារឯកជនមួយដើម្បីទទួលកម្មសិទ្ធិមកវិញ។
កំពុងធ្វើការនៅក្នុង terminal ជំនួសវិញមែនទេ? ដំណើរការ npx harvis — មិនចាំបាច់មានគណនីទេ។
សំណួរអំពីការផ្សព្វផ្សាយ Gemini
Gemini Canvas already previews my page — why do I need hosting?
The Canvas preview only exists inside your Gemini session. There's no public URL behind it, so nobody else can open it. Publishing here gives the page its own address anyone can visit.
Does this work with pages built in Google AI Studio?
Yes. AI Studio lets you download your app's files — grab the folder, make sure it has an index.html, and drag the whole thing into the box below.
តើវិធីងាយស្រួលបំផុតដើម្បីផ្សព្វផ្សាយ HTML ពី Gemini គឺជាអ្វី?
មានបីវិធី។ ងាយស្រួលបំផុត៖ ចម្លង HTML ពី Gemini រួចបិទភ្ជាប់វាទៅក្នុងប្រអប់នៅលើទំព័រនេះ — យើងនឹងប្រែក្លាយវាទៅជាគេហទំព័រដំណើរការភ្លាមៗ។ ដោយមិនចាំបាច់ធ្វើអ្វីទាល់តែសោះ៖ ចម្លងការណែនាំ AI របស់យើងទៅក្នុងការសន្ទនា Gemini របស់អ្នក ហើយវានឹងផ្សព្វផ្សាយតាមរយៈ API របស់យើងជូនអ្នក។ នៅក្នុង terminal៖ ដំណើរការ npx harvis នៅក្នុងថតឯកសាររបស់គេហទំព័រ ហើយវានឹងដេប្លយដោយពាក្យបញ្ជាតែមួយ។
តើខ្ញុំចាំបាច់ត្រូវមានគណនីដើម្បីផ្សព្វផ្សាយទេ?
ការផ្សព្វផ្សាយពីកម្មវិធីរុករកត្រូវការគណនីឥតគិតថ្លៃមួយ ដើម្បីឱ្យគេហទំព័ររបស់អ្នកមានផ្ទះនៅក្នុង dashboard របស់អ្នក។ ចង់មិនចុះឈ្មោះមែនទេ? ដំណើរការ npx harvis នៅក្នុង terminal — វានឹងដេប្លយដោយមិនចាំបាច់មានគណនី ហើយផ្តល់ឱ្យអ្នកនូវតំណទាមទារឯកជនមួយសម្រាប់ពេលក្រោយ។
ចុះបើ Gemini ផ្តល់ឯកសារឱ្យខ្ញុំច្រើនជាងមួយ តើត្រូវធ្វើដូចម្តេច?
ដាក់អ្វីៗគ្រប់យ៉ាងទៅក្នុងថតឯកសារតែមួយ — index.html នៅផ្នែកខាងលើ ព្រមទាំង CSS, JavaScript និងរូបភាពដែលវាយោង — រួចអូសថតឯកសារទាំងមូលចូលទៅក្នុងប្រអប់។ រហូតដល់ឯកសារ ៥០០ និង ៥០ MB ក្នុងមួយគេហទំព័រ។
តើវាមានតម្លៃប៉ុន្មាន ហើយគេហទំព័រនឹងនៅដំណើរការបានយូរប៉ុណ្ណា?
វាឥតគិតថ្លៃ ហើយគេហទំព័រដែលបានផ្សព្វផ្សាយមិនផុតកំណត់ទេ — ពួកវានៅតែដំណើរការរហូតដល់អ្នកលុបពួកវាចេញពី dashboard របស់អ្នក។ ផ្ទុកឡើងឡើងវិញពេលណាក៏បាន ហើយតំណភ្ជាប់នៅតែដដែល។
កំពុងប្រើ AI chat ផ្សេងទៀតមែនទេ?
រូបមន្តស្ទើរតែដូចគ្នាគ្រប់ទីកន្លែង — ជ្រើសរើសឧបករណ៍របស់អ្នកសម្រាប់ជំហានលម្អិត។