Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bugenzhao/mnga

💬 A refreshing NGA Forum App in SwiftUI. Make NGA Great Again! aka "NGA 论坛 iOS 开源客户端"
https://github.com/bugenzhao/mnga

cross-platform ios nga swiftui

Last synced: about 21 hours ago
JSON representation

💬 A refreshing NGA Forum App in SwiftUI. Make NGA Great Again! aka "NGA 论坛 iOS 开源客户端"

Awesome Lists containing this project

README

        

MNGA

[![Logic](https://github.com/BugenZhao/NGA/actions/workflows/logic.yaml/badge.svg)](https://github.com/BugenZhao/NGA/actions/workflows/logic.yaml)

A refreshing NGA Forum App in SwiftUI.



Make NGA Great Again.

## Get the App

- App Store


- TestFlight Public Link for iOS

| Stable Channel (稳定版) | Nightly Channel (开发版) |
| -------------------------- | --------------------------- |
| [![tf-image]][stable-link] | [![tf-image]][nightly-link] |

- Or build the project yourself, check instructions below.

## Donation

如果你喜欢 MNGA,欢迎通过下面的二维码捐赠支持。由于 NGA 官方封锁限制不断加深,我们只能尽最大努力来维持 App 的基本可用性,对于一些无能为力的问题还请谅解,谢谢。



## Features

- Built with SwiftUI which provides awesome UX feelings for **multiple platforms** like iOS, iPadOS and macOS
- High-performance logic layer energized by Rust (and can be ported to other platforms with ease, check [Android Instructions](android/README.md))

## Screenshots

### iOS











### iPadOS



### macOS



## Build the Project

1. Install Xcode and Rust toolchains. Make sure you have set your command line tools location correctly by

安装 Xcode 及 Rust 相关工具链。确保 CLI 工具的路径设置正确:

```bash
$ sudo xcode-select --switch /Applications/Xcode.app
```

2. Install other prerequisites.

安装其他依赖。

```bash
$ brew install swift-protobuf
$ cargo install cargo-lipo

$ rustup target add aarch64-apple-ios
$ rustup target add aarch64-apple-ios-sim # optional: Simulator target for Apple Silicon
$ rustup target add x86_64-apple-ios # optional: Simulator target for Intel
$ rustup target add aarch64-apple-darwin # optional: macOS target for Apple Silicon
$ rustup target add x86_64-apple-darwin # optional: macOS target for Intel
```

3. Clone the repository and run at the project root:

克隆仓库到本地,在项目的根目录,运行

```bash
$ make ios
$ make macos
```

You'll find `logic-ios.xcframework` and `logic-macos.xcframework` under `out`.

检查 `out` 目录,将会生成 `logic-ios.xcframework` 和 `logic-macos.xcframework` 两个 Xcode Framework.

4. Open the Xcode project `app/NGA.xcodeproj`. Run the app after you set the correct Apple ID.

打开 Xcode 工程 `app/NGA.xcodeproj`,重新设置签名 Apple ID 后,编译运行 MNGA。

## Statements

- 本项目中涉及的 NGA 等文字,NGA 版块、帖子、用户等数据,AC 娘表情等资源,其版权均归 NGA BBS (https://ngabbs.com) 所有。
- This project _currently_ has NO LICENSE. You MAY NOT modify or redistribute this code without explicit permission.

[stable-link]: https://testflight.apple.com/join/w9duC4Du
[nightly-link]: https://testflight.apple.com/join/UL8mvVKt
[tf-image]: https://user-images.githubusercontent.com/25862682/133919629-0f337486-7ef2-4a34-9b36-a09e3b838ca8.png
[as-image]: https://user-images.githubusercontent.com/25862682/147930330-3076005c-7525-452b-abcf-bef264f7e462.png