Skip to content
 
 

Repository files navigation

Threads Clone with SwiftUI, Firebase, and Kingfisher

IntroductionFeaturesPrerequisitesInstallationTechnologies UsedContributingLicense

screenshot

Introduction

The aim of this project was to emulate Threads, the new trendy app from Meta. I skillfully combined SwiftUI for the user interface, Firebase for backend functionalities, and Kingfisher for streamlined image loading and caching.

This Threads Clone project is not affiliated with or endorsed by Threads or any associated entities. It is created for educational purposes and as a demonstration of SwiftUI and Firebase integration.

Features

  • User Authentication: Users can sign up, log in, and securely authenticate their accounts.
  • Thread Creation: Create threads to start discussions on various topics.
  • User Profiles: View user profiles and see their activity history.
  • Real-time Updates: Enjoy real-time updates when new threads or posts are created.

screenshot

Prerequisites

Before you proceed, make sure you have the following tools and technologies installed on your system:

Xcode (https://nodejs.org](https://developer.apple.com/xcode/resources/)
Firebase account for authentication, image storage, and database setup (https://firebase.google.com)

Installation

To run the Threads Clone on your local machine, follow these steps:

# Clone this repository:
$ git clone https://github.com/garretthanberg/Threads-Clone.git


# Go into the repository:
$ cd Threads-Clone


# Open the Threads Clone.xcodeproj file with Xcode.


# Install dependencies in Xcode:
$ firebase-ios-sdk
$ Kingfisher


# Create a Firebase project and set up the necessary configurations (Authentication, Storage and Firestore).
# Replace the Firebase config in GoogleService-info.plist with your credentials.


# Run the app on Xcode

screenshot

Technologies Used

  • SwiftUI: The user interface is built using SwiftUI, providing a modern and declarative way to design the app's views.
  • Firebase: Firebase is used for user authentication, real-time database, and cloud storage for media assets.
  • Firebase Cloud Firestore: Store and retrieve data in real-time.
  • Firebase Authentication: Securely manage user registration and login.
  • Firebase Cloud Storage: Store and serve media files such as images.
  • Kingfisher: Efficiently load and cache images in the app.

Contributing

Contributions to the project are welcome and encouraged! If you find any bugs or want to add new features, please create an issue or submit a pull request. Please make sure to follow the project's code of conduct.

  1. Fork the repository
  2. Create your branch: git checkout -b feature/YourFeature
  3. Commit your changes: git commit -m 'Add YourFeature'
  4. Push to the branch: git push origin feature/YourFeature
  5. Open a pull request

License

This project is licensed under the MIT License.


I hope you enjoy using my Threads Clone! If you have any questions or need assistance, feel free to contact me.

Portfolio garretthanberg.com  ·  GitHub @garretthanberg  ·  LinkedIn Garrett Hanberg

About

Robust Threads Clone developed with SwiftUI & Firebase.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages