<commit_before># Psnine
Psnine第三方安卓和iOS客户端, 基于React Native、Redux

<a href="https://play.google.com/store/apps/details?id=com.psnine"><img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" width="175px" align="center"></a><a href="https://itunes.apple.com/cn/app/psnine/id1279618123"><img src="art/store.svg" width="155px" align="center"></a>

# Features
- 支持PSNINE网站的所有功能
- 支持自动签到、消息快捷回复、图片快捷插入、拍摄图片直传、非WIFI环境懒加载图片等功能
- 支持过滤DNS劫持广告
- 支持主题的切换, 可以切换19种主题颜色, 以及对应的强调色和夜间主题

# Screenshots
<a href="art/1.gif"><img src="art/1.gif" width="32%"/></a>
<a href="art/2.gif"><img src="art/2.gif" width="32%"/></a>
<a href="art/3.gif"><img src="art/3.gif" width="32%"/></a>

# Download

## Android
- [Google Play][play link]
- [fir.im][fir link]

## iOS
- [Apple Store](https://itunes.apple.com/cn/app/psnine/id1279618123)

# Changelog
- [更新历史](./CHANGELOG.md)

# Statement
该项目已取得Psnine官方的第三方应用授权

# Todo
- [ ] 重构 (1.0.0)
  - [ ] react-native-navigation
  - [x] react-native-interactable (IOS)
  - [x] collapse-toolbar-layout (Android)
  - [x] coordinator-layout (Android)
  - [x] nested-scroll-view (Android)
  - [x] react-native-fs
  - [x] react-native-share
  - [x] react-native-snackbar
  - [x] react-native-photo-view
  - [x] react-native-image-picker
  - [x] react-native-vector-icons
  - [x] react-native-splash-screen
  - [x] react-native-linear-gradient
  - [x] react-native-google-analytics-bridge
- [x] 兼容
  - [x] iOS
  - [x] 安卓从5.0兼容至4.1

# Development
```
git clone https://github.com/smallpath/psnine.git
cd psnine
npm install --registry=https://registry.npm.taobao.org
```

## Android
> 前置: Android Studio, SDK Platform 23 ~ 26, SDK Build-Tools 23.0.1、23.0.3、25.0.0、25.0.2、26.0.0、26.0.1

下载[psnine-patcher](https://github.com/smallpath/psnine-patcher), 并将其中所有内容全部拷贝至`node_modules`

```
react-native run-android // for development
cd android && ./gradlew assembleRelease  // for release
```
请根据命令行中的提示信息下载对应的Android SDK和Build Tool版本


## iOS
> 前置: XCode

```
react-native run-iOS // for development
react-native run-ios --configuration Release // for release
```<commit_msg>docs: 补充文档<commit_after># Psnine
Psnine第三方安卓和iOS客户端, 基于React Native、Redux

<a href="https://play.google.com/store/apps/details?id=com.psnine"><img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" width="175px" align="center"></a><a href="https://itunes.apple.com/cn/app/psnine/id1279618123"><img src="art/store.svg" width="155px" align="center"></a>

# Features
- 支持PSNINE网站的所有功能
- 支持自动签到、消息快捷回复、图片快捷插入、拍摄图片直传、非WIFI环境懒加载图片等功能
- 支持过滤DNS劫持广告
- 支持主题的切换, 可以切换19种主题颜色, 以及对应的强调色和夜间主题

# Screenshots
<a href="art/1.gif"><img src="art/1.gif" width="32%"/></a>
<a href="art/2.gif"><img src="art/2.gif" width="32%"/></a>
<a href="art/3.gif"><img src="art/3.gif" width="32%"/></a>

# Download

## Android
- [Google Play][play link]
- [fir.im][fir link]

## iOS
- [Apple Store](https://itunes.apple.com/cn/app/psnine/id1279618123)

# Changelog
- [更新历史](./CHANGELOG.md)

# Todo
- [ ] 重构 (1.0.0)
  - [ ] react-native-navigation
  - [x] react-native-interactable (IOS)
  - [x] collapse-toolbar-layout (Android)
  - [x] coordinator-layout (Android)
  - [x] nested-scroll-view (Android)
  - [x] react-native-fs
  - [x] react-native-share
  - [x] react-native-snackbar
  - [x] react-native-photo-view
  - [x] react-native-image-picker
  - [x] react-native-vector-icons
  - [x] react-native-splash-screen
  - [x] react-native-linear-gradient
  - [x] react-native-google-analytics-bridge
- [x] 兼容
  - [x] iOS
  - [x] 安卓从5.0兼容至4.1

# Development
```
git clone https://github.com/smallpath/psnine.git
cd psnine
npm install --registry=https://registry.npm.taobao.org
```

## Android
> 前置: Android Studio, SDK Platform 23 ~ 26, SDK Build-Tools 23.0.1、23.0.3、25.0.0、25.0.2、26.0.0、26.0.1

下载[psnine-patcher](https://github.com/smallpath/psnine-patcher), 并将其中所有内容全部拷贝至`node_modules`

```
react-native run-android // for development
cd android && ./gradlew assembleRelease  // for release
```

## iOS
> 前置: XCode

```
react-native run-ios // for development
react-native run-ios --configuration Release // for release
```

# Statement
该项目已取得Psnine官方的第三方应用授权
{'fraction_non_alphanumeric': 0.19057867049258728, 'fraction_numerical': 0.035868005738880916, 'mean_word_length': 4.0519323671497585, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 37, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '154450', 'n_tokens_mistral': 1991, 'n_tokens_neox': 1985, 'n_words': 270}