{"id":14383919,"url":"https://github.com/apache/cordova-app-hello-world","last_synced_at":"2025-04-05T15:09:28.387Z","repository":{"id":5688017,"uuid":"6898397","full_name":"apache/cordova-app-hello-world","owner":"apache","description":"Apache Cordova Template App","archived":false,"fork":false,"pushed_at":"2022-09-08T04:40:14.000Z","size":13689,"stargazers_count":196,"open_issues_count":0,"forks_count":217,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-03-29T14:11:25.086Z","etag":null,"topics":["cordova","css","hacktoberfest","html","javascript","mobile","nodejs"],"latest_commit_sha":null,"homepage":"https://cordova.apache.org/","language":"CSS","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/apache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-28T08:00:29.000Z","updated_at":"2025-01-28T10:52:32.000Z","dependencies_parsed_at":"2023-01-11T16:51:49.493Z","dependency_job_id":null,"html_url":"https://github.com/apache/cordova-app-hello-world","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-app-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-app-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-app-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-app-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/cordova-app-hello-world/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353746,"owners_count":20925329,"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":["cordova","css","hacktoberfest","html","javascript","mobile","nodejs"],"created_at":"2024-08-28T18:01:03.402Z","updated_at":"2025-04-05T15:09:28.368Z","avatar_url":"https://github.com/apache.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"\u003c!--\n#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n#  KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n--\u003e\n\n# Apache Cordova Hello World Application\n\n[![NPM](https://nodei.co/npm/cordova-app-hello-world.png)](https://nodei.co/npm/cordova-app-hello-world/)\n\nA simple Hello World application that serves two purposes:\n\n- It is used as the default app template when creating new projects\n- It is a reference for building and publishing custom Cordova Templates\n\n## Structure of your template\n\n```text\ntemplate_package\n├── package.json (for your template package to be published on npm)\n├── index.js\n└── template_src (contains template files)\n    ├── package.json\n    ├── config.xml\n    └── (files and folders that make up the template)\n```\n\n### Outside of `template_src`\n\nAll files outside of `template_src` are used to define parameters about the template. These files are not copied over at creation, so feel free to add a README or any other files outside of `template_src`.\n\n#### index.js\n\n`index.js` points to where the template exists. You'll see that `index.js` usually looks like:\n\n```javascript\nconst path = require('path');\n\nmodule.exports = {\n    dirname : path.join(__dirname, 'template_src')\n};\n```\n\n#### package.json\n\nThis `package.json` holds *information about the template itself* like its `name`, `version` etc. All templates should contain the keyword `\"cordova:template\"` so that the template is searchable on npm. For example:\n\n```json\n{\n    \"name\": \"cordova-example-template\",\n    \"version\": \"1.0.0\",\n    \"...\": \"...\",\n    \"keywords\": [\n        \"cordova:template\"\n    ]\n}\n```\n\n### Inside of `template_src`\n\nAll files inside of `template_src` compose the template from which a user would desire in order to create their project. Everything in this folder is copied over to the created project.\n\nThe package.json in `template_src` should be filled with information that describes *the project that would be created from the template*.\n\nIf you want to include `.gitignore` files in your template, you have to name them `gitignore` (without a leading dot) instead. They will be renamed to `.gitignore` upon template expansion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcordova-app-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fcordova-app-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcordova-app-hello-world/lists"}