bluerobotics / bluerobotics/BlueOS-Extensions-Repository

Extension Idea: Rust Playground integration

オープン
#59 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
extension-idea
主要言語
Python
スター
20
フォーク
31
平均マージ
1日 56分
マージ済み PR(30日)
2

説明

Like jupyter lab for python, check viability of an extension for rust (Important to check if it can access the devices).
[Rust-Playground](https://play.rust-lang.org/)

![image](https://github.com/bluerobotics/BlueOS-Extensions-Repository/assets/80598030/a5b69470-0fb6-402b-9b91-13c5a27633a2)

[Rust-Playground - Source Code](`https://github.com/rust-lang/rust-playground`)

Usefull content:
https://users.rust-lang.org/t/create-rustup-play-for-a-self-hosted-playground/13714/3
```
The official playground is [integer32llc/rust-playground 55](https://github.com/integer32llc/rust-playground). I have been able to get it running locally.

It requires [yarn 8](https://yarnpkg.com/lang/en/docs/install/) and [docker 1](https://docs.docker.com/engine/installation/) already installed.

git clone https://github.com/integer32llc/rust-playground
Build and run the frontend
cd rust-playground/ui/frontend
yarn
yarn run watch
Build and run the backend
cd rust-playground/ui
RUST_LOG=ui=debug PLAYGROUND_UI_ROOT=$PWD/frontend/build/ cargo run
Build the compiler containers and tools
Fair warning: this uses something like 16G of /var/lib/docker.

cd rust-playground/compiler
./build.sh
Once everything is running, visit [http://localhost:5000/ 5](http://localhost:5000/).
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、リンクされている rust-playground のソースと、frontend、backend、compiler のコンテナ向けに提供されているローカルセットアップコマンドを確認します。可能であれば文書化されたセットアップを実行し、その後、playground が BlueOS デバイスにアクセスできるかを調査します。統合の実現可能性とデバイスアクセスの制限が明らかになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, rust
領域
devtools, embedded-iot
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。