{"id":21659042,"url":"https://github.com/PixelsCommander/polymer-native","last_synced_at":"2025-07-17T21:32:17.738Z","repository":{"id":146587475,"uuid":"58212761","full_name":"PixelsCommander/polymer-native","owner":"PixelsCommander","description":"Develop completely native mobile apps with Web Components","archived":false,"fork":false,"pushed_at":"2016-07-13T14:24:32.000Z","size":4010,"stargazers_count":46,"open_issues_count":10,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-16T14:34:49.656Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/PixelsCommander.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,"publiccode":null,"codemeta":null}},"created_at":"2016-05-06T14:26:30.000Z","updated_at":"2024-03-16T10:06:46.000Z","dependencies_parsed_at":"2023-05-02T18:02:10.044Z","dependency_job_id":null,"html_url":"https://github.com/PixelsCommander/polymer-native","commit_stats":{"total_commits":44,"total_committers":2,"mean_commits":22.0,"dds":"0.022727272727272707","last_synced_commit":"d886fd3088a48abe2bdfabdd2b8f08e7114da7d9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PixelsCommander%2Fpolymer-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PixelsCommander%2Fpolymer-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PixelsCommander%2Fpolymer-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PixelsCommander%2Fpolymer-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PixelsCommander","download_url":"https://codeload.github.com/PixelsCommander/polymer-native/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226305130,"owners_count":17603745,"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-25T09:30:20.050Z","updated_at":"2024-11-25T09:30:37.639Z","avatar_url":"https://github.com/PixelsCommander.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"![Polymer Native](https://github.com/PixelsCommander/polymer-native/blob/master/figures/logo.png?raw=true)\n\nNative UI framework based on Web Components\n===========================================\n\n[![Join the chat at https://gitter.im/PixelsCommander/polymer-native](https://badges.gitter.im/PixelsCommander/polymer-native.svg)](https://gitter.im/PixelsCommander/polymer-native?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nWant to have superpowers of React Native without knowing all the React, Flux, Redux, Webpack? Here you go. Feel free to use HTML/CSS which you know so good and VanillaJS to develop completely native applications for mobile platforms. Also could be used with any JS framework.\n\nExample app index.html\n----------------------\n\n```html\n\n\u003cstyle\u003e\n    body {\n        margin: 20px;\n    }\n\n    #icon {\n        display: inline-block;\n        margin-bottom: 20px;\n    }\n\n    #submit-input {\n        width: 100%;\n    }\n\n    button {\n        margin-bottom: 10px;\n        width: 100%;\n    }\n\u003c/style\u003e\n\n\u003cbody\u003e\n    \u003cimg is=\"native-image\" width=\"256\" height=\"256\" id=\"icon\" src=\"img/lenna.png\"\u003e\u003c/img\u003e\n    \u003cinput is=\"native-input\" id=\"submit-input\" value=\"Hello world!\"\u003e\u003c/input\u003e\n    \u003cbutton is=\"native-button\" onclick=\"alert(document.getElementById('submit-input').value);\"\u003eAlert input value\u003c/button\u003e\n\u003c/body\u003e\n```\n\nWill result in app looking in the same way in browser and on mobile device or emulator but the difference is that in browser all controls are web and on mobile UI is native which leads to higher user satisfaction without additional job done.\n\nResult iOS (native app)\n-------------\n![Polymer Native app sample](https://github.com/PixelsCommander/polymer-native/blob/master/figures/app-screen.png?raw=true)\n\nResult Chrome (web app)\n-------------\n![Polymer Native app sample](https://github.com/PixelsCommander/polymer-native/blob/master/figures/app-screen-browser.png?raw=true)\n\nMotivation\n----------\nCurrently mobile devices are powerful enough to run mobile web applications at 60 FPS however controls behavior (buttons, sliders, form elements) is different between web and native platforms. Experienced user notice this difference immediately which results in lower user satisfaction for web based apps because they got used to consistent UI behavior on mobile platform of their choice. Creating native facades for web components results in better user experience without additional effort or knowledge needed.\n\nHow to\n------\n\nInstalling via NPM\n\n```bash\n    npm install polymer-native -g\n```\n\nInitializing new project\n\n```bash\n    polymer-native init MyTestProject\n```\n\nRunning project on iOS\n\nOpen project in x-code and run it with cmd+r\n\nContributor guide\n-----------------\n\nFork, clone and run ```npm install``` in project folder.\nRun ```gulp``` to start continous build with watchers which will run build every time you edit project files.\nTest by opening ```./partials/www/index.html``` in browser.\nAfter changes are made create PR into original repository.\n\nLicense\n-------\nMIT: http://mit-license.org/\n\nCopyright 2016 Denis Radin aka [PixelsCommander](http://pixelscommander.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPixelsCommander%2Fpolymer-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPixelsCommander%2Fpolymer-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPixelsCommander%2Fpolymer-native/lists"}