Skip to content

GetStream/flutter-instagram-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Instagram Clone (Stream-agram)

Pub style: flutter lints Flutter Samples License Stream Feeds

Stream-agram is a demo application showing how to recreate Instagram using Flutter and Stream Feeds.

Tutorials

If you'd like to learn more about this project and how the code is structured, take a look at the companion blog and video. Make sure you're on the tutorial branch - this branch is the historic branch that aligns with the tutorial. The main branch is the most up to date with the latest code changes and package versions.

git checkout tutorial

Blog Post

  • Article detailing a step-by-step guide for this project.

YouTube Video

  • Video showing how to create this application from start to finish. The video follows the same steps as the blog post, and we recommend that you use both resources to make the tutorial easy to follow.

Previews

Supported features

  • Light and Dark themes.
  • Instagram-like animations and transitions
  • Sign in using different user accounts
  • Add and change profile pictures
  • Add photo posts to your own user feed (activities)
  • Subscribe/unsubscribe to other users’ feeds
  • Add comments and likes (reactions)

Getting Started

These are the steps to run this project locally, with your own Stream Feeds configuration.

Clone This Repository

git clone https://github.com/GetStream/flutter-instagram-clone

The project folder needs to be renamed in order for flutter create to work (dashes "-" in the folder name are not allowed). You can do this however you want. For example, from a bash terminal you can do:

mv flutter-instagram-clone flutter_instagram_clone

Create Flutter Platform Folders

Run this inside the main folder to generate platform folders.

flutter create .

Setup Image Picker Package

Depending on the platform that you're targetting you will need to do some setup for the image_picker Flutter package. At the time of writing this package only supports Android, iOS and Web.

Add Keys and Tokens

You will also need to add your Stream API-Key and User Frontend Tokens. These are marked with TODOs in the codebase. For additional information, see the blog or video section on creating user tokens.

Stream Feeds Flutter SDK

Stream-agram is built with Stream Feeds for implementing activity feeds.

Stream Chat Flutter SDK

If you're interested in adding chat functionality to your Instagram clone, check out Stream Chat.

Find this repository useful? 💙

Support it by joining stargazers

License

Copyright 2021 Stream.IO, Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http:https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

An Instagram clone using Flutter and Stream Feeds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages