KENTARO MIYAKE
    • 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
    # キックオフメモ テーマ「めがはなせない」ということで、エンジニアウケしそうなRustに関するコンテンツをリアルタイムで配信するプラットフォームをKotlinで作っていきます。 ## バックログ 1. - [ ] WebSocket機能の繋ぎ込み(react) 2. - [ ] メッセージのコンポーネントに名前をつける(Anonymous) 3. - [ ] 配信画面の表示 4. - [ ] 進捗バー表示 ### 追加作業の仕様 /POST /channel/create REQUEST ```json { "client_id":適当なID } ``` RESPONSE ``` { "stream_url":"https://example.com", "playback_url":"https://example.com", "secret":"example-token" } ``` ### assign - notch_man - [ ] 1 - [ ] 2 - [ ] - nissie - [ ] 3 - y.tanak ## めがはなせないコンテンツ - RustでISUCON用Webアプリのリプレイス - ISUCON用Webアプリ=[catatsuy/private-isu](https://github.com/catatsuy/private-isu)(catatsuyさんが作った社内向けISUCON) ## めがはなせないプラットフォーム 4つの機能 - メインはコーディングしている画面(画面共有) - 視聴者と配信者をつなぐチャット - 進捗を知らせる進捗バー(GitHubAPIからIssueの状態より計算) - 配信部屋を生成するための配信者ログイン管理機能 ## 画面遷移図 ![](https://i.imgur.com/upIOdUw.png) ## ユースケース(仕様的なもの) **配信者視点(ログイン必要)** 1. ユーザー登録をします。 2. 登録にはAuth0を用います。 3. ユーザーIDから配信URLを生成。遷移図左上の配信URL一覧に表示。 4. ログイン状態で配信URLへアクセスし遷移図左下の画面へ 5. 配信用の情報がモーダルで表示される。モーダルである必要性は特にない。 7. 配信を開始すると画面遷移図の右下に遷移する。 8. 共有されている画面の内容がわかる。 9. 音も共有できる! **視聴者視点(アカウント概念なし)** 1. 遷移図左上の配信URLリストから任意のURLをクリック。 2. 遷移図右上に遷移し、配信を見たり待機したりできる。 3. チャットで自由に配信者にメッセージを送れる。(すべてのユーザーに公開される) 4. 進捗バーから配信者の進捗がわかる **補足** 進捗バーに関して、GitHubのIssueの状態から計算します。例えばIssue数が4でcloseが1、openが3なら25%の進捗度。Issue数が10でcloseが8、openが2なら80%の進捗度とします。 ## 技術要素 - ストリーミング(RTMP) - WebSocket ### フロントエンド - React - TypeScript - Vite - Node.js ### バックエンド - Kotlin - Ktor - Node.js ### インフラ - AWS - Auth0 - Kubernetes ### AWS - Amazon IVS - Amazon EKS - Amazon ECR - Amazon VPC ## リポジトリ一覧 バックエンド:https://github.com/hackz-hackathon-ichthyo/Oracle-no-oubou-wo-yurusuna-back フロントエンド(配信者用):https://github.com/hackz-hackathon-ichthyo/Oracle-no-oubou-wo-yurusuna-front フロントエンド(視聴者用):https://github.com/hackz-hackathon-ichthyo/Oracle-no-oubou-wo-yurusuna-front2 コンテンツ:https://github.com/Romira915/private-isu ## デプロイ戦略 フロントエンドとバックエンドのデプロイ戦略について基本的にmainから作業ブランチを生やして開発を進めます。ローカル内で全ての検証ができる想定です。PRをmainにマージしたらStaging環境にデプロイされます。Stagingで問題が発生した場合はリバート対応します。正常に動作したmainブランチ上のコミットをタグづけしてタグをプッシュすることによりProduction環境にデプロイされます。問題が発生した場合は前回成功したProductionデプロイのワークフローを再実行してロールバックさせます。 ## テスト配信用の配信サーバー情報 https://hackz-hackathon-team.slack.com/archives/C03DT3UFM6C/p1655298777178419 ## streamerが初めてサービスに訪れてログインし、配信を開始するまでのフロー(v1.1) ![](https://i.imgur.com/p6XKqlA.png) ## viewerが初めてサービスに訪れて、任意の配信を視聴開始するまでのフロー(v1) ![](https://i.imgur.com/Vl72p3p.png)

    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