Gakki
This is a third-part client of Mastodon written by
React Native
(only Android is considered recently).
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:
git clone https://github.com/shuiRong/Gakki
cd ./Gakki
yarn // or npm i
Create Local Config file
create file in src/utils/config.js
, it contains:
export const token = 'Bearer xxxxxxxx' // required. (Watch out: there is a blank space.)
export const version = '1.0' // required. app version used in About.js
How to get my token?
- You need a mastodon account and then open your setting page. For example: https://cmx.im/settings/applications.
- Create a new application in Development-->Yout applications.
- set
Redirect URI
tohttps://linshuirong.cn
this version temporarily (will be optimized in the next version).- select all Scopes.
- click
Submit
buttonClick the Application you just created. You can see
Your access token
, that's it.
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:
- Place the
my-release-key.keystore
file under theandroid/app
directory in your project folder. - Edit the file
~/.gradle/gradle.properties
orandroid/gradle.properties
, and add the following (replace*****
with the correct keystore password, alias and key password),
MYAPP_RELEASE_STORE_FILE=my-release-key.keystore
MYAPP_RELEASE_KEY_ALIAS=my-key-alias
MYAPP_RELEASE_STORE_PASSWORD=*****
MYAPP_RELEASE_KEY_PASSWORD=*****
Connect Phone: connect your phone to the computer using USB. see Offcial Documentation and Google your question.
Run Project:
react-native run-android
P.S. Submit an issue if you have a problem with Gakki.
Page Preview
![]() |
![]() |
![]() |
---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |