Download index.html from GabHtml/lovelyscript-dreamweaver: direct link, hf CLI and curl.
- Browser
- Download file 3.43 kB
-
https://huggingface.co/spaces/GabHtml/lovelyscript-dreamweaver/resolve/main/index.html
- Command line
-
hf download hf://spaces/GabHtml/lovelyscript-dreamweaver/index.html
-
curl -L -o index.html https://huggingface.co/spaces/GabHtml/lovelyscript-dreamweaver/resolve/main/index.html
3.43 kB
| <html lang="en" class="h-full"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>LovelyScript - Visual Novel Engine</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/editor-sidebar.js"></script> | |
| <script src="components/preview-window.js"></script> | |
| </head> | |
| <body class="bg-pink-50 h-full flex flex-col"> | |
| <lovely-navbar></lovely-navbar> | |
| <div class="flex flex-1 overflow-hidden"> | |
| <editor-sidebar></editor-sidebar> | |
| <main class="flex-1 flex flex-col overflow-hidden"> | |
| <div class="flex-1 flex overflow-hidden"> | |
| <div class="w-1/2 border-r border-pink-200 overflow-auto p-4"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-bold text-pink-800">Script Editor</h2> | |
| <button id="run-button" class="bg-pink-600 text-white px-3 py-1 rounded-md hover:bg-pink-700 transition"> | |
| <i data-feather="play" class="w-4 h-4"></i> Run | |
| </button> | |
| </div> | |
| <textarea id="script-editor" class="w-full h-full p-4 font-mono text-sm bg-white rounded-lg border border-pink-300 focus:ring-2 focus:ring-pink-500 focus:border-transparent" spellcheck="false"># LovelyScript Example | |
| character "Aoi" "Aoi" "pink" | |
| character "Haru" "Haru" "blue" | |
| background "park_day" | |
| scene start | |
| show Aoi happy | |
| "Aoi" "Hello! Welcome to LovelyScript!" | |
| show Haru shy | |
| "Haru" "I hope you enjoy creating visual novels with us~" | |
| menu | |
| "Option 1": | |
| "Aoi" "You chose option 1!" | |
| "Option 2": | |
| "Haru" "Option 2 is great too!" | |
| jump next_scene | |
| scene next_scene | |
| background "cafe" | |
| show Aoi surprised | |
| "Aoi" "Wow, this cafe is beautiful!" | |
| show Haru happy | |
| "Haru" "I come here often. The cakes are delicious." | |
| end</textarea> | |
| </div> | |
| <preview-window></preview-window> | |
| </div> | |
| <div class="border-t border-pink-200 bg-white p-3"> | |
| <div class="flex items-center space-x-4"> | |
| <button class="flex items-center space-x-1 text-pink-700 hover:text-pink-900"> | |
| <i data-feather="save" class="w-4 h-4"></i> | |
| <span>Save</span> | |
| </button> | |
| <button class="flex items-center space-x-1 text-pink-700 hover:text-pink-900"> | |
| <i data-feather="folder" class="w-4 h-4"></i> | |
| <span>Open</span> | |
| </button> | |
| <button class="flex items-center space-x-1 text-pink-700 hover:text-pink-900"> | |
| <i data-feather="book" class="w-4 h-4"></i> | |
| <span>Documentation</span> | |
| </button> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |