搜索插件、代码仓与 APP 分类

GitHub 代码仓perpetio/clubhouse

俱乐部

使用 Firebase/Firestore 和 Agora 服务编写的 Clubhouse 克隆应用,采用 Flutter 开发。

俱乐部 项目封面
星标
96
复刻
36
最近推送(UTC)
2023年4月2日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Clubhouse

Clubhouse clone written in Flutter using Firebase/Firestore and Agora services.

See our tutorial posts:

Part 1 - Setup Flutter project and create Clubhouse clone app UI

Part 2 - User login and registration with Firebase

Part 3 - Voice calling functionality with Agora

Preview

Dependencies

  • agora_rtc_engine: https://pub.dev/packages/agora_rtc_engine

  • permission_handler: https://pub.dev/packages/permission_handler

  • firebase_auth: https://pub.dev/packages/firebase_auth

  • cloud_firestore: https://pub.dev/packages/cloud_firestore

  • country_code_picker : https://pub.dev/packages/country_code_picker

  • pull_to_refresh : https://pub.dev/packages/pull_to_refresh

Getting started

1. Setup Flutter.
2. Clone the repo.
$ git clone https://github.com/perpetio/clubhouse.git
3. Run flutter pub get.
4. Setup the Firebase App. Follow instructions:
  1. Create your own Firebase project.

  2. Once your Firebase instance is created, you'll need to enable Phone authentication.

  • Go to the Firebase Console for your new instance.
  • Click "Authentication" in the left-hand menu
  • Click the "sign-in method" tab
  • Click "Phone" and enable it
  1. Enable the Firestore Database
  • Go to the Firebase Console
  • Click "Firestore Database" in the left-hand menu
  • Click the Cloudstore "Create Database" button
  • Select "Start in test mode" and "Enable"
  1. Add the google-services.json to the folder android/app (for Android) and GoogleService-Info.plist into the root of your Xcode project to all targets(for IOS).
5. Setup the Agora. Follow instructions:
  • Create a developer account at agora.io. Once you finish the sign-up process, you are redirected to the dashboard
  • Navigate in the dashboard tree on the left to Projects > Project List.
  • Find your app ID on the Agora dashboard and copy it to your clipboard. Then, generate a temporary token from the Agora console page.
  • Replace the const in the settings.dart file in the /lid/core folder.
const APP_ID = '';
const Token = '';
const channelName = '';

6. Run the project using flutter run or using your IDE's tools.
Perpetio GitHub avatar
GitHub 作者

Perpetio ↗

Boost your business and grow your audience with a slick mobile app

Tallinn, Estonia
语言DartRubySwiftKotlinObjective-C

分类

依赖Flutter组件

使用的依赖

依赖清单 10 项

App 分类

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗