{"id":13554817,"url":"https://github.com/WebReflection/create-viperhtml-app","last_synced_at":"2025-04-03T07:32:59.762Z","repository":{"id":51703203,"uuid":"95678017","full_name":"WebReflection/create-viperhtml-app","owner":"WebReflection","description":"A basic viperHTML + hyperHTML setup","archived":false,"fork":false,"pushed_at":"2022-12-07T01:31:53.000Z","size":295,"stargazers_count":35,"open_issues_count":9,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-09T15:18:20.475Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebReflection.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-28T14:30:34.000Z","updated_at":"2021-02-28T22:46:23.000Z","dependencies_parsed_at":"2023-01-23T14:35:13.426Z","dependency_job_id":null,"html_url":"https://github.com/WebReflection/create-viperhtml-app","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fcreate-viperhtml-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fcreate-viperhtml-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fcreate-viperhtml-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fcreate-viperhtml-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebReflection","download_url":"https://codeload.github.com/WebReflection/create-viperhtml-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222935627,"owners_count":17060398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-08-01T12:02:55.447Z","updated_at":"2024-11-04T03:31:20.117Z","avatar_url":"https://github.com/WebReflection.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# create-viperhtml-app\n\n[![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000\u0026style=flat)](https://github.com/WebReflection/donate)\n\nA basic [viperHTML](https://github.com/WebReflection/viperHTML) + [hyperHTML](https://github.com/WebReflection/hyperHTML) setup based on [Webpack](https://webpack.js.org/) and with native subclassing capabilities, including Custom Elements.\n\n\n\n### How To Start\n\n`npm install` to bring all dependencies in, then `npm run build` whenever you change assets or simply `npm run watch` to automatically update all new files.\n\nTo test the example page, just run the usual `npm start`.\n\n\n\n### Folders Structure\n\n  * **cdn** contains all optimized on-demand static assets. It's automatically managed, nothing to do there.\n  * **public** is the actual public site content. It contains few static assets but also JS bundles. You can add CSS bundles too (coming soon).\n  * **viper** is where the actual app code is defined, it has at least these subfolders: **client**, for the browser related client-side code, **server**, for the HTTP based back-end service, and **view**, for the external files used either on the client, on the server, or in both, to generate the whole page, or partial content.\n\nYou can **surf each folder inside [./viper](./viper/)** one to know more about each role.\n\n![folders structure](./public/img/folders.png)\n\n\n#### F.A.Q.\n\n  * can I use _express_ or others? Sure you can, this is just a basic setup.\n  * how to cleanup _tinyCDN_ cached content? You can simply `rm -rf cdn/*` or `npm run purge` before re-deploying. _tinyCDN_ gives for granted if a file name is the same, the content must be too. It really works in that sense.\n  * how come the example page shows with _hiccups_? It's a demonstration that _viperHTML_ can also render partial asynchronous chunks, no matter in which order these are resolved. You can remove the array of promises from the `body` info of the server `model` and re-test anything you'd like to\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebReflection%2Fcreate-viperhtml-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWebReflection%2Fcreate-viperhtml-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebReflection%2Fcreate-viperhtml-app/lists"}