{"id":28271798,"url":"https://github.com/ankitk26/insta-clone","last_synced_at":"2026-04-28T01:32:03.650Z","repository":{"id":109677055,"uuid":"472300361","full_name":"ankitk26/Insta-Clone","owner":"ankitk26","description":"Instagram clone using Flutter","archived":false,"fork":false,"pushed_at":"2022-10-08T20:48:45.000Z","size":902,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T11:47:23.045Z","etag":null,"topics":["firebase-auth","firebase-cloud-storage","firebase-firestore","flutter","pubdev"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/ankitk26.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,"zenodo":null}},"created_at":"2022-03-21T11:06:14.000Z","updated_at":"2022-03-26T12:49:08.000Z","dependencies_parsed_at":"2023-06-03T12:30:43.251Z","dependency_job_id":null,"html_url":"https://github.com/ankitk26/Insta-Clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ankitk26/Insta-Clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2FInsta-Clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2FInsta-Clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2FInsta-Clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2FInsta-Clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankitk26","download_url":"https://codeload.github.com/ankitk26/Insta-Clone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2FInsta-Clone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["firebase-auth","firebase-cloud-storage","firebase-firestore","flutter","pubdev"],"created_at":"2025-05-20T18:22:12.051Z","updated_at":"2026-04-28T01:32:03.644Z","avatar_url":"https://github.com/ankitk26.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# InstaClone\n\nAn Instagram clone built using Flutter and Firebase\n\n[\u003cimg src=\"https://img.shields.io/badge/Flutter-02569B?style=for-the-badge\u0026logo=flutter\u0026logoColor=white\" /\u003e](https://flutter.dev/)  [\u003cimg src=\"https://img.shields.io/badge/firebase-%23039BE5.svg?style=for-the-badge\u0026logo=firebase\" /\u003e](https://firebase.flutter.dev/)\n\n![App Screenshot](https://res.cloudinary.com/drnu1myuq/image/upload/v1648292595/design_emvq9l.png)\n\n\n## Run Locally\n\nTo run the project, Flutter must be installed in the system. Click [here](https://docs.flutter.dev/get-started/install) to install Flutter if not installed:\n\nRun the command below in the terminal to check if Flutter is installed successfully. If no error shows up, proceed further.\n\n```bash\nflutter --version\n```\n\n**Step 1: Clone the project**\n\n```bash\ngit clone https://github.com/ankitk26/Insta-Clone.git\n```\n\n**Step 2: Go to the project directory**\n\n```bash\ncd my-project\n```\n\n**Step 3: Install dependencies**\n\n```bash\nflutter pub get\n```\n\n**Step 4: Add Firebase**\n\nAdd the Firebase credentials to the project using the given [link](https://firebase.google.com/docs/flutter/setup?platform=android):\n\n**Step 5: Run the project**\n\nRun the project either by starting debugging or using the command given below\n\n```bash\nflutter run\n```\n\n## Features\n\n- Splash screen\n- Custom app launcher icon\n- Login/Register with validation\n- View all posts of users followed by you in the feed\n- Upload a post\n- View a single post\n- Edit or delete your posts\n- Like, comment, or save a post\n- Edit or delete your comments\n- Follow or unfollow other users\n- Edit your profile\n- Image upload for posts and avatar\n- App currently in dark mode only\n\n### To-do features\n- Send a request to a user to view their posts in the feed\n- Toggling theme\n- Push notification when someone comments or sends a request\n- In-app chat\n- Search user by username\n- Upload multiple images and videos\n- Display original user's details for a reposted post\n\n## Folder structure\n\nThe folder structure used in the project is shown below:\n\n```\nlib/\n|- models/\n|- providers/\n|- screens/\n|- services/\n|- utils/\n|- widgets/\n|- main.dart\n```\n\nEach folder is described below:\n\n* `models` - Contains the blueprints of each model used - User, Post, and Comment.\n* `providers` - Contains the providers used for state management across the app. All of these are ChangeNotifier providers.\n* `screens` - Contains the root of each screen which consists of different widgets. \n* `services `  -  Contains functions to read and write data to the database.\n* `utils`  -  Contains constants and utility functions of the app.\n* `widgets ` - Contains reusable widgets or widgets to make the code modular.\n* `main.dart` - This is the starting point of the application. All the application level configurations are defined in this file i.e, theme, routes, title, etc.\n\n## Dependencies used\n\nAll the dependencies used can be found in `pubspec.yaml` file in root folder. The usage of each dependency is listed below:\n\n* [`firebase_auth`](https://pub.dev/packages/firebase_auth) - manages authentication (login, signup and logout) in the app using Firebase authentication.\n* [`cloud_firestore`](https://pub.dev/packages/cloud_firestore) - read and write data to Firebase Firestore.\n* [`firebase_storage`](https://pub.dev/packages/firebase_storage) - save images of posts and avatars in cloud storage provided by Firestore.\n* [`provider`](https://pub.dev/packages/provider) (10.2.9) - manage state in the app\n* [`url_launcher`](https://pub.dev/packages/url_launcher) - launch a url in browser after clicking a link in the app\n* [`intl`](https://pub.dev/packages/intl) (0.17.0) - handle dates.\n* [`masonry_grid`](https://pub.dev/packages/masonry_grid) (1.0.0) - display images in a grid.\n* [`image_picker`](https://pub.dev/packages/image_picker) (0.8.4+10) - select images from gallery or capture a new image from camera.\n* [`flutter_image_compress`](https://pub.dev/packages/flutter_image_compress) (1.1.0) - compress the image before uploading it to Firebase cloud storage.\n* [`cached_network_image`](https://pub.dev/packages/cached_network_image) (3.2.0) - caches network images and provides placeholder while the image loads.\n* [`flutter_launcher_icons`](https://pub.dev/packages/flutter_launcher_icons) (0.9.2) - updating app's launcher icon\n\n## References\n\n- [Firebase for Flutter](https://firebase.flutter.dev/)\n - [Adding splash screen to Flutter app](https://www.youtube.com/watch?v=JVpFNfnuOZM)\n - [Firebase authentication](https://www.youtube.com/watch?v=oJ5Vrya3wCQ)\n - [Add launcher icon](https://www.youtube.com/watch?v=O9ChjwrZqns)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitk26%2Finsta-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankitk26%2Finsta-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitk26%2Finsta-clone/lists"}