{"id":13446969,"url":"https://github.com/android-js/androidjs","last_synced_at":"2025-03-21T17:30:33.948Z","repository":{"id":34416665,"uuid":"178909975","full_name":"android-js/androidjs","owner":"android-js","description":"Platform to build android app using node js","archived":false,"fork":false,"pushed_at":"2023-02-28T17:04:58.000Z","size":2532,"stargazers_count":472,"open_issues_count":172,"forks_count":110,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-03-08T01:33:19.077Z","etag":null,"topics":["android-js","nodejs","typescript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/android-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"androidjs","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-04-01T17:08:46.000Z","updated_at":"2025-02-22T07:30:48.000Z","dependencies_parsed_at":"2024-02-17T09:44:47.613Z","dependency_job_id":null,"html_url":"https://github.com/android-js/androidjs","commit_stats":{"total_commits":68,"total_committers":5,"mean_commits":13.6,"dds":"0.19117647058823528","last_synced_commit":"e4f9484bedf0e434696059e1690bf3b0e4547d4c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android-js%2Fandroidjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android-js%2Fandroidjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android-js%2Fandroidjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android-js%2Fandroidjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/android-js","download_url":"https://codeload.github.com/android-js/androidjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244288781,"owners_count":20429075,"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":["android-js","nodejs","typescript"],"created_at":"2024-07-31T05:01:04.468Z","updated_at":"2025-03-21T17:30:33.574Z","avatar_url":"https://github.com/android-js.png","language":"JavaScript","funding_links":["https://ko-fi.com/androidjs"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cimg src = \"https://avatars3.githubusercontent.com/u/48679363\" width = \"150px\"\u003e\n\n# Android JS 2.0\n[Android JS](https://android-js.github.io) framework lets you write android applications\nusing JavaScript, HTML and CSS or `React Native` with [Node.js](https://nodejs.org/) support. It is based on [Node.js](https://nodejs.org/).\nIt allows you to write fully featured android application in `node js` and provide you environment to use any `npm` package in your android app (i.e. SocketIO, fs, etc..)\n\n## Discussion\n[Discord Server](https://discord.gg/tR2fEqxHrT) for support and discussion  \n[Slack Channel](https://join.slack.com/t/androidjs/shared_invite/zt-13gx5nw5j-npeTv4vrV71X81saZNStHA) for support and discussion\n\n## Installation\n\nTo install Android JS binaries, use [`npm`](https://docs.npmjs.com/).\n\n```sh\nnpm install androidjs\n```\n\nInstall Android JS project [generator and builder](https://www.npmjs.com/package/androidjs-builder)\n```sh\nnpm install -g androidjs-builder\n```\n\n## Getting started\n\n```sh\nmkdir myfirstapp\ncd myfirstapp\nandroidjs g\nnpm install\n```\nit will generate a sample project inside `myfirstapp`\n```text\n myfirstapp\n    |__ assets\n    |       |__ ipc, css, js\n    |\n    |__ views\n    |       |__ index.html\n    |\n    |__ main.js\n    |__ package.json\n```\n- `main.js` is the main file or we can say it is back process of your app which execute all the code written in node, so you have to write all the node js code inside `main.js`\n- `index.html` is the first view which is render by app initially\n- `package.json` to keep track of all your node packages\n- `assets` to store all assets of your app\n\n### Build your app\n\n```sh\ncd myfirstapp\nandroidjs b\n```\nit will generate apk file inside `dist` folder\n\nif this `build` command `fails` or generated any error, try to build with `force` command\n\n```sh\nandroidjs b -f\n```\n\n## Quick start\n\nclone and run the\n[android-js/sample-app](https://github.com/android-js/sample-app)\nrepository to see a minimal Android JS app in action:\n\n```sh\ngit clone https://github.com/android-js/sample-app\ncd chat-app\nnpm install\nandroidjs b -f\n```\nit will generate an apk inside dist folder.\n\n## Resources for learning Android JS\n\n- [android-js.github.io/androidjs/](https://android-js.github.io/docs/) - all of Android JS's documentation\n- [android-js/androidjs/sample-app](https://github.com/android-js/sample-app) - sample starter apps created by the community\n\n## License\n\n[MIT](https://github.com/android-js/androidjs/blob/master/LICENSE)\n\nWhen using the Android JS or other GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid-js%2Fandroidjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroid-js%2Fandroidjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid-js%2Fandroidjs/lists"}