Code Monkey home page Code Monkey logo

flutter-instagram-clone's Introduction

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://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.

flutter-instagram-clone's People

Contributors

hayesgordon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.