Giter Site home page Giter Site logo

no1guangming / gakki Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shuirong/gakki

0.0 1.0 0.0 13.12 MB

🌼🌸 A React Native App for Mastodon. 一个由React Native编写的长毛象客户端App🦋

License: GNU General Public License v3.0

JavaScript 96.59% Python 0.64% Java 1.13% Shell 0.18% Objective-C 1.47%

gakki's Introduction

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

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?

  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),
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


gakki gakki gakki
gakki gakki gakki
gakki gakki gakki
gakki gakki

Todo List


Github Projects

gakki's People

Contributors

shuirong avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.