{"id":15098165,"url":"https://github.com/ionic-team/tutorial-photo-gallery-vue","last_synced_at":"2025-06-10T21:34:21.474Z","repository":{"id":42972015,"uuid":"296085544","full_name":"ionic-team/tutorial-photo-gallery-vue","owner":"ionic-team","description":"Photo Gallery Tutorial: Ionic Vue and Capacitor","archived":false,"fork":false,"pushed_at":"2023-01-19T18:18:43.000Z","size":2195,"stargazers_count":64,"open_issues_count":6,"forks_count":43,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-01-28T04:41:14.711Z","etag":null,"topics":["capacitor","ionic","ionic-framework","vue","vue3"],"latest_commit_sha":null,"homepage":"https://ionicframework.com/docs/vue/your-first-app","language":"CSS","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/ionic-team.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}},"created_at":"2020-09-16T16:16:09.000Z","updated_at":"2024-12-27T07:42:01.000Z","dependencies_parsed_at":"2023-02-11T15:15:37.253Z","dependency_job_id":null,"html_url":"https://github.com/ionic-team/tutorial-photo-gallery-vue","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/ionic-team%2Ftutorial-photo-gallery-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Ftutorial-photo-gallery-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Ftutorial-photo-gallery-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Ftutorial-photo-gallery-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionic-team","download_url":"https://codeload.github.com/ionic-team/tutorial-photo-gallery-vue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237172355,"owners_count":19266657,"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":["capacitor","ionic","ionic-framework","vue","vue3"],"created_at":"2024-09-25T16:44:06.162Z","updated_at":"2025-02-04T18:31:59.826Z","avatar_url":"https://github.com/ionic-team.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Your First Ionic App: Photo Gallery (Ionic Vue and Capacitor)\n\nGet started with Ionic by building a photo gallery app that runs on iOS, Android, and the web - with just one codebase. This is the complete project referenced in the [\"Your First App: Vue\" guide](https://ionicframework.com/docs/vue/your-first-app). Follow along to create a complete CRUD (create-read-update-delete) experience.\n\nPowered by [Ionic Vue](https://ionicframework.com/docs/vue/overview) (web app) and [Capacitor](https://capacitorjs.com) (native app runtime).\n\n## How It Works\n\nAfter the user navigates to Tab 2 (Photos), they can tap/click on the camera button to open up the device's camera. After taking or selecting a photo, it's stored permanently into the device's filesystem. When the user reopens the app at a later time, the photo images are loaded from the filesystem and displayed again in the gallery. The user can tap on a photo to be presented with the option to remove the photo.\n\n## Feature Overview\n* App framework: [Vue](https://vuejs.org/)\n* UI components: [Ionic Framework](https://ionicframework.com/docs/components)\n  * Camera button: [Floating Action Button (FAB)](https://ionicframework.com/docs/api/fab)\n  * Photo Gallery display: [Grid](https://ionicframework.com/docs/api/grid)\n  * Delete Photo dialog: [Action Sheet](https://ionicframework.com/docs/api/action-sheet) \n* Native runtime: [Capacitor](https://capacitorjs.com)\n  * Taking photos: [Camera API](https://capacitorjs.com/docs/apis/camera)\n  * Writing photo to the filesystem: [Filesystem API](https://capacitorjs.com/docs/apis/filesystem)\n  * Storing photo gallery metadata: [Preferences API](https://capacitorjs.com/docs/apis/preferences)\n\n## Project Structure\n* Tab2 (Photos) (`src/views/Tab2.vue`): Photo Gallery UI and basic logic.\n* usePhotoGallery Hook (`src/composables/usePhotoGallery.ts`): Logic encapsulating Capacitor APIs, including Camera, Filesystem, and Preferences.\n\n## How to Run\n\n\u003e Note: It's highly recommended to follow along with the [tutorial guide](https://ionicframework.com/docs/vue/your-first-app), which goes into more depth, but this is the fastest way to run the app. \n\n0) Install Ionic if needed: `npm install -g @ionic/cli`.\n1) Clone this repository.\n2) In a terminal, change directory into the repo: `cd photo-gallery-capacitor-vue`.\n3) Install all packages: `npm install`.\n4) Run on the web: `ionic serve`.\n5) Run on iOS or Android: See [here](https://ionicframework.com/docs/building/running).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Ftutorial-photo-gallery-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionic-team%2Ftutorial-photo-gallery-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Ftutorial-photo-gallery-vue/lists"}