s3822042 / flutter_kanji

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter Kanji

This project is to create mobile application to learn Kanji

Screen Shot 2020-03-03 at 1 22 57 PM Screen Shot 2020-08-20 at 6 16 26 PM Screen Shot 2020-08-20 at 6 16 43 PM Screen Shot 2020-03-03 at 1 25 18 PM Screen Shot 2020-08-20 at 6 21 33 PM Screen Shot 2020-08-20 at 6 21 48 PM Screen Shot 2020-08-20 at 6 16 50 PM Screen Shot 2020-04-19 at 5 59 00 PM Screen Shot 2020-04-19 at 6 04 58 PM Screen Shot 2020-04-20 at 8 01 24 PM

On the surface, Manji is just a Japanese dictionary, but it can actually do more than that:

  • Handwritten kanji recognition
  • Image kanji extraction
  • Kanji card
  • Kanji quiz generated dynamically based on selected groups of kanji

Getting Started

  1. Because the dictionary file exceeds the size limit of Github, git-lfs is used for storing the dictionary file. So make sure you have installed git-lfs.
  2. Clone this project and run git-lfs fetch --all in the project root folder.
  3. Create a service account.
  4. Fill up the credential as shown below and save it as google_api_credentials.dart and move to Manji/lib/resource/.
import 'package:googleapis_auth/auth_io.dart';

final credentials = ServiceAccountCredentials.fromJson(r'''
{
  "type": "service_account",
  "project_id": "",
  "private_key_id": "",
  "private_key": "-----BEGIN PRIVATE KEY-----\n-----END PRIVATE KEY-----\n",
  "client_email": "",
  "client_id": "",
  "auth_uri": "",
  "token_uri": "",
  "auth_provider_x509_cert_url": "",
  "client_x509_cert_url": ""
}
''');
  1. Setup Firebase for your project.
  2. (iOS) Download your GoogleService-Info.plist and move it to Manji/ios/Runner/.
  3. (Android) Download your google-services.json and move it to Manji/android/app/.
  4. Run the project using flutter run.

About

License:MIT License


Languages

Language:Dart 99.6%Language:Ruby 0.2%Language:Shell 0.1%Language:Swift 0.0%Language:Kotlin 0.0%Language:HTML 0.0%Language:Java 0.0%Language:Objective-C 0.0%