• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

jamiesanson/Mammut: An Android Client for Mastodon

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

jamiesanson/Mammut

开源软件地址(OpenSource Url):

https://github.com/jamiesanson/Mammut

开源编程语言(OpenSource Language):

Kotlin 100.0%

开源软件介绍(OpenSource Introduction):

Mammut CircleCI

Mammut is a multi-account capable Mastodon client for Android. It's built with offline support from the get-go for home and local timelines, and will soon allow for offline toot queuing. The key capabilities so far are:

  • Multi-account support, including more than one account per instance
  • Offline support
  • Full theming capabilities, including 2 light and 2 dark themes
  • Full support for custom emoji, including adding them when composing a toot

App Structure

Modules

Mammut is structured into a number of modules. This allows good separation of concerns, and faster build times.

  • app - the main app module for Mammut. This consumes all other modules.
  • base - the base module for feature modules. This includes all basic required dependencies for features, as well as a set of base classes for features to extend from.
  • data - this module contains all data-related classes for the app, including database definitions, as well as repository implementations.
  • instances - a simple wrapper library for the instances.social REST API
  • notifications - a feature module for the notifications feature
  • toot - a feature module for toot composition

App Architecture

Mammut is built with a number of different architecture considerations in mind:

  • The Repository Pattern - this allows abstraction of the source of data from other components in the app. This pattern is especially useful when trying to implement offline support.
  • MVVM - Standard MVVM as recommended by Google is used throughout
  • Conductor - a replacement for Android Fragments that allows easier navigation, as well as a much nicer transitions framework.

Building from source

Here's the steps to build yourself a debug variant of Mammut.

  • Get yourself an API token from the instances.social token portal. Remember, this is meant to be secret! Don't commit this to source control.
  • In keys.gradle, replace the help message with your token. Be careful to not remove any "s OR \s. It should look something like this:
ext.INSTANCES_SECRET = "\"GRERU43534J..324\""
  • Open up a terminal and navigate to where you've cloned the project. Run this command:
./gradlew installDebug

That's it! Look through your installed apps for Mammut, with a white icon.

Disclaimer

This project is under heavy development. Things will probably change substantially between updates - apologies in advance. You can find it in beta on the Play Store here.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
neet/masto.js: 发布时间:2022-08-17
下一篇:
TwidereProject/Twidere-Android发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap