Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[experiment] feat: mk api support #357

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

GeopJr
Copy link
Owner

@GeopJr GeopJr commented Jul 6, 2023

⚠️ DO NOT RUN IF YOU ARE A USER ⚠️

This is far from done and might destroy Tuba's keyring[1] so avoid running unless you know what you are doing.

[1] if it does, go to Passwords & Keys (seahorse) and remove all Tuba entries

The plan is to first make the current codebase Mk compatible and then split it into masto api and mk api.

Notes

  • [WIP] Convert note object to status
  • Bookmarked
  • Favorited
  • Actions (favorite, boost, bookmark)
  • Parse text
  • Partial MFM support (whatever Gtk CSS can handle)
  • Delete
  • Edit
  • Polls
  • Context

Timelines / Views

  • Home
  • Bookmarks
  • Federated
  • Local
  • Favorites
  • Hashtags
  • Lists
  • Profiles (both statuses and follows)
  • Other mk timelines
  • Follow requests
  • Notifications
  • Conversations
  • Explore

Streaming

  • All timelines
  • Notifications

Composer

  • Visibility
  • Language
  • Polls
  • Media uploading
  • Media alt text init
  • Media alt text edit
  • Converting notes to simplestatus
  • CW

Other

  • Pagination
  • Modifying lists
  • Search
  • Settings syncing
  • Context actions (blocking, muting, copying etc)
  • Login flow
  • Other meta info (instance, emojis)

I might have missed some above but that's the important ones off the top of my head.

GeopJr added 14 commits June 18, 2023 08:52
- Split namespaces better
- Introduce AiChanify interface to convert mk object to masto
- Quick start timeline work
- use body_json since it was introduced on main
- attempt to clean inheritance & deserialization
- do not use `i` for auth, instead use bearer
mk: get_children
timeline: home, local, notifications, bookmarks
- finish bookamrks
- allow other types
- update accepts
@GeopJr GeopJr linked an issue Jul 6, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misskey API support
1 participant