<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmyt</author_name>
  <author_url>https://blog.hatena.ne.jp/tmyt/</author_url>
  <blog_title>tmytのらくがき</blog_title>
  <blog_url>https://blog.tmyt.jp/</blog_url>
  <categories>
    <anon>雑記</anon>
  </categories>
  <description>新年あけましておめでとうございます。本年もどうぞよろしくお願いいたします。 というわけで、Webブラウザで動くターミナルを実装してみたんです。NodeJSで。そしたらすごく簡単だった。って話です。 使うもの express pty.js socket.io xterm.js pug-static インストール npmでてきとうにインストールします。 npm init npm install --save express pty.js pug-static socket.io xterm サーバ実装 適当にかきます。xterm.jsの中身をexpress.staticで公開しつつ、viewはpu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmyt.jp%2Fentry%2F2017%2F01%2F07%2F175533&quot; title=&quot;ブラウザでTerminal実装してみたら簡単だった - tmytのらくがき&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-01-07 17:55:33</published>
  <title>ブラウザでTerminal実装してみたら簡単だった</title>
  <type>rich</type>
  <url>https://blog.tmyt.jp/entry/2017/01/07/175533</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
