Git Product home page Git Product logo

egret's Introduction

Egret

Let's play with Mastodon!

What's this?

Android app for client of Mastodon.

Features

  • Show Public timeline as streaming
  • Show Local timeline as streaming
  • Show User timeline as streaming
  • Switch multiple accounts
  • Switch theme color (Light / Dark)
  • Mute account / keyword / instance / app
  • Show an account's profile
  • (Un) Follow / Block the account
  • Post the toot (characters and images)
  • Show / Hide simple toot bar on footer of timeline
  • Post reply to the toot (characters and images)
  • (Un) Favourite / Boost the toot
  • Show images in the toot as inline / pop up viewer
  • NSFW / CW compatible
  • Search accounts / hashtags
  • Save images
  • Live notify
  • Edit your own profile
  • Share toot
  • Save toot as draft
  • and more in future...

Contributor

egret's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

yagi2 guogl1988

egret's Issues

ライセンス情報を表示可能にする

  • ライセンス表示が必要なライブラリを洗い出す
  • ドロワーに "Others" を設けてその中にライセンスビューへの遷移アイテムを置く
  • RecyclerViewにライブラリ名のみ表示、タップでライセンス情報へ遷移

検索機能の実装

正直現状の仕様だと実装する価値があるかは微妙だけど、とりあえず検索できるようにする

設定画面の作成

設定画面にて実装したい機能が溜まってきたので、設定画面を作る

具体的には

  • アカウントの管理(ログアウト)
  • Streamingの詳細設定(常に/Wi-Fi時のみ/オフ)
  • Chrome custom tab or Chrome app
  • テーマ機能(Dark/Light)
  • ミュート/ブロックの管理

ミュート機能の実装

  • キーワードミュート
  • ハッシュタグミュート
  • アカウントミュート
  • インスタンスミュート

AccessTokenテーブルの簡略化

大してMastodonのAPIまだ見てないけど過去のAccessTokenって保存する必要なさそう(こなみ)
isCurrentカラムを削除して、insert or updateでいい感じに1つの要素だけを持ったほうが良さそう。
アホみたいにリログしまくってるとDBで容量圧迫されるかも。

Streamingのドメインが違う場合のリクエスト

Mastodonは設定ファイルでstreaming apiのホストを変えることができるのでそれの対処が必要そう。

mstdn.jp は mstdn.jp/api/v1 (301) -> streaming.mstdn.jp にリダイレクトされる。
現状だとリダイレクトされる際にリクエストヘッダーが無いので401(UnAuthorization)になってるのでそこをいい感じに直したい。

通知TLの実装

仕様的にpush取得はめんどくさそうなので、とりあえずfetch取得で表示できるようにする。
RecyclerViewのviewTypeでitemのレイアウトファイルを切り替えるとよさげ。

timelineのデザインを改善する

  • dividerつける
  • 他インスタンスのアカウントを識別できるように
  • デザインではないが、画像つきTOOTから画像取得/複数画像をViewにBindできるように
  • その他細かいバランス等調整

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.