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

feat: support Memos #1327

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat: support Memos #1327

wants to merge 2 commits into from

Conversation

lilixxs
Copy link

@lilixxs lilixxs commented Jan 24, 2025

添加对 Memos 的支持
Add Memos support

  1. 支持 Memos 服务端认证,登录 Memos 后台获取 authToken 方式认证(注意 Token 的有效期,若希望长久使用需要将 token 设置为永不失效)
    support Memos auth via authTokeM (You might set your token "never" expired for endurance usage)
    image

  2. 支持 Memos 笔记中的以下配置
    support following specs in Memos (See details in the screenshot)
    image

    1. 可见类型设置(私人/公开)
      Setting visibility: personal / public
    2. tag 设置,可设置多个 tag
      Add multiple tags to your memo

问题 Problems & TODOs

  • 只支持 token 方式的验证,SSO 登录验证方式不支持 Token auth only, SSO auth is not supported
  • 不支持以 Memos 作为图源 Setting Memos as pic bed is not supported
  • tag只能手动输入,无法获取当前账户已建立的 You can only input tags manually instead of searching then choosing
  • Memos 自身接口限制:目前一篇笔记只能接收至多 8192 个字符 Maximun length of a Memo is 8192 chars due to the API restriction
  • 国际化语言支持:目前只支持简体中文和英语,其他语言字段可参考 zh-CN.json 中添加的内容进行适配 i18n only support zh-CN and en-US, you can refer to zh-CN.json for more language traslation
  • 查看相关接口,发现还有 workspace 相关的 API,但具体使用方法位置,可补充相关资料 There are workspace APIs in Memos API doc, but need more info about it.

lilixxs added 2 commits January 23, 2025 00:23
1. 可在剪藏时添加 tag。 new memo tags support
2. 多语言支持,目前支持简体中文和英文。i18n language support: zh-cn and en-us
3. 可在剪藏时设定可见性:公开笔记/私有笔记。new memo visibility support
@lilixxs lilixxs mentioned this pull request Jan 24, 2025
@lilixxs lilixxs changed the title feat: support memos feat: support Memos Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant