[KagoLUG:564] Re: モダン環境に対応したテキストブラウザのBrowsh(was: 3kbpsで動作するX遠隔操作なtexttop)

Kenichiro MATOHARA matoken @ gmail.com
2018年 7月 14日 (土) 22:37:49 JST


matohara@大隅です.

Browsh ですが,v1.3.3がリリースされていました.

Linux x64環境ですぐ落ちる問題が解決されています :)
マルチバイト文字の問題はまだ解決していませんが,http-server機能を試してみたところこの機能経由で日本語に対応したウェブブラウザを使うことで日本語が表示できました.

> $ sudo apt install firefox
> $ wget https://github.com/browsh-org/browsh/releases/download/v1.3.3/browsh_1.3.3_linux_amd64 https://github.com/browsh-org/browsh/releases/download/v1.3.3/browsh_1.3.3_checksums.txt
> $ sha256sum -c browsh_1.3.3_checksums.txt 2>/dev/null | grep -v 'FAILED open or read'
> browsh_1.3.3_linux_amd64: OK
> $ chmod u+x browsh_1.3.3_linux_amd64
> $ ./browsh_1.3.3_linux_amd64 -http-server -http-server-bind 127.0.0.1

こういう感じで起動して,4333ポートにアクセスすれば利用できます.
http://127.0.0.1:4333/
任意のURLを開く場合はこのURLの後ろにアクセスしたいURLを付与します.
http://127.0.0.1:4333/https://duckduckgo.com/

w3mでもアクセスできました.


On Thu, Jul 12, 2018 at 05:37:45AM +0900, Kenichiro MATOHARA wrote:
> matohara@鹿児島です.
> 
> 最近のHTML5, CSS3, JS, videoなども閲覧可能なテキストブラウザのBrowshというものを知りました.
> BrowshのバックエンドはFirefoxで,その画面を変換して表示しているようです.
> 
> - "Browsh"
> https://www.brow.sh/
> 
> 各種環境の単一のバイナリ(別途Firefoxが必要)や,docker imageが提供されています.
> https://www.brow.sh/downloads/
> ※checksumは何も書かれていないけどsha256でした.
> 
> また,sshで体験できるようにもなっています.
> 
> 手元の環境(Debian sid amd64)でLinux Static x64とDebian/Ubuntu x64 を試してみたところうまく動きませんでした.
> 次のバージョンで治りそうです.arm6環境でも試してみようと思います.
> - "Panic runtime error invalid memory address or nil pointer [Debian x64] · Issue #73 · browsh-org/browsh"
> https://github.com/browsh-org/browsh/issues/73
> 
> ssh経由ではうまく動作しました.これだけで試せるのでお手軽です.
> > $ ssh brow.sh
> 
> ただし,日本語などのワイド文字はうまく表示できません.
> https://gnusocial.matoken.org/file/37025d687af8add982324df74654c1bc446517881f36091db2b214c141f168ce.jpg
> 
> これもissueが上がっているので修正されると思います.
> - "UTF-8 characters input broken · Issue #93 · browsh-org/browsh"
> https://github.com/browsh-org/browsh/issues/93
> - "Wide characters need to be CSS rendered as wide characters · Issue #25 · browsh-org/browsh
>  https://github.com/browsh-org/browsh/issues/25
> - "Many Chinese characters are not rendered, or appear with blurred background · Issue #24 · browsh-org/browsh
>  https://github.com/browsh-org/browsh/issues/24
> 
> 
> 以前紹介した端末上で動作するリモートデスクトップ環境のtexttopぽいなと思ってアクセスしたらBrowshにリダイレクトされました.
> 確認していませんが同じ作者かもしれません.
> "tombh/texttop: A fully interactive X Linux desktop rendered in TTY and streamable over SSH"
> https://github.com/tombh/texttop
> 
> 
> On Tue, May 02, 2017 at 08:04:52AM +0900, Kenichiro MATOHARA wrote:
> > matohara@大隅です.
> > 
> > 先日の勉強会で少し言及された数kbpsで動作する端末ベースの
> > リモートデスクトップ環境です.
> > 
> > "tombh/texttop: A fully interactive X Linux desktop rendered in TTY and streamable over SSH"
> > https://github.com/tombh/texttop
> > 
> > 動作は以下のビデオを見ると解りやすいです.
> > 
> > "Texttop - YouTube"
> > https://www.youtube.com/watch?v=TE_D_fx_ut8
> > 
> > 標準ではFxが動作しますがrun.shを書き換えることで他のアプリケーションを利用したり,
> > デスクトップ環境を利用したりと行ったことも簡単に出来ます.
> > 
> > 試してみた方はぜひ教えてください.
> > 動作画面の公開にはasciinemaやttygifが便利です.
> > 
> > "asciinema - Record and share your terminal sessions, the right way"
> > https://asciinema.org/
> > "icholy/ttygif: Convert terminal recordings to animated gifs"
> > https://github.com/icholy/ttygif
> > 

-- 
KenichiroMATOHARA
mailto:matoken @ gmail.com
OStatus:@matoken @ gnusocial.matoken.org
https://matoken.org/
.O.
..O
OOO
-------------- next part --------------
テキスト形式以外の添付ファイルを保管しました...
ファイル名: signature.asc
型:         application/pgp-signature
サイズ:     473 バイト
説明:       無し
URL:        <http://list.kagolug.org/pipermail/users/attachments/20180714/1f2e23a9/attachment.sig>


Users メーリングリストの案内