项目作者: shuiRong

项目描述 :
?? A React Native App for Mastodon. 一个由React Native编写的长毛象客户端App?
高级语言: JavaScript
项目地址: git://github.com/shuiRong/Gakki.git


Gakki

This is a third-part client of Mastodon written by React Native(only Android is considered recently).

中文

Download APK Directly

Get it on F-Droid

Page Preview


gakki gakki gakki
gakki gakki gakki
gakki gakki gakki
gakki gakki

a series of development tutorials are being prepared.

Features


  • Immersive design
  • Most Mastodon functions implemented
  • Multi-Account support
  • Night, Day mode
  • Custom emoticon support (belong to cmx.im)
  • Open-source completely
  • No permission required(allow permission yourself if take pictures)

Getting Started:


First of all, You need to having required environment of React Native .(just Android) Official Documentation.

Download Project:

  1. git clone https://github.com/shuiRong/Gakki
  2. cd ./Gakki
  3. yarn // or npm i

Create Local Config file

create file in src/utils/config.js, it contains:

  1. export const token = 'Bearer xxxxxxxx' // required. (Watch out: there is a blank space.)
  2. export const version = '1.0' // required. app version used in About.js

How to get my token?

  1. You need a mastodon account and then open your setting page. For example: https://cmx.im/settings/applications.
  2. Create a new application in Development—>Yout applications.
  3. set Redirect URI to https://linshuirong.cn this version temporarily (will be optimized in the next version).
  4. select all Scopes.
  5. click Submit button

Click the Application you just created. You can see Your access token, that’s it.

Signing APK:

First of all, type this: keytool -genkeypair -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000

and then:

  1. Place the my-release-key.keystore file under the android/app directory in your project folder.
  2. Edit the file ~/.gradle/gradle.properties or android/gradle.properties, and add the following (replace ***** with the correct keystore password, alias and key password),
  1. MYAPP_RELEASE_STORE_FILE=my-release-key.keystore
  2. MYAPP_RELEASE_KEY_ALIAS=my-key-alias
  3. MYAPP_RELEASE_STORE_PASSWORD=*****
  4. MYAPP_RELEASE_KEY_PASSWORD=*****

Connect Phone: connect your phone to the computer using USB. see Offcial Documentation and Google your question.

Run Project:

  1. react-native run-android

P.S. Submit an issue if you have a problem with Gakki.

Todo List


Github Projects