{"id":20514098,"url":"https://github.com/webreflection/nativehtml","last_synced_at":"2025-08-08T17:21:49.668Z","repository":{"id":65993231,"uuid":"94014732","full_name":"WebReflection/nativeHTML","owner":"WebReflection","description":"coming soon","archived":false,"fork":false,"pushed_at":"2017-08-24T11:03:36.000Z","size":24,"stargazers_count":42,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-14T00:05:15.409Z","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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-06-11T15:46:44.000Z","updated_at":"2021-02-03T16:48:15.000Z","dependencies_parsed_at":"2023-03-10T23:27:05.932Z","dependency_job_id":null,"html_url":"https://github.com/WebReflection/nativeHTML","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2FnativeHTML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2FnativeHTML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2FnativeHTML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2FnativeHTML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebReflection","download_url":"https://codeload.github.com/WebReflection/nativeHTML/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799954,"owners_count":21163404,"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-11-15T21:14:46.913Z","updated_at":"2025-04-14T00:05:29.163Z","avatar_url":"https://github.com/WebReflection.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nativeHTML\n\n[![License: ISC](https://img.shields.io/badge/License-ISC-yellow.svg)](https://opensource.org/licenses/ISC) [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000\u0026style=flat)](https://github.com/WebReflection/donate)\n\n[hyperHTML](https://github.com/WebReflection/hyperHTML) ease and [NativeScript](https://www.nativescript.org/) performance for Android and iOS.\n\n\u003cimg alt=\"nativeHTML logo\" src=\"https://webreflection.github.io/hyperHTML/logo/nativehtml.svg\" width=\"116\" height=\"81\"\u003e\n\n- - -\n\n**work in progress**\n\n- - -\n\n### Basic Setup\n\nThere is an official [documentation page](http://docs.nativescript.org/start/quick-setup) on how to setup your system.\n\nOn **ArchLinux** though, you can go through [this post](https://medium.com/@WebReflection/testing-nativescript-on-arch-linux-a19511cd9521) or type the following:\n\n```sh\n# install android stuff via archibold, IF NEEDED\nbash \u003c(curl -s archibold.io/install/android)\n# setup env and read terms and conditions\nsudo $ANDROID_HOME/tools/bin/sdkmanager \"tools\" \"platform-tools\" \"build-tools;25.0.3\" \"extras;android;m2repository\" \"extras;google;m2repository\"\n\n# install NativeScript (tsc)\nnpm install -g nativescript --unsafe-perm\n\n# install virtual device\nyaourt -S --needed genymotion\n```\n\nChose **Custom Phone — 7.1.0 API 25** as [Genymotion](https://www.genymotion.com/) device after launching it and creating a free developer account.\n\n#### Find the device\nOnce android tools are installed and genymotion is running, type the following:\n```sh\ntns device android --available-devices\n```\nYou should see a list of devices and relative IDs.\n\n![available devices](https://cdn-images-1.medium.com/max/2000/1*V7ufmD5KT5rTK3aLMt_lmw.png)\n\n#### Run the basic example\nFrom your developer folder, we are going to create a new NativeScript Hello World demo.\n```sh\ntns create ns-hello-world --template tns-template-hello-world\ncd ns-hello-world\n```\n\nAt this point we can launch for the first time the example.\nThe first time it will take a little longer than usual because it needs to install extra software.\n\n```sh\n# be sure the device id is your correct one\n# tns device android --available-devices\ntns run android --device 192.168.1.2:3456\n# NOTE: if you have one device only\n#       you can just type tns run android\n```\n\nIf everything went fine, you should already see an Hello World application.\n\n#### Test nativeHTML\nFrom the same folder, the `ns-hello-world` one, clone this repository and copy some file over.\n```sh\n# install nativehtml\nnpm install --save nativehtml\n\n# copy the default example page\ncp node_modules/nativehtml/examples/default-app.js app/main-page.js\n\n# deploy via tns deploy android\ntns deploy android --device 192.168.1.2:3456\n# NOTE: you can omit --device xx.xx.xx if only 1 device\n\n# run the debugger\ntns debug android\n# optionally add --debug-brk\n```\n\nOnce the debugger shows you the Chrome/ium link, go there and play the code.\n\nYou should see the `app/main-page.js` running through hyperHTML and basicHTML.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebreflection%2Fnativehtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebreflection%2Fnativehtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebreflection%2Fnativehtml/lists"}