{"id":19294118,"url":"https://github.com/mdecker-mobilecomputing/ionic_lottozahlen","last_synced_at":"2026-02-10T12:31:19.874Z","repository":{"id":119792414,"uuid":"367982118","full_name":"MDecker-MobileComputing/Ionic_Lottozahlen","owner":"MDecker-MobileComputing","description":"Ionic app to generate numbers for German lottery (6 out of 49) to demonstrate PWAs.","archived":false,"fork":false,"pushed_at":"2024-06-24T08:29:07.000Z","size":6097,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T07:51:31.603Z","etag":null,"topics":["gh-pages","github-actions","ionic","pwa"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MDecker-MobileComputing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-05-16T20:47:48.000Z","updated_at":"2024-06-24T08:29:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf31f7b9-841c-4908-be89-c6e2a8cc8b82","html_url":"https://github.com/MDecker-MobileComputing/Ionic_Lottozahlen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDecker-MobileComputing%2FIonic_Lottozahlen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDecker-MobileComputing%2FIonic_Lottozahlen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDecker-MobileComputing%2FIonic_Lottozahlen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDecker-MobileComputing%2FIonic_Lottozahlen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MDecker-MobileComputing","download_url":"https://codeload.github.com/MDecker-MobileComputing/Ionic_Lottozahlen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239574772,"owners_count":19661813,"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":["gh-pages","github-actions","ionic","pwa"],"created_at":"2024-11-09T22:37:12.650Z","updated_at":"2026-02-10T12:31:19.831Z","avatar_url":"https://github.com/MDecker-MobileComputing.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lottozahlenwürfel mit Ionic #\n\n\u003cbr\u003e\n\nThis repository contains a simple Ionic app using Angular and Capacitor, whose purpose is it to generate random numbers for the German lottery (6 out of 49).\n\n\u003cbr\u003e\n\nThe app is also offered as [Progressive Web App (PWA)](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps), which can be accessed under the following URL:\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;  https://mdecker-mobilecomputing.github.io/Ionic_Lottozahlen/\n\n\u003cbr\u003e\n\n----\n\n## Screenshots of the Android app ##\n\n\u003cbr\u003e\n\n![Screenshot 1](screenshot_1.png)   ![Screenshot 2](screenshot_2.png)\n\n![Screenshot 3](screenshot_3.png)\n\n\u003cbr\u003e\n\n----\n\n## Setup of Ionic project for PWA ##\n\n\u003cbr\u003e\n\nCreate the project with Capacitor:\n```\nionic start lottozahlen blank --type=angular --capacitor\n```\n\n\u003cbr\u003e\n\nThe minimum version of capacitor required is 3.0. Use the following command to check the version of capacitor:\n```\nnpx cap --version\n```\nIf the version according to the output of this command is less than 3.0, then use the following command to upgrade capacitor:\n```\nnpm install @capacitor/cli@next @capacitor/core@next\n```\n\n\u003cbr\u003e\n\nThe following command is needed to turn the app into a PWA:\n```\nng add @angular/pwa\n```\nThe commands adds the ServiceWorker and the Web App Manifest (see [here](/src/manifest.webmanifest)).\n\n\u003cbr\u003e\n\nTo generate the PWA to be served on *GitHub Pages*, on Windows the batch file [bauePwaFuerGitHubPages.bat](bauePwaFuerGitHubPages.bat) \nhas to be executed, while on MacOS and Linux the Bash script [bauePwaFuerGitHubPages.sh](bauePwaFuerGitHubPages.sh) has to be executed. \nAfter this the (updated) PWA should be in folder [docs/](docs/).\n\nTo generate the PWA to be served by [Firebase Hosting](https://firebase.google.com/docs/hosting/) there are two similar scripts, namely \n[bauePwaFuerFirebaseHosting.bat](bauePwaFuerFirebaseHosting.bat) and [bauePwaFuerFirebaseHosting.sh](bauePwaFuerFirebaseHosting.sh).\n\nWhen you push the new files in folder `docs/` to the GitHub repository, then the updated app should be available under the following \nURL within a few minutes: https://mdecker-mobilecomputing.github.io/Ionic_Lottozahlen/\n\n\u003cbr\u003e\n\n----\n\n## License ##\n\n\u003cbr\u003e\n\nSee the [LICENSE file](LICENSE.md) for license rights and limitations (BSD 3-Clause License)\nfor the files in this repository.\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdecker-mobilecomputing%2Fionic_lottozahlen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdecker-mobilecomputing%2Fionic_lottozahlen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdecker-mobilecomputing%2Fionic_lottozahlen/lists"}