e920528
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    PTT 新版本開發待討論議題 === ###### 維護人 Evis ###### tags: `Ptt App` ###### 位置: [主目錄](https://hackmd.io/@twbbs/Root)/待討論議題 1219實體聚會預計討論議題 --- 1. 協作模式 2. APP 開發帳號 * 上架的條件? 3. license 選擇 4. APP 專屬功能討論 * 留言 * Telegram 模式(Reference) * FB 模式(至多一層thread) * Reddit 模式(手風琴摺疊) * 提到 "5樓" 時. 自動把 5 樓變成可以按的 link. (在 mobile-app 上因為字體過小. 可能不完全是很 ok). * 評價 * 留言/貼文歷史紀錄 * 檢舉 * 內文搜尋 * 帳號實名認證 * 版主願望清單 * 新制水桶(以上站天數計算) * 水球可以考慮用其他社群的超連結取代 5. API 介面 * [GO 版本中台 swagger api](http://173.255.216.176:5000) * [ASP.Net Core 版本中台 swagger api](https://bbsmid.azurewebsites.net/Swagger) 6. DB schema * [1205討論](https://hackmd.io/@jkUyTcuWRie8y4-09DzR6Q/ryfTG0_jD) * [老蕭目前在 go-bbs 定義的 schema](https://github.com/Ptt-official-app/go-openbbsmiddleware/tree/main/schema) 7. 減少 API 開銷議題(測試環境) [Ref](https://hackmd.io/@ininmm/HyFh06kjw) 8. 目前功能規劃 1. 第一階段完成留言與評價系統 2. 第二階段兼容現有bbs推文系統 9. 後台分散式架構長期規劃 (2y ~ 5y+) 1. 目前可以讓登入 Process 和其他功能分離 2. SRE 部分監控點 3. 資料備份 / 壓縮計畫 1219 會議記錄 --- 1. 協作模式 * Code 都放在 github 上面 * 任何人都可以參與協作,由一位最終審核者負責 build code 推上 production 2. 機器架構![](https://i.imgur.com/gB5CVoK.jpg) * 後台專案(負責讀取原生bbs資料,用golang撰寫)會跑在跟bbs同一台機器上面,內網才可以access到 * 中台會跑在另一台新的機器上面,用內網連接後台,並透過 Restful API 與 app 溝通。現階段沒有做任何保護,等上正式版本會再處理 * 中台目前有 C#/Python/golang 三種版本,API 介面定義與輸出格式都相同,並透過HA Proxy 等類似服務做負載管理,前端(web/app)只需要透過同一個網址連接即可 3. 註冊相關討論 * 帳號盜用問題 * 目前 bbs 的密碼欄位上限為 8 個字元 * 有好幾個案例為帳號被人用來在固定時間在八卦版發新聞,但密碼沒有被更換掉 * A連動B vs A承認B * 中台直接登入 bbs 來確認使用者身份,使用者驗證機制與 bbs 連動 * 好處:開發簡單 * 壞處:密碼欄位上限 8 個字元風險較大 * 透過 OAuth 等發 token 機制讓 bbs 承認中台使用者 * 好處:安全性高 * 壞處:需要較多時間開發 ![](https://i.imgur.com/DoCX6yr.png) 4. 資料庫選擇 * 尚未決定使用關聯式/非關聯式資料庫 * 可能使用混合式的資料庫設計,根據使用情境選擇適合的資料庫 * 預計在中台機器上放 1~2 台 db 5. 留言機制(優先開發) * 目前 UI 設計 * 只能回覆原PO一層 * 沒有回覆留言功能 * 沒有限制留言字數 * 留言網址的問題 * 中台是否要支援短網址服務? * app 前端很好處理,可以偵測是網址,只顯示前半段 summary,建立一個超連結 * 留言字數限制問題(目前先設定500字) * 系列文 vs 集中討論 * 系列文:字數超過特定值可以跳出提示鼓勵使用回文 * 系列文功能實作上傾向中台開 api 給前端,輸入特定參數來提供系列文的 query * 集中討論:不限制留言字數 6. 官方 app 是否要相容現有 bbs 所有 feature * 功能 priority 如何界定 * 目前總監會先朝向市面上 app 無法做到的,但站方認為很重要的功能 * 可能需要長一個新的 web,以滿足電腦使用需求 7. 能不能接受第三方 app 使用中台 api 8. app 正式上線前,保證使用等寬字 9. 目前上站畫面等公告通知都被市面上app略過,後續中台希望提供推播通知後台管理功能(web),讓站長達到類似功能 10. 中台提供一個後臺管理頁面,提供站長/版主一個管理與數據觀察的基礎,這是長期的目標

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully