{"id":26193302,"url":"https://github.com/nstechbytes/html-view","last_synced_at":"2026-04-17T13:02:23.784Z","repository":{"id":277086470,"uuid":"931024873","full_name":"NSTechBytes/html-view","owner":"NSTechBytes","description":"View and preview HTML files inside VS Code.","archived":false,"fork":false,"pushed_at":"2025-02-12T10:23:30.000Z","size":81,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T02:32:20.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NSTechBytes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-11T15:47:46.000Z","updated_at":"2025-04-23T11:44:02.000Z","dependencies_parsed_at":"2025-02-12T04:29:51.503Z","dependency_job_id":null,"html_url":"https://github.com/NSTechBytes/html-view","commit_stats":null,"previous_names":["nstechbytes/html-view"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/NSTechBytes/html-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSTechBytes%2Fhtml-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSTechBytes%2Fhtml-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSTechBytes%2Fhtml-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSTechBytes%2Fhtml-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NSTechBytes","download_url":"https://codeload.github.com/NSTechBytes/html-view/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSTechBytes%2Fhtml-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31930100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-12T01:39:02.856Z","updated_at":"2026-04-17T13:02:23.763Z","avatar_url":"https://github.com/NSTechBytes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🖥️ **HTML View - VS Code Extension**  \n📄 **Preview and View HTML files inside VS Code with ease!**  \n\n\n\n### 🔥 **Features**  \n✅ **Live HTML Preview** in a WebView panel  \n✅ **Supports Linked CSS \u0026 JS Files**  \n✅ **Handles Internal Links (`#about`) Correctly**  \n✅ **Opens External Links in Browser**  \n✅ **Supports `CTRL + ALT + V` Shortcut for Quick Preview**  \n\n---\n\n### 🚀 **Installation**  \n#### **From VS Code Marketplace**  \n1. Open **VS Code**  \n2. Go to **Extensions** (`Ctrl + Shift + X`)  \n3. Search for `\"HTML View\"`  \n4. Click **Install**  \n\n#### **Manual Installation**  \n1. Download the `.vsix` file from [Releases](https://github.com/NSTechBytes/html-view/releases)  \n2. Open VS Code and go to `Extensions` → Click `...` → `Install from VSIX`  \n3. Select the downloaded `.vsix` file  \n\n---\n\n### 🎯 **Usage**  \n#### **Method 1: Command Palette**  \n1. Open an HTML file in VS Code  \n2. Press `Ctrl + Shift + P`  \n3. Type `\"Preview HTML\"` and press **Enter**  \n\n#### **Method 2: Keyboard Shortcut**  \n- Press `Ctrl + Alt + V` to instantly preview the current HTML file  \n\n---\n\n### ⚙️ **How It Works**  \n- The extension **creates a WebView panel** to render HTML files  \n- It **ensures that internal fragment links (`#about`) stay inside the WebView**  \n- **External links (`https://example.com`) open in your default browser**  \n- It **resolves relative paths for CSS/JS files** automatically  \n\n---\n\n### 📌 **Keybindings**  \n| Command            | Description           | Shortcut      |  \n|-------------------|-------------------|--------------|  \n| `htmlView.preview` | Open HTML Preview | `Ctrl + Alt + V` |  \n\n---\n\n### 🛠️ **Development**  \n#### **Clone \u0026 Run Locally**  \n```sh\ngit clone https://github.com/NSTechBytes/html-view.git\ncd html-view\nnpm install\n```\n#### **Run in VS Code**  \n1. Open the project in VS Code  \n2. Press `F5` to start a new VS Code instance with the extension loaded  \n\n---\n\n### 🐛 **Bug Reports \u0026 Suggestions**  \nFound a bug? Have an idea?  \n👉 **[Create an Issue](https://github.com/NSTechBytes/html-view/issues)**  \n\n---\n\n### ❤️ **Support**  \nIf you like this extension, consider ⭐ starring the repo!  \n\n---\n\n### 🏆 **Author**  \n**Nasir Shahbaz**  \n🔗 [GitHub](https://github.com/NSTechBytes) | [Website](https://nstechbytes.pages.dev/)  \n\n---\n\n### 📜 **License**  \nApache 2.0 License. See [LICENSE](LICENSE) for details.  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstechbytes%2Fhtml-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnstechbytes%2Fhtml-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstechbytes%2Fhtml-view/lists"}